Suppose that once in a while data base reports are automatically exported to Portable Document Format (.pdf) in folder C:\Reports\. The task is to send email with .pdf file attached and then to archive it in folder C:\Reports\Archive\.

How to automatically send email with attached .pdf report file? First, create C:\Reports\Archive\ folder. Then, create a Task. Add File / Folder Watcher Trigger that watches for files in C:\Reports\ folder. Set Include mask to *.pdf in Filter tab.

Add Send email Action and fill all necessary fields. Use Variable Wizard for Attachment input specifying that Full path with file name value will be used from File / Folder Watcher Trigger.

Add Move file Action and, using Variable Wizard, specify Full path with file name value from File / Folder Watcher Trigger as Source. Use browse button to specify C:\Reports\Archive folder as Destination.

Thus, when any .pdf file is put into C:\Reports\ folder, File / Folder Watcher is automatically triggered and executes Send email Action that, in turn, attaches this .pdf file to email and sends to predefined recipients. Upon successful execution, Send email Action is followed by Move file Action which moves the .pdf file from C:\Reports\ to C:\Reports\Archive folder.
Please do not hesitate to contact our support department with any possible further questions or to solve practical issues connected with Febooti Automation Workshop.