Create email copy with OpenAI from new parsed email and save as drafts in Gmail
Forward or send an email to your FlowMattic Email Parser address, and this workflow asks OpenAI to write email copy from it, then saves the result as a draft in Gmail for you to review before anything is sent.
OpenAI (ChatGPT)
Gmail3 steps Setup ~5 min Used on 3.0k sites Free to import

What this workflow does
Writing a reply or a follow-up from scratch takes time, and handing the whole job to AI is risky when the message goes to a customer. This workflow sits in the middle. OpenAI writes the copy, and the result waits in your Gmail drafts until you have read and edited it.
The Email Parser by FlowMattic trigger fires when an email arrives at your parser address, and the parsed parts of that email become data you can map. The OpenAI (ChatGPT) step runs Generate Content with a prompt you write, into which you place parts of the email, such as its body. Its response then goes to Gmail, where Create Draft saves a draft built from the values you map.
Nothing is sent automatically. The draft sits in Gmail until you open it, change what you need, and send it yourself. Because every parsed email starts a run, decide which messages you send to the parser address. Task History shows the prompt sent to OpenAI and the text it returned for each email.
First drafts for sales enquiries
Forward an enquiry to your parser address. OpenAI drafts a reply from your prompt, and you polish it in Gmail before sending.
Turning notes into a client update
Email yourself rough meeting notes at the parser address. The workflow returns a tidy update email in your drafts, ready for you to address and send.
Answering repeat questions
Support questions you get often are forwarded to the parser. Each gets a drafted answer you check against your own policies before it goes out.
How this workflow runs
What happens at each step once the workflow is on, and what you need before you import it.
Email Parser by FlowMattic Email ReceivedRuns when an email is received at your Email Parser by FlowMattic address. The parsed parts of that email are made available to the next steps.
OpenAI (ChatGPT) Generate ContentRuns Generate Content with your own prompt, and the model's reply comes back as text for the Gmail step. Map parts of the parsed email into the prompt and tell the model what kind of email copy to produce.
Gmail Create DraftSaves the OpenAI text as a draft in your connected Gmail account. Map the generated copy into the draft with any other email values you want, check a test run to see what the action takes, then open Gmail to review it.
What you need
- FlowMatticCore
- OpenAI (ChatGPT) AccountAccount
- Gmail AccountAccount
After importing, map your own data. To keep the template universal, not every step is pre-filled. Open each step in the builder and connect your accounts and fields (channels, lists, sheets, recipients) before you switch the workflow on.
Make it yours
Changes worth making after you import it.
- Spell out tone, length and sign-off in the OpenAI prompt, and tell it not to invent prices or dates, so drafts need fewer edits.
- Add a Filter after the Email Parser trigger that continues only when the subject contains a tag you choose, so only emails you mark get an AI draft.
- If the draft step takes a recipient, map the original sender's address from the parsed email so each draft is already addressed to the person who wrote in.
Questions about this workflow
Does this workflow send the OpenAI email for me?
No. The last step is Gmail Create Draft, so the copy waits in your drafts. You read it, edit it, and send it yourself.
Do I need an OpenAI API account as well as Gmail?
Yes. The Generate Content step runs through the OpenAI account you connect in FlowMattic, and your Gmail account is connected separately for the draft.
Which emails reach the Email Parser trigger?
Only emails sent or forwarded to your Email Parser by FlowMattic address. Your normal Gmail inbox is not read by this workflow.
Will the Gmail draft be in the same thread as the original email?
Not necessarily. Create Draft saves a draft built from what you map. Run a test and check in Gmail how the draft is saved.
More AI Automation workflows
Other ready-to-import templates from the same category.







Import this workflow into your WordPress site
Download the JSON, import it from the Workflows screen and connect your accounts. Every run stays on your server, with no per-task fees.
30-day money-back guarantee Unlimited workflows and runs Self-hosted