Save all attachments action in Microsoft 365 Outlook package

Use the Save all attachments action in the Microsoft 365 Outlook package to save all the email attachments on Microsoft Outlook server to a specific folder.

Settings

  • In the Microsoft 365 Outlook session field, click one of the following tabs:
    • Session name: to enter the session name that you have used in the Connect action.
    • Variable: to specify a session variable that can be used to share that session with other child bots.
  • Use the Status of email field to select one of the following type of emails from where you want to save the attachments:
    • Read: emails that are in Read status.
    • Unread: emails that are in Unread status.
    • Both: emails in Read and Unread status.
  • Enter the folder path in the From specific folders field to specify the folder from where you want to save the attachments.

    For example, Inbox/project1. Although multiple folder paths separated by semicolon are supported in this field, the regular expressions are not supported.

  • (Optional) Enter keywords from the email subject line in the When subject contains field.

    The When subject contains field is case sensitive. When you enter keyword within double quotes (""), the bot retrieves all the emails where the subject matches the text and the case

  • (Optional) Enter email addresses of specific senders in the From specific senders field.
  • (Optional) Use the When the received date is on or after field to select a date after which you received the emails.

    Click the Create variable icon if there is no existing variable.

  • (Optional) Use the When the received date is before field to select a date before which you received the emails.

    Click the Create variable icon if there is no existing variable.

  • In the Save attachments to folder field, enter the filepath of the folder where you want to save the email attachments.

    You can also click the Insert a value icon to select a variable.

  • (Optional) Clear the Overwrite file(s) check box if you do not want to overwrite any existing files in the folder.

    The Overwrite file(s) option is enabled by default.