Suppose that at the end of every week a report file is put into a folder C:\Reports\ where also other relevant files are kept. Sometimes these reports are Microsoft Word 2007 documents (.docx extension), sometimes Microsoft Word 2007 documents with macros (.docm extension), but mostly documents created with older versions of Microsoft Word (.doc extension) and all these files are consistently named according to scheme report-1217.extension (where month is specified by first two digits, while other two indicates the date).

How to automatically send these files to preconfigured email? The easiest way is to create a automated Task that contains File / Folder Watcher Trigger and Send email Action. File / Folder Watcher has to be configured to watch for files in C:\Reports\ folder with include filter monitoring specifically for report-????.doc* (file mask).

Send email Action should be configured to get attachment file name from Variable Wizard (open Variable Wizard - select Triggers - select File / Folder Watcher - choose Full path with file name). Other email parameters (From, To, Subject, Email text) should be specified accordingly.

Thus, when file with name that matches the mask report-????.doc* (any file that starts with report- followed by any four characters and extension starting with .doc and followed by any number of any characters) is put into C:\Reports\ folder, File / Folder Watcher automatically causes Send email Action that, in turn, attaches report file to email and sends it to specified address.
Please do not hesitate to contact our support department with any possible further questions or to solve practical issues connected with Febooti Automation Workshop.