Score and route B2B leads with Google Gemini, Google Sheets, Slack, and Gmail
Ready for 3.0What this workflow does
This AI workflow has 26 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Sheets, Gmail, Slack and Google Gemini. It also calls dummyjson.com and jsonplaceholder.typicode.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Set Lead Fields (Edit Fields (Set)): sets 12 fields: firstName, lastName, full_name…
- Validate Lead Input. (If): checks a condition and branches into true / false
- Validate Required Lead Data (Code): runs custom JavaScript code
- Find Existing Lead (Google Sheets): uses Google Sheets
- Check Lead Exists (If): checks a condition and branches into true / false
- Fetch Contact Test Data (HTTP Request): calls dummyjson.com
- Enrich Company Data (HTTP Request): calls jsonplaceholder.typicode.com
- Attach Normalized Lead Context (Edit Fields (Set)): sets 1 field: lead_data
- Map Contact Enrichment (Edit Fields (Set)): sets 8 fields: enriched_full_name, enriched_phone, enriched_job_title…
- Map Company Enrichment (Edit Fields (Set)): sets 8 fields: company_name, company_description, industry…
…plus 15 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Sheets + Slack templates (1,314) · Other Gmail + Slack templates (957)
HTTP calls to: dummyjson.com, jsonplaceholder.typicode.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 (11)
- Google Sheets
n8n-nodes-base.googleSheets - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge - Switch
n8n-nodes-base.switch - Gmail
n8n-nodes-base.gmail - Slack
n8n-nodes-base.slack - Webhook
n8n-nodes-base.webhook - If
n8n-nodes-base.if - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - Code
n8n-nodes-base.code
From the author
Quick overview This workflow accepts new leads via a webhook, validates and deduplicates them in Google Sheets, enriches contact and company details via HTTP APIs, scores the lead with Google Gemini, then saves the result back to Google Sheets and notifies…