Triage inbound leads with Claude, Gmail, Google Sheets, and Slack
Ready for 3.0What this workflow does
This workflow has 9 nodes and runs when someone submits an n8n form (“Contact us”). Along the way it connects Gmail, Google Sheets and Slack. It also calls api.anthropic.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Contact us”).
- Normalize Lead Fields (Edit Fields (Set)): sets 6 fields: lead_name, lead_email, lead_company…
- Claude Classify and Draft Reply (HTTP Request): calls api.anthropic.com (POST)
- Parse Claude Response (Code): runs custom JavaScript code
- Alert - Claude Step Failed (Slack): uses Slack
- Email Draft to Reviewer (Gmail): send and wait for a reply (message)
- Check Approval (If): checks a condition and branches into true / false
- Log Lead to Google Sheets (Google Sheets): append
Services it uses
HTTP calls to: api.anthropic.com
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 (9)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Gmail
n8n-nodes-base.gmail - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - No Operation, do nothing
n8n-nodes-base.noOp - Slack
n8n-nodes-base.slack
From the author
Quick overview This workflow collects inbound leads via an n8n Form, uses Anthropic Claude to classify the lead and draft a reply, requests human approval in Gmail, and logs approved leads (with the draft) to Google Sheets while sending Slack alerts if the…