Triage and answer support emails with Gmail, Gemini, and Google Sheets
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 16 nodes and runs on Gmail events. Along the way it connects Gmail, Google Sheets and Google Gemini Chat Model.
How it runs
Trigger: On Gmail events.
- Classify Support Request (Text Classifier): classifies text into categories with AI, with model: Gemini Lite Chatbot
- Fetch Knowledge Base Data (Google Sheets): uses Google Sheets
- Aggregate: combines items into one
- AI Answer Retrieval (Basic LLM Chain): sends a prompt to an LLM, with model: Gemini Chatbot
- Set AI Response Data (Edit Fields (Set)): sets or maps fields
- Check Answer Found (If): checks a condition and branches into true / false
- Send Email with AI Response (Gmail): uses Gmail
- Request Human Assistance (Gmail): send and wait for a reply
- Generate Reusable Q&A with AI (Basic LLM Chain): sends a prompt to an LLM, with model: Gemini Chatbot Backup; output parser: Parse Structured Output
- Append to Knowledge Base (Google Sheets): append
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) (When Email Received).
Nodes used (11)
- If
n8n-nodes-base.if - Text Classifier
@n8n/n8n-nodes-langchain.textClassifier - Aggregate
n8n-nodes-base.aggregate - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Gmail Trigger
n8n-nodes-base.gmailTrigger - Gmail
n8n-nodes-base.gmail - Google Sheets
n8n-nodes-base.googleSheets - Edit Fields (Set)
n8n-nodes-base.set - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - No Operation, do nothing
n8n-nodes-base.noOp
From the author
Quick overview This workflow automatically classifies incoming Gmail messages, answers support questions using a Google Sheets knowledge base and Gemini, escalates unknown questions to a human expert, and learns from expert responses. How it works 1. Triggers…