Turn support emails into FAQ drafts with Gmail, OpenAI, Sheets and Docs
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 13 nodes and runs on Gmail events. Along the way it connects Gmail, OpenAI Chat Model, Google Sheets and Google Docs.
How it runs
Trigger: On Gmail events.
- Configuration (Edit Fields (Set)): sets 8 fields: product_or_service_name, spreadsheet_id, sheet_name…
- Clean the email (Code): runs custom JavaScript code
- Extract FAQ candidate (Information Extractor): extracts structured fields from text with AI, with model: OpenAI Chat Model
- Prepare FAQ candidate (Code): runs custom JavaScript code
- Log to Google Sheets (Google Sheets): append
- Route FAQ result (Switch): routes items into 2 branches
- Create FAQ draft doc (Google Docs): uses Google Docs
- Draft human review (Gmail): work with draft
- Insert FAQ draft body (Google Docs): update
- Notify reviewer: FAQ draft (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 (10)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Google Sheets
n8n-nodes-base.googleSheets - Switch
n8n-nodes-base.switch - Google Docs
n8n-nodes-base.googleDocs - Gmail
n8n-nodes-base.gmail - No Operation, do nothing
n8n-nodes-base.noOp
From the author
Quick overview This workflow monitors a Gmail inbox for new support-style emails, uses OpenAI to extract a reusable FAQ question and safe draft answer, logs results to Google Sheets, and then creates a Google Docs draft and/or Gmail review drafts for a human…