PICKED FROM N8N.IO · EMAIL & INBOX
Watches your Gmail inbox for new emails. OpenAI first decides whether a message needs a reply, then writes a response using your prompt. The reply is converted to HTML and saved as a draft in the same Gmail thread, so you review, edit and send it yourself.
Template by Nicolas Chourrout · 76.4k views on n8n.io · listed there as “Gmail AI Auto-Responder: Create Draft Replies to incoming emails”
- DIFFICULTY
- Beginner
- NODES
- 8
- USES AI
- Yes
- PUBLISHED
- May 2024
001 / WHAT HAPPENS
- 01
The Gmail trigger fires when a new email arrives.
- 02
OpenAI assesses whether the message needs a reply and returns a structured answer.
- 03
An If step stops the workflow for emails that need no response.
- 04
OpenAI writes a reply using your system prompt.
- 05
The reply is saved as a draft in the Gmail thread, ready for you to approve.
WHO IT SUITS
Suits owners and small teams buried in routine emails who want a first draft ready but keep control over what actually gets sent.
CONNECTS
- Gmail
- OpenAI
002 / BEFORE YOU USE IT HERE
- !Customer or lead details are sent to an overseas AI provider, which is a cross-border disclosure under APP 8 of the Privacy Act, so say so in your privacy policy.
- !Email content may include customer, staff or health details, so test on non-sensitive mail first and keep it away from sensitive inboxes.
- !Edit the reply prompt so the tone, sign-off and business details match yours; it only drafts, so keep reviewing before sending.
- !Needs Google OAuth set up with Gmail permissions and a paid OpenAI API key.
LOCAL SWAP
Swap the Gmail nodes for the Microsoft Outlook nodes to draft replies in Outlook.
Need n8n and the AI hosted in Australia? →003 / MORE FOR EMAIL & INBOX
- 26 NODESAI
EMAIL & INBOX
Sort Outlook emails into categories and folders with AI
Microsoft OutlookOllamaAdvancedby Wayne Simpson74.2k views - 10 NODESAI
EMAIL & INBOX
Draft AI email replies and approve them by email before sending
IMAP emailOpenAIBeginnerby Davide Boizza40.5k views - 11 NODESAI
EMAIL & INBOX
Auto-label incoming Gmail messages with AI
GmailOpenAIBeginnerby Oskar30.7k views
004 / QUESTIONS
Anything else is quicker to answer on a call. Thirty minutes, free, with the people who would build it.
Yes. Every template on this list is free on n8n.io. You need an n8n account (n8n Cloud or self-hosted) and accounts for the apps it connects to, some of which charge for API use.
We adapt templates to your systems, add approval steps where customers are involved, host n8n in Australia when the data calls for it and hand it over documented.
Book a free call→