Download Attachment

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


Field Definition Type Required
File Name Name of the attachment String FALSE
Attachment ID Unique ID of the attachment String TRUE
Message ID Unique ID of the message containing the attachment String TRUE

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.


Field Definition Type
File Content Content of the downloaded attachment File
File Name Name of the downloaded attachment String
Size Size of the attachment String
File type Type of attachment (for example, .png, .jpg, or .pdf) String

Related topics

Gmail connector

About the elements of Okta Workflows

Gmail API documentation