Gmail: Create Draft logo

Catalog action Integrations pipedream:gmail

Create a draft email in Gmail for later review and sending. Use this when you want to prepare emails that need human approval before sending. Ideal for: scheduled communications, review workflows, template-based emails.

At a Glance

FieldValue
Action IDgmail-create-draft
CategoryIntegrations
Connectorpipedream:gmail
Requires gasNo
Funds movementNone declared
Tagspipedream, integration, oauth, gmail, email, draft, write, review, approval

Payload Schema

FieldTypeRequiredDescription
tostringYesRecipient email address (e.g., user@example.com)
subjectstringYesEmail subject line
bodystringYesEmail body content (supports HTML)
ccstringNoCC email addresses (comma-separated)
bccstringNoBCC email addresses (comma-separated)

Result Schema

FieldTypeRequiredDescription
successbooleanYesWhether the draft was created successfully
dataobjectNoGmail API response data
exportsobjectNoExported values from the action

Examples

json
{ "type": "gmail-create-draft", "payload": { "to": "example-to", "subject": "example-subject", "body": "example-body" }, "children": [], "connector": { "type": "pipedream:gmail", "id": "conn_pipedream_gmail" }}

Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.

Ask a question... ⌘I