Skip to content

Create Draft Node

Data/Google/Gmail

Create Draft

Create a draft email in Gmail

data_google_gmail_create_draftdataLong running
Inputs7
Outputs5
Security exposure10/10
Packagedata

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

No score metadata has been set for this node yet.

Input Pins

7

Input

Execution
exec_in

Trigger

Provider

Struct
provider

Google provider

GoogleProviderGoogleProvider4 fields
provider_idstringrequired

The provider ID

access_tokenstringrequired

The OAuth access token

refresh_tokenstring | null

Optional refresh token

expires_atinteger | null

Token expiration timestamp (unix seconds)

format uint64min 0
Schema enforced

To

String
to

Recipient email address(es)

Subject

String
subject

Email subject

Body

String
body

Email body (plain text)

CC

String
cc

CC recipients (optional)

BCC

String
bcc

BCC recipients (optional)

Output Pins

5

Success

Execution
exec_out

Error

Execution
error

Draft

Struct
draft

Created draft

GmailDraftGmailDraft3 fields
idstringrequired
message_idstring | null
thread_idstring | null

Draft ID

String
draft_id

ID of the created draft

Error Message

String
error_message

Node Info

Internal name
data_google_gmail_create_draft
Category
Data/Google/Gmail