Templates / Qualify and route B2B leads with GPT-4o-mini, Hunter.io, Slack, Gmail and Sheets

Qualify and route B2B leads with GPT-4o-mini, Hunter.io, Slack, Gmail and Sheets

Ready for 3.0

by SPCTEK AI ✓ · 17 views · created 2026-05-08 · Lead Generation, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What 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.

  1. Normalize lead fields (Edit Fields (Set)): sets 9 fields: first_name, last_name, email…
  2. Build extraction prompt (Edit Fields (Set)): sets 2 fields: raw_payload, extract_system_prompt
  3. AI extract fields (HTTP Request): calls openrouter.ai (POST)
  4. Parse extracted fields (Code): runs custom JavaScript code
  5. Enrich from email domain (Code): runs custom JavaScript code
  6. Hunter.io domain search (HTTP Request): calls api.hunter.io
  7. Parse Hunter response (Code): runs custom JavaScript code
  8. Build AI prompt (Edit Fields (Set)): sets 2 fields: system_prompt, user_message
  9. AI score via OpenRouter (HTTP Request): calls openrouter.ai (POST)
  10. Parse AI score (Code): runs custom JavaScript code

…plus 11 more steps. See the full node list below.

Services it uses

SlackGmailGoogle Sheets

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)

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…

Excerpt from SPCTEK AI's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.