To watch a folder and process files automatically, add a watch in Mail Attachment Downloader. It checks a folder, a network share, a SharePoint library, OneDrive or an S3 bucket about every 60 seconds and sends each new file through your PRO Rules, the same rules that handle email attachments: rename it, read it, convert it, upload it, tell someone.
The examples use Contoso’s scanner share \\fileserver\Finance\Scans, the Finance SharePoint and invoices from Acme.
What can you watch?
A watch works like an email account, but its source is something else. Each new file, row or message becomes an “email” for your rules: a file is its attachment and its name the subject, so conditions such as the attachment name work as they do for mail.
- Folder or network share: a local folder or
\\server\share\folder, such as the one a scanner or another program drops files into. - Cloud folder: SharePoint, OneDrive, Amazon S3 and S3-compatible storage (Wasabi, Backblaze B2, MinIO and others), or a network share with its own sign-in.
- DocuSign: envelopes that everybody has signed, with the signed documents as the attachments.
- Database table: its new rows, and changed rows if the table has a “last changed” time column and a row ID column.
- Slack and Microsoft Teams channels: their messages, with the files posted in them.
Azure Blob, WebDAV, SFTP, FTPS, Google Drive and Dropbox can be uploaded to, but not watched yet.
What you need
- Folders, shares, cloud folders and DocuSign: PRO Rules Client or PRO Rules Server.
- Database tables, Slack and Teams: PRO Rules Server.
- Windows: Windows 10 or later, 64-bit, on a PC, a server or a cloud VM. Watches don’t count toward the number of email accounts.
How to watch a folder and process new files
1. Add the watch
Click Add account and choose Watch a folder or network share. The same menu has the cloud folder, the database table, Slack, Teams and DocuSign. You can also add one in Settings › Sources › Watches with Add….

2. Choose the folder and when it runs
- Folder: type it or click Browse…. Use
\\server\sharerather than a mapped drive letter: the Windows service can’t see mapped drives. - Watch name: such as “Scans”. Rules and History know the watch by this name.
- Run as soon as something changes: on by default. It checks every Seconds between checks (60), and a folder also hears Windows’ own file events, so a file dropped in runs at once. The schedule runs it too.
- Include the folders inside it: watch the subfolders as well.
- Also take the files already there: off, the watch takes only what arrives after you save it. On, its first run takes everything in the folder.
Click Test to see what the watch can reach, then Save.

3. Make a rule for it
When you save a new watch, the program offers to make a rule just for it. The rule starts with an Account condition that names the watch; you add what to do with its files under Save and Then. For a scanner share that could be:
- Make PDFs searchable (OCR) (PRO Rules Server), see make scanned PDFs searchable.
- Find fields with AI to read the invoice number and total, see process invoices automatically.
- Upload to cloud to put the result in SharePoint.
- Move or copy the email, which for a watch moves the file into a folder inside the watched one, such as Processed. Delete the email deletes the file.
Rules without an Account condition run for every account and watch. A watch with no rule saves its files to its own save folder, as an account saves attachments.
How does a watch know what’s new?
- Each check is small: nothing new, no run, so the Downloads tab doesn’t fill with empty runs.
- A changed file counts as new: a new version goes through the rules again, under its own name.
- Half-written files wait: a file still being copied is left for the next run.
- No loops: files your rules write into the watched folder, such as the Processed folder, are left alone.
- Nothing twice: each watch has its own History, with its runs in the Downloads tab, and a failed step is tried again.
SharePoint folder automation (and OneDrive and S3)
Choose Watch a cloud folder (SharePoint, OneDrive, S3). Pick a Cloud connection, the same ones the Upload to cloud step uses (Manage… adds one in Cloud Connections), then Browse… to the library and folder, such as finance › Contracts. Each check is one small request to the service.

Handy for taking documents out of one system and handing them to another: a contract saved in SharePoint is read, renamed and sent to document management, or a file in an S3 bucket goes to a share and is moved to Processed.
Process files from a Microsoft Teams channel
Choose Watch Microsoft Teams channels, enter your Microsoft account and click Sign in…. Reading channel messages needs an administrator’s consent once in most organizations. Each message goes through your rules as an email from its sender, its text as the body and its files as attachments. The channel is the mailbox folder, so Choose channels… in the folder pane picks the channels to read, and a rule can pick one by its folder.

Slack works the same way with Watch Slack channels: make a Slack app with the read scopes the window lists, paste its Bot token, and invite the bot to the channels. Messages from apps and bots are left out, so a rule that posts to the channel it watches doesn’t start itself again.

Signed DocuSign envelopes and new database rows
Watch DocuSign for signed envelopes takes each envelope everybody has signed. Under Take, choose The signed documents as one PDF, Each document and The certificate of completion. Sent by limits it to one sender, and it can take only the envelopes the program sent with Send for signature.

Watch a database table’s new rows reads a table through one of your ODBC Data Sources. Pick the Table and the column in New rows by, such as an ID that grows. Each row becomes an email whose attachment is the row as a .json file, and each column is a field, such as {OrderId}, for file names and steps.

Watch around the clock
Watches run while Mail Attachment Downloader is open. To run them 24×7, even when nobody is signed in, install the Windows service with PRO Rules Server. The service runs as Local System, which can’t open most shares: give it a share as a cloud connection with its own sign-in. Want to know when tonight’s file doesn’t come? Tick Check for missing files on the watch’s rule, see alerts for missing emails and files.
Questions people ask
Does it process the files already in the folder?
Only if you tick Also take the files already there. Otherwise the watch starts with what arrives after you save it.
How fast does it pick up a new file?
A local folder or share reacts at once to Windows’ file events. Cloud folders, Teams, Slack, DocuSign and tables are checked every 60 seconds, or as often as you set.
Can it move processed files to another folder?
Yes. Move or copy the email moves the file into a folder inside the watched one, on a folder, share, S3 or SharePoint. Or copy it anywhere with an upload or copy step.
Can it watch Google Drive or Dropbox?
Not yet. They can be uploaded to, but not watched.
Try it: download Mail Attachment Downloader and start with the free edition, or compare the PRO editions, each with a 30-day money-back guarantee.
Related
- Watches: features
- Slack and Teams as sources
- Save email attachments to SharePoint, OneDrive or S3
- Make scanned PDF attachments searchable with OCR
- Save CSV and Excel files to a database
- Alert if email not received
Questions about this post? Contact us.


















































