Templates / Answer customer support emails in Gmail with Google Docs and Google Gemini

Answer customer support emails in Gmail with Google Docs and Google Gemini

Ready for 3.0

by Michael Cedeño ✓ · 3 views · created 2026-09-29 · Support Chatbot, 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 26 nodes and runs on Gmail events (plus 1 other trigger). Along the way it connects Gmail, Google Gemini Chat Model and Google Docs.

How it runs

Trigger: On Gmail events (plus 1 other trigger).

  1. Support Settings (Edit Fields (Set)): sets 3 fields: owner_email, reply_mode, knowledge_base_url
  2. Ask You (Gmail): send and wait for a reply
  3. Email Details (Edit Fields (Set)): sets 6 fields: message_id, thread_id, from_email…
  4. You Answered? (If): checks a condition and branches into true / false
  5. Classify Email (Text Classifier): classifies text into categories with AI, with model: Classify Model
  6. Write Final Reply (Basic LLM Chain): sends a prompt to an LLM, with model: Final Reply Model; output parser: Final Reply Format
  7. Read Knowledge Base (Google Docs): get
  8. Your Reply (Edit Fields (Set)): sets 2 fields: email, draft
  9. Has Knowledge Base Entry? (If): checks a condition and branches into true / false
  10. Draft Reply (Basic LLM Chain): sends a prompt to an LLM, with model: Draft Model; output parser: Reply Format

…plus 8 more steps. See the full node list below.

Services it uses

GmailGoogle Gemini Chat ModelGoogle Docs

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.

Nodes used (12)

From the author

Quick overview Answers customer emails in Gmail using only a knowledge base you keep in Google Docs. When the answer isn't there, it asks you, turns your answer into a reply, and sends you a ready-to-paste entry so it can answer that question next time. How…

Excerpt from Michael Cedeño'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.