
Besides the fact that the PowerShell does not allow to send email when a file is added to the folder (this functionality requires extensive coding or external apps), here are some points that PowerShell scripts are lacking: We have provided and analyzed a PowerShell script to send email with attachment on our blog. One popular alternative to the no-code automation apps is PowerShell scripts. It collects logs from all tasks and actions considering the Log rotation settings, and the log settings of each individual task. To view the audit and error logs, open the Log Manager. There are no additional actions or configuration necessary. New log entries are automatically displayed there. To view a live log, just keep the main app window open. Live log, and log filesĪutomation Workshop has built-in logging capabilities. The Send Email Action attaches a report file to the email and automatically sends it to the specified address, using customized email template. The mask reads: any file that starts with report- followed by any four characters, and an extension starting with. The task is launched only when a filename matches the report-?.doc* pattern. It looks for new files, but it triggers a task only on a specific file mask or wildcard. The trigger we have created is monitoring a particular folder on the disk. Our task is sending a mail message when a file is added to the specific folder. We have just created an automated app, that is handling tasks that are too boring and mundane for human workers to do.
#File monitor how to
How to monitor a folder for new files and send email? We will need an automated task that contains the File & Folder Watcher Trigger and the Send Email Action. For example, the name report-1217.docx where a month is specified by the first two digits, while the other two indicate that it is December 17.

The file names are consistent and contain 4 digits-a month and a day of the month.

Documents created with older versions of Word *.doc extension.

