Actions26
Draft → Get
AI-generatedSummary
Fetches a Gmail draft by its Draft ID and returns the draft data. Optionally downloads the draft’s attachments as binary output properties.
Inputs
- Client ID (required) — Google OAuth client ID.
- Client Secret (required) — Google OAuth client secret.
- Refresh Token (required) — Refresh token used to obtain an access token dynamically.
- Access Token (required) — Access token field declared by the node.
- Authentication (required) — Choose OAuth2 (default) or Service Account.
- Draft ID (required) — ID of the draft to retrieve.
- Download Attachments — Defaults to false. Enable to download the draft’s attachments.
- Attachment Prefix — Defaults to
attachment_; downloaded files use indexed binary property names such asattachment_0. Applies when downloading attachments.
Output shape
A single draft record, with optional attachment binaries.
Attachment binary properties are included only when attachment downloading is enabled and the draft has attachments.