Actions84
- Broadcast Actions
- Contact Actions
- Contact Property Actions
- Domain Actions
- Email Actions
- Event Actions
- Log Actions
- Receiving Email Actions
- Segment Actions
- Template Actions
- Topic Actions
- Webhook Actions
- Workflow Actions
Email → Get Attachment
AI-generatedOverview
This node operation retrieves a specific attachment from a sent email. It is useful when you need to access or download an attachment that was previously sent in an email, for example, to process the attachment data further or to store it elsewhere.
Use Case Examples
- Retrieve an invoice PDF attached to a sent email for archival.
- Download a report attachment from a sent email to analyze its contents.
Properties
| Name | Meaning |
|---|---|
| The sent email containing the attachment. This is required to identify which email's attachment to retrieve. It can be selected from a list of sent emails or specified by its ID. | |
| Attachment ID | The unique identifier of the attachment to retrieve. This is required to specify which attachment from the selected email to get. |
Output
JSON
attachmentId- The unique identifier of the retrieved attachment.emailId- The ID of the email from which the attachment was retrieved.attachmentData- The content or data of the retrieved attachment.
Dependencies
- Requires an API key credential for authentication with the Resend email platform.
Troubleshooting
- Ensure the email ID and attachment ID are correct and correspond to existing sent emails and attachments.
- Check that the API key credential is valid and has the necessary permissions to access email attachments.
- Common errors include 'Attachment not found' if the attachment ID is invalid or does not belong to the specified email, and 'Unauthorized' if the API key is missing or invalid.