Score and route website leads with Google Sheets and Gmail
Ready for 3.0What this workflow does
This workflow has 14 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Sheets and Gmail.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Normalize Payload (Edit Fields (Set)): sets 10 fields: received_at, name, email…
- Has Contact? (If): checks a condition and branches into true / false
- Score Lead and SLA (Edit Fields (Set)): sets 4 fields: intent_matches, lead_score, sla_bucket…
- Build Missing Contact Response (Edit Fields (Set)): sets 3 fields: ok, status, response_message
- Build Dedupe Key (Edit Fields (Set)): sets 2 fields: dedupe_key, routing_owner
- Respond Missing Contact (Respond to Webhook): sends the response back to the webhook caller
- Append Lead Audit Row (Google Sheets): append
- Hot Lead? (If): checks a condition and branches into true / false
- Build Hot Lead Alert (Edit Fields (Set)): sets 2 fields: alert_subject, alert_body
- Needs Human Review? (If): checks a condition and branches into true / false
…plus 3 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.
Nodes used (6)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail
From the author
Quick Overview This workflow receives website lead submissions via a webhook, normalizes inconsistent form fields, validates contact details, scores intent to assign an SLA and priority, logs every lead to Google Sheets, and routes hot and review leads to the…