Triage and escalate tenant complaints from Gmail or forms to Slack with Claude AI
Ready for 3.0What this workflow does
This AI workflow has 17 nodes and runs on Gmail events (plus 2 other triggers). Along the way it connects Anthropic, Airtable, Gmail and Slack.
How it runs
Trigger: On Gmail events (plus 2 other triggers).
- Normalise email inputs (Edit Fields (Set)): sets or maps fields
- Normalise form inputs (Edit Fields (Set)): sets or maps fields
- Search records (Airtable): search
- Merge: merges the data from its input branches
- Loop over tickets (Loop Over Items (Split in Batches)): loops over the items in batches
- LLM extract & classify (Anthropic): uses Anthropic
- SLA breached? (If): checks a condition and branches into true / false
- Parse LLM output (Code): runs custom JavaScript code
- Escalate to FM Management (Slack): uses Slack
- Search technician (Airtable): search
…plus 4 more steps. See the full node list below.
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.
- Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Gmail trigger).
Nodes used (12)
- Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge - Anthropic
@n8n/n8n-nodes-langchain.anthropic - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Webhook
n8n-nodes-base.webhook - Airtable
n8n-nodes-base.airtable - Gmail
n8n-nodes-base.gmail - Gmail Trigger
n8n-nodes-base.gmailTrigger - Slack
n8n-nodes-base.slack
From the author
How it works 1. Complaints arrive via Gmail or a web form webhook 2. Claude AI classifies each complaint: fault category, priority (P1/P2/P3), tenant tone, and drafts an acknowledgement email 3. The right technician is looked up in Airtable by fault category…