Turn customer emails into FAQ drafts with Gmail, Gemini, Docs and 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 11 nodes and runs on Gmail events. Along the way it connects Gmail, Google Gemini, Google Sheets and Google Docs.
How it runs
Trigger: On Gmail events.
- Set config: FAQ settings (Edit Fields (Set)): sets 7 fields: spreadsheet_id, sheet_name, review_recipient_email…
- Code: runs custom JavaScript code
- Gemini: Extract FAQ candidate (Google Gemini): uses Google Gemini
- Code: runs custom JavaScript code
- Sheets: Log FAQ candidate (Google Sheets): append
- Switch: routes items into 2 branches
- Docs: Create FAQ draft (Google Docs): uses Google Docs
- Gmail: work with draft
- Docs: Insert FAQ draft body (Google Docs): update
- Gmail: work with draft
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.
Nodes used (8)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - Google Sheets
n8n-nodes-base.googleSheets - Switch
n8n-nodes-base.switch - Google Docs
n8n-nodes-base.googleDocs - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow monitors customer-support emails in Gmail, uses Google Gemini to extract FAQ-ready questions and draft answers, logs every candidate to Google Sheets, and routes strong candidates to a Google Docs draft while sending unclear or…