Triage complaints and draft cited replies with Gmail, Airtable and Claude
Ready for 3.0What this workflow does
This AI workflow has 46 nodes and runs on Gmail events (plus 1 other trigger). Along the way it connects Gmail, Airtable and Anthropic Chat Model.
How it runs
Trigger: On Gmail events (plus 1 other trigger).
- Hand Off Each Email (Execute Sub-workflow): calls another n8n workflow
- Config (Code): runs custom JavaScript code
- Get Full Email (Gmail): get
- Read Email (Code): runs custom JavaScript code
- Find Existing Case (Airtable): search
- Route Email (Code): runs custom JavaScript code
- What Is It? (Switch): routes items into 3 branches
- Classify (Basic LLM Chain): sends a prompt to an LLM, with model: Claude Haiku; output parser: Classification Format
- Log Follow-up (Airtable): create
- Is It a Complaint? (If): checks a condition and branches into true / false
…plus 28 more steps. See the full node list below.
Services it uses
Other Anthropic + Gmail templates (192) · Other Airtable + Gmail templates (133) · Other Airtable + Anthropic templates (26)
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) (Check the Complaints Inbox).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (12)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Execute Sub-workflow
n8n-nodes-base.executeWorkflow - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Code
n8n-nodes-base.code - Gmail
n8n-nodes-base.gmail - Airtable
n8n-nodes-base.airtable - Switch
n8n-nodes-base.switch - No Operation, do nothing
n8n-nodes-base.noOp - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - If
n8n-nodes-base.if
From the author
Quick overview This workflow monitors a Gmail complaints inbox, logs new complaints to Airtable, sends an immediate acknowledgement, drafts a policy-cited reply using Anthropic Claude and your approved documents, and only sends the final response after a…