Gmail: Create Draft
Create a draft email (not sent) in the Drafts folder. Stores the new draft id.
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
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Connection name | variable | Required | gmail | Name of the connection created by 'Authorize Gmail'. |
| To | string | Required | One 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 | |
| Subject | string | Required | Supports variables | |
| Body | multiline | Optional | Supports variables | |
| Body format | dropdownPlain text · HTML | Optional | Plain text | |
| Attachments (optional) | string | Optional | One or more local file paths, comma separated. Example: C:/reports/q1.pdf, C:/img/logo.png Supports variables | |
| Store draft id in | variable | Optional | Example: draftId |
How to use Gmail: Create Draft
- 1
Open AutoFlowRPA and drag the Gmail: Create Draft command from the Gmail group onto the canvas.
- 2
Set its parameters in the side panel — Gmail: Create Draft has 9 configurable field(s).
- 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.