Skip to content

Gmail: Create Draft

Create a draft email (not sent) in the Drafts folder. Stores the new draft id.

GmailGmailCreateDraft

Overview

Gmail: Create Draft is a no-code automation step in the Gmail category of AutoFlowRPA. It performs its action in a single step when the workflow reaches it. You can configure 9 parameter(s) to control exactly how it behaves. It is one of 369 commands you can drag into a workflow in the visual builder — no scripting required.

What it does

Create a draft email (not sent) in the Drafts folder. Stores the new draft id.

Parameters

ParameterTypeRequiredDefaultDescription
Connection namevariable
RequiredgmailName of the connection created by 'Authorize Gmail'.
Tostring
RequiredOne or more addresses (comma separated).
Example: alice@example.com, bob@example.com
Supports variables
Cc (optional)string
Optional
Supports variables
Bcc (optional)string
Optional
Supports variables
Subjectstring
Required
Supports variables
Bodymultiline
Optional
Supports variables
Body formatdropdown
Plain text · HTML
OptionalPlain text
Attachments (optional)string
OptionalOne or more local file paths, comma separated.
Example: C:/reports/q1.pdf, C:/img/logo.png
Supports variables
Store draft id invariable
Optional
Example: draftId

How to use Gmail: Create Draft

  1. 1

    Open AutoFlowRPA and drag the Gmail: Create Draft command from the Gmail group onto the canvas.

  2. 2

    Set its parameters in the side panel — Gmail: Create Draft has 9 configurable field(s).

  3. 3

    Connect it into your workflow and press Run. Everything executes locally on your machine.

Frequently asked questions

What does the Gmail: Create Draft command do?

Create a draft email (not sent) in the Drafts folder. Stores the new draft id.

Which group does the Gmail: Create Draft command belong to?

Gmail: Create Draft is part of the Gmail group. AutoFlowRPA ships with 369+ ready-made commands you can combine without code.

Does the Gmail: Create Draft command take any parameters?

Yes — Gmail: Create Draft has 9 configurable field(s), all editable in the visual node editor.

More Gmail commands

Ready to automate your busywork?

Start your free 30-day trial today. No credit card, no commitment.