OUTLOOK Save e-mail attachments function

The OUTLOOK Save e-mail attachments function in RPA.

Help CentreBuilding Processes

This article describes the RPA Outlook functionality to save e-mail attachments.

For a full list of available functions, please read OUTLOOK functions.


Description

The OUTLOOK Save e-mail attachments function allows you to save attachments from the currently selected e-mail to a directory on disk. Supports glob filtering by filename pattern.


Setting it up

To use the OUTLOOK Save e-mail attachments function, follow these instructions:

{{popups:rpas/add:action=outlook-save-attachments}}

Once on a process map:

  1. Navigate to the process where you would like to add the OUTLOOK Save e-mail attachments function
  2. Click on the green button's drop-down (right side of the green button labelled "Process")
  3. On the menu that appears, click on the "+ Activity" item
  4. From here you can select the OUTLOOK Save e-mail attachments option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
FileYesText-Directory path to save attachments to
FilterNoText-Glob pattern to filter attachments by name (e.g. *.pdf, *.xlsx, report*)
VariableNoText-Variable to store the list of saved file paths

Output variables

VariableTypeDescription
VariableListList of saved file paths

Errors

ErrorDescription
Outlook not openOutlook is not running
No e-mail selectedNo e-mail is currently selected
No attachmentsThe selected e-mail has no attachments
Directory not foundThe 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

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.