Templates / Triage and answer support emails with Gmail, Gemini, and Google Sheets

Triage and answer support emails with Gmail, Gemini, and Google Sheets

Ready for 3.0

by Rahul Shah ✓ · 18 views · created 2026-08-07 · Ticket Management, AI RAG

Ready 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.

  1. Classify Support Request (Text Classifier): classifies text into categories with AI, with model: Gemini Lite Chatbot
  2. Fetch Knowledge Base Data (Google Sheets): uses Google Sheets
  3. Aggregate: combines items into one
  4. AI Answer Retrieval (Basic LLM Chain): sends a prompt to an LLM, with model: Gemini Chatbot
  5. Set AI Response Data (Edit Fields (Set)): sets or maps fields
  6. Check Answer Found (If): checks a condition and branches into true / false
  7. Send Email with AI Response (Gmail): uses Gmail
  8. Request Human Assistance (Gmail): send and wait for a reply
  9. 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
  10. Append to Knowledge Base (Google Sheets): append

Services it uses

GmailGoogle SheetsGoogle Gemini Chat Model

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)

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…

Excerpt from Rahul Shah's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.