Actions12
Draft → Get
AI-generatedSummary
Retrieve a specific Gmail draft by its draft ID to obtain its detailed information.
Inputs
- Authentication (required) — Choose between using an auto-refreshing refresh token or a manual bearer token for API authentication.
- Custom Refresh Token — Optionally override the default refresh token from credentials when using refresh token authentication.
- Draft ID (required) — Specify the ID of the draft to retrieve.
Output shape
a single JSON object representing the detailed draft resource as returned by the Gmail API.
The output contains the full draft object, including its message contents encoded in the Gmail API format. Authentication credentials must be valid, otherwise the request will fail.
Examples
Example 1: Get a draft by its ID to inspect or use it later in the workflow.
Set resource to Draft, operation to Get, provide the Draft ID, select authentication method, and optionally override refresh token.