FREE N8N TEMPLATE · CUSTOMER SERVICE
This n8n workflow reads each new unread email in Gmail, uses an AI text classifier to sort it into urgent, sales, support, invoices or newsletters, and applies the matching Gmail label. For urgent, sales and support email it writes a reply and saves it as a Gmail draft in the same thread, ready for you to check and send. At 5 pm each weekday it emails you a digest of what came in.
- DIFFICULTY
- Beginner
- SET-UP TIME
- About 30 minutes
- NODES
- 16
- CHECKED AGAINST
- n8n 2.41
- n8n
- Gmail
- OpenAI or Anthropic
LAST REVIEWED OCTOBER 2026
001 / HOW IT WORKS
Step by step, node by node
01New email
The Gmail Trigger checks for new unread messages, skipping chats and mail you sent yourself, and passes the full message including sender, subject and body text.
02Classify email
The Text Classifier node asks the chat model to place each email in one of five categories you describe in plain English. Anything that fits none goes to an Other output.
03Apply Gmail label
Each category output runs a Gmail node that adds the matching label (AI-Urgent, AI-Sales, AI-Support, AI-Invoices or AI-Newsletters). Other mail is left untouched in the inbox.
04Write draft reply
For urgent, sales and support email, an LLM chain writes a reply in your voice. It is told never to invent prices, dates or commitments and to leave square-bracket placeholders instead.
05Save as Gmail draft
The reply is saved as a Gmail draft inside the original thread, addressed to the sender. Nothing is sent; you open Drafts, edit and press send.
06Daily digest
A schedule trigger runs at 5 pm Sydney time on weekdays, fetches the day's labelled email, combines it into one list and has the chat model write a short HTML digest grouped by category.
07Email me the digest
Gmail sends the digest to your own address, with a reminder that draft replies are waiting for review.
THE REAL WORKFLOW YOU IMPORT · NODE NAMES AS THEY APPEAR IN N8N
002 / WHY IT EXISTS
A busy shared or personal inbox mixes customer problems, new sales enquiries, supplier invoices and newsletters in one list. Important messages get buried, replies go out late, and an hour every morning disappears into sorting rather than answering. Filters help, but they only match senders and keywords, not what an email is actually asking for.
This template is for owners, operations managers, account managers and small support teams in Australian businesses who live in Gmail or Google Workspace. It sorts mail by meaning, prepares a first draft for the messages that need a reply, and leaves every send decision with a person, because a wrong automatic reply to a customer costs more than the time it saves.
WHO IT'S FOR
- →Business owners who handle their own inbox
- →Small support teams working from a shared Google Workspace mailbox
- →Account managers who need urgent client email to stand out
- →Office managers who sort invoices and supplier mail
003 / WHAT YOU NEED
Tick them off as you go. Nothing is saved; it's just a checklist.
004 / SET IT UP
- 01
In Gmail, create five labels: AI-Urgent, AI-Sales, AI-Support, AI-Invoices and AI-Newsletters.
- 02
Import the workflow and connect your Gmail credential to the New email trigger and every Gmail node.
- 03
Open each Label node and choose the matching label from the dropdown, replacing the YOUR_..._LABEL_ID placeholders.
- 04
Add your OpenAI credential to the Chat model node, or swap in the Anthropic Chat Model node and connect it to Classify email, Write draft reply and Write digest.
- 05
Edit the category descriptions in Classify email so they describe your real mail, for example naming your key clients under Urgent.
- 06
Edit the system message in Write draft reply with your name, role, business and preferred tone.
- 07
Set your own address in Email me the digest and adjust the schedule if 5 pm on weekdays does not suit you.
- 08
Run the workflow manually on a few recent emails, check the labels and drafts, then activate it.
005 / MAKE IT YOURS
- +Add a Gmail node on the Newsletters output to mark those emails as read or archive them.
- +Forward invoices to your Xero or MYOB bills inbox, or send the attachments to an AP automation workflow.
- +Post urgent email to a Slack channel or send a push notification so it is seen outside Gmail.
- +Give the draft writer a knowledge base tool with your FAQs and policies so support drafts are more complete.
- +Log each classification to Google Sheets to review accuracy and refine the category descriptions.
FOR AUSTRALIAN BUSINESSES
Email bodies are sent to an AI provider for classification and drafting, often in the United States, which is a cross-border disclosure under APP 8 of the Privacy Act 1988. If your mailbox receives health, financial or legal information, check your provider's data retention terms or use a model hosted in an Australian region, such as through Amazon Bedrock or Azure in Sydney. Because the workflow only creates drafts, a person approves every reply, which keeps you in control of what you send under the Spam Act 2003 and your own complaint-handling obligations. The digest runs on Australia/Sydney time; change the workflow timezone for other states.
Need it hosted in Australia? →006 / TOOLS IN THIS WORKFLOW
n8n
AUTOMATION & AGENT PLATFORMS
A workflow automation platform that combines a visual node editor with code when you need it. It connects hundreds of apps and APIs and includes AI agent nodes that can call language models, tools and memory. Teams can self-host the free Community Edition on their own servers or use n8n's hosted cloud.
Best for australian organisations that need automation data to stay onshore
Onshore possibleFreemiumIntermediateChatGPT
OpenAI · ASSISTANTS & CHATBOTS
OpenAI's general-purpose AI assistant. It handles writing, coding, file and image analysis, data analysis and web research through a chat interface, with an API for building it into your own systems.
Best for small and mid-sized teams wanting one general assistant for everyday writing and analysis
AU optionFreemiumBeginnerClaude
Anthropic · ASSISTANTS & CHATBOTS
Anthropic's AI assistant, known for careful reasoning, long-document analysis, writing and coding. It can work through large documents and codebases in a single conversation, paid plans include the Claude Code agentic coding tool, and it is available through an API and major cloud platforms.
Best for legal, policy and consulting teams reviewing long documents
Onshore possibleFreemiumBeginnerFyxer AI
MEETING NOTES & EMAIL TOOLS
An AI email assistant that connects to Gmail or Outlook, sorts incoming mail into categories, and drafts replies in your writing style for you to review and send. It can also join meetings to take notes and draft follow-up emails.
Best for business owners and executives handling heavy email volumes
OffshorePaidBeginner
MORE TEMPLATES
All templates →- 15 NODESAI
CUSTOMER SERVICE
RAG Website Support Chatbot from Your Google Drive Docs with Human Handoff
n8n ChatOpenAI or AnthropicOpenAI embeddingsSupabaseAdvanced~1 to 2 hours→ - 12 NODESAI
SALES & LEADS
Speed to Lead: AI Lead Qualification from Website Form to HubSpot
WebhookOpenAI or AnthropicHubSpotGmailIntermediate~45 minutes→ - 11 NODESAI
AI AGENTS & RESEARCH
AI Company Research Agent: Lead Research Briefs Saved to HubSpot
Webhook or HubSpotOpenAI or AnthropicSerpApiHubSpotIntermediate~45 minutes→
007 / QUESTIONS
Anything else is quicker to answer on a call. Thirty minutes, free, with the people who would build it.
No. Replies are saved as Gmail drafts in the original thread. The only email the workflow sends is the daily digest to your own address. You can change that, but drafts are the safer default for customer email.
We set up n8n end to end: hosting in Australia, connecting your systems, testing with real data and handing over documentation.
Book a free call→