Qualify inbound leads with OpenAI or Anthropic, Google Sheets, Slack and Gmail
Ready for 3.0What this workflow does
This workflow has 40 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Google Sheets and Slack.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Config (Edit Fields (Set)): sets or maps fields
- Validate and Normalize (Code): runs custom JavaScript code
- Valid Lead? (If): checks a condition and branches into true / false
- Dry Run? (If): checks a condition and branches into true / false
- Is Spam? (If): checks a condition and branches into true / false
- Sample CRM Rows (Code): runs custom JavaScript code
- Read Leads Sheet (Google Sheets): read
- Respond: Silent Spam (Respond to Webhook): sends the response back to the webhook caller
- Respond: Invalid (Respond to Webhook): sends the response back to the webhook caller
- Match Existing Contact (Code): runs custom JavaScript code
…plus 28 more steps. See the full node list below.
Services it uses
Other Google Sheets + Slack templates (1,314)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (10)
- Webhook
n8n-nodes-base.webhook - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - Google Sheets
n8n-nodes-base.googleSheets - HTTP Request
n8n-nodes-base.httpRequest - Switch
n8n-nodes-base.switch - Slack
n8n-nodes-base.slack
From the author
Quick overview Takes a website form webhook enquiry, checks required fields, scores the lead with AI (mock AI in dry-run mode, or your own OpenAI or Anthropic key), logs a row to Google Sheets, and can alert you in Slack and Gmail for hot leads. Dry-run and…