Qualify and route B2B leads with GPT-4o-mini, Hunter.io, Slack, Gmail and Sheets
Ready for 3.0What this workflow does
This workflow has 22 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Slack, Gmail and Google Sheets. It also calls openrouter.ai and api.hunter.io over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Normalize lead fields (Edit Fields (Set)): sets 9 fields: first_name, last_name, email…
- Build extraction prompt (Edit Fields (Set)): sets 2 fields: raw_payload, extract_system_prompt
- AI extract fields (HTTP Request): calls openrouter.ai (POST)
- Parse extracted fields (Code): runs custom JavaScript code
- Enrich from email domain (Code): runs custom JavaScript code
- Hunter.io domain search (HTTP Request): calls api.hunter.io
- Parse Hunter response (Code): runs custom JavaScript code
- Build AI prompt (Edit Fields (Set)): sets 2 fields: system_prompt, user_message
- AI score via OpenRouter (HTTP Request): calls openrouter.ai (POST)
- Parse AI score (Code): runs custom JavaScript code
…plus 11 more steps. See the full node list below.
Services it uses
HTTP calls to: openrouter.ai, api.hunter.io
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 (8)
- Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Webhook
n8n-nodes-base.webhook - Switch
n8n-nodes-base.switch - Slack
n8n-nodes-base.slack - Gmail
n8n-nodes-base.gmail - Google Sheets
n8n-nodes-base.googleSheets
From the author
AI-Powered B2B Lead Qualifier with BANT Scoring, Enrichment & Auto-Routing Automatically qualify, score, and route inbound B2B leads using GPT-4o-mini — no manual review needed. --- What This Workflow Does This workflow turns any inbound lead into a…