Save attachments action in Gmail package

Use the Save attachments action to save all attachments from the current Gmail inbox to a specified local folder.

This action is designed to be used inside a Loop action, enabling you to process emails one at a time and download the attachments associated with each email.
Note: This action is only supported in Task Bots.

Considerations

An error is displayed if any of the following conditions are encountered when you deploy your automation to save all the email attachments:
  • The specified Gmail session does not exist.
  • The specified folder path is invalid or inaccessible.

Settings

  • Select the Gmail session using one of the following options:
    • Session name: To select an existing Gmail session by name.
    • Variable: Select a variable of type Session with sub-type Gmail
  • In the Save attachments to folder field, enter the local folder path where email attachments are saved.

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

  • (Optional) Select the Overwrite file(s) check box to ensure existing files with the same name in the destination folder are overwritten.

    By default, this option is not enabled and attachments with duplicate file names are saved with a numeric suffix.