Smart email responder workflow using AI
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 14 nodes and runs on Gmail events. Along the way it connects Gmail, Google Gemini Chat Model and Google Calendar.
How it runs
Trigger: On Gmail events.
- Emails from Existing Contracts (If): checks a condition and branches into true / false
- Reply (If): checks a condition and branches into true / false
- Text Classifier: classifies text into categories with AI, with model: Google Gemini Chat Model
- Google Calendar: get many
- Youtube Video Inquiry (Send Email): sends an email over SMTP
- Send Email: sends an email over SMTP
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Mark as Read (Gmail): mark as read
- Code: runs custom JavaScript code
- Google Calendar: update
…plus 2 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Gmail Trigger).
Nodes used (9)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Text Classifier
@n8n/n8n-nodes-langchain.textClassifier - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Send Email
n8n-nodes-base.emailSend - Gmail
n8n-nodes-base.gmail - If
n8n-nodes-base.if - Google Calendar
n8n-nodes-base.googleCalendar - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Code
n8n-nodes-base.code
From the author
This project presents an intelligent email management system powered by advanced artificial intelligence. It utilizes Google's Gemini 2.0 AI model to automatically categorize incoming emails into queries, project updates, and feedback, and generates…