Download Attachment

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

Unless otherwise indicated, field types are text.

Input

  • 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.

Output

  • 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)

See Also

Gmail connector

About the elements of Okta Workflows

Gmail API documentation