Actions33
- Attachment Actions
- Calendar Actions
- Contact Actions
- Event Actions
- Folder Actions
- Message Actions
Attachment → Download
AI-generatedSummary
Download an attachment from AWS WorkMail using its attachment ID, storing the file in the specified binary property within the node output.
Inputs
- Attachment ID (required) — ID of the attachment to download from AWS WorkMail
- Binary Property — Name of the binary property to store the downloaded file; defaults to 'data'
Output shape
a single item per execution data index with JSON metadata about the attachment and a binary property containing the file data
Throws errors if the attachment ID is invalid, if the attachment size exceeds 25MB, if the content type is not in the allowed MIME types list, or if the filename is deemed unsafe or has a disallowed extension. The output includes the attachment JSON metadata and the binary file data.
Examples
Example 1: Download a PDF attachment by its ID, storing the file in binary property 'data'
Set 'Attachment ID' to the attachment's ID; optionally set 'Binary Property' to 'data' or another binary field name.