Help Centre › Building Processes
Save email attachments to disk.
Runs on: macOS and Windows only.
Add it to a process
In the process designer, open the Add step tab. Find Save email attachments under Email › Read & Search, or type its name in the search box, and drag it onto the canvas.
Fields
| Field | Required | What it does |
|---|---|---|
| File path | Yes | Enter the file path, or use a variable such as {folders::desktop::path}\file.txt. |
| Variable | No | Name of the variable where the result will be stored |
| Filter | No | Glob pattern to filter attachments by name (e.g. *.pdf, *.xlsx, report*). |
| Attachments to save | No | Which attachments to save, by file name, one per line. Wildcards allowed. Accepts a variable holding a name or a list of names. Leave empty to save all of them. |
What it gives back
{variable}
See all Email steps.
Errors
| Error | Description |
|---|---|
| Outlook not open | Outlook is not running |
| No e-mail selected | No e-mail is currently selected |
| No attachments | The selected e-mail has no attachments |
| Directory not found | The specified directory does not exist |
Tips
- Use a glob filter like *.pdf to only save PDF attachments
- The variable stores the list of saved file paths for use in later steps