Gmail
One-click sign-inEmail documents from your own Gmail address, with attachments.
What you can do
- Send an email with Gmail — subject, body and up to 5 generated documents attached
What can you do with Gmail and ASHDOCS?
Gmail is how a flow hands a finished document to a person. The Send an email (Gmail) step sends from your own address with a subject and message you can fill from earlier steps, and attaches up to five of the run's files. Build the PDF and the email from the same data, and the attachment always matches what the message says.
Example flow
- 1Trigger: When a webhook arrives. Your billing system posts the customer's name, email and invoice lines once an invoice is paid.
- 2Create an invoice PDF, with the Invoice details JSON filled from the {{trigger.body.*}} fields.
- 3Stamp a watermark, with the Watermark text set to PAID.
- 4Send an email (Gmail) to {{trigger.body.email}}, with “Attach the flow's documents?” set to yes.
- 5Result: The customer gets a PAID-stamped copy of their invoice from your Gmail address.
Add the connection in ASHDOCS
- 1Open the Connections page in the flows console.
- 2Click “Sign in with Google” and approve the permissions on Google's consent screen.
- 3That's it — the connection appears in your list, named after the account. Connect more than one account if you like; every step lets you pick which to use.
Use it in a flow
In the flow builder, add the Gmail step, pick your connection, and fill the fields — values from earlier steps drop in as {{s1.field}} placeholders. Then hit Test this step in the step's panel to run it on its own before switching the flow on.
Troubleshooting
FAQ
Your own Gmail address — recipients see you, not ASHDOCS.
Yes — ASHDOCS reads the sent message back by its ID. If your token is send-only, the step reports verified:"response" (Gmail's own send confirmation).
Up to five. The step attaches the first five files from the step it takes documents from, and you can set “Attach the flow's documents?” to no to send a plain email.
Not through this step, which only sends mail. Flows start from a webhook, a schedule or a manual run.