Download Attachment

Download an attachment from an email. For additional information, refer to Gmail documentation.

Unless otherwise indicated, field types are text.


  • Download

    • File Name: name of the attachment

    • Attachment ID: unique ID of the attachment

    • Message ID(string): unique ID of the message containing the attachment

Note: To find message and attachment IDs, open the message and click More (to the right of Reply). In the drop-down menu, select Show original.


  • Attachment

    • File Content(file): content of the downloaded attachment

    • File Name: name of the downloaded attachment

    • Size: size of the attachment

    • File type: type of attachment (for example, .png, .jpg, or .pdf)

Related topics

Gmail connector

About the elements of Okta Workflows

Gmail API documentation