Skip to main content

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

Workflow preview

Workflow preview
100%
Qualify and route B2B leads with GPT-4o-mini, Hunter.io, Slack, Gmail and Sheets preview
Open on n8n.io

1. Workflow Overview

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

Best for

  • Lead Generation automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.webhook, n8n-nodes-base.switch, n8n-nodes-base.slack, n8n-nodes-base.gmail

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by SPCTEK AI.

Original n8n.io source

1.1 Workflow description

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

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 qualified, scored, and routed contact in seconds. It captures leads via webhook (or any trigger like HubSpot, Typeform, or Pipedrive), normalises the data regardless of field naming conventions, enriches it with company intelligence, scores it using the BANT framework via GPT-4o-mini, and routes it into three automated pipelines — all without human intervention.


How It Works

Stage 1 — Lead Entry Leads enter through a webhook POST endpoint. Swap for any trigger: HubSpot, Pipedrive, Typeform, Google Sheets, or a native CRM node.

Stage 2 — Normalise + AI Field Extraction Incoming data is mapped to a standard schema regardless of field naming. A secondary GPT-4o-mini extraction step intelligently detects and maps values from any payload structure — even if the source uses completely non-standard field names.

Stage 3 — Enrich The email domain is analysed to detect personal vs. work email, infer seniority from job title, and derive company information. An optional Hunter.io step adds industry, employee count, and country data.

Stage 4 — AI BANT Scoring The enriched lead is sent to a structured GPT-4o-mini prompt that returns a score out of 100, a tier label, individual BANT component scores (Budget / Authority / Need / Timeline), a one-sentence reasoning summary, and a recommended next action — all as structured JSON.

Stage 5 — Route by Tier

  • 🔥 Hot (score ≥ 70) — Instant Slack alert to #sales-alerts + personalised outreach email via Gmail
  • 🌤️ Warm (score 40–69) — Automated soft nurture email via Gmail
  • ❄️ Cold (score < 40) — CRM tagging with a 90-day follow-up flag

Stage 6 — Log to Google Sheets All three tiers are logged to a single Google Spreadsheet with dynamic tab routing (Hot Leads / Warm Leads / Cold Leads).


Key Features

  • Works with any lead source — web forms, CRMs, Typeform, HubSpot, Pipedrive, or raw HTTP POST
  • AI field extraction handles messy or non-standard payloads automatically
  • BANT scoring is fully customisable via the system prompt (adjust weights, thresholds, and tier boundaries)
  • Hunter.io enrichment is optional — the workflow degrades gracefully without it
  • All three tiers log to a single Google Sheet with dynamic tab routing
  • Easily swap Gmail for any email node; swap Google Sheets for Airtable, HubSpot, or any CRM

Setup Requirements

Requirement Notes
OpenRouter API key Used for AI field extraction (Stage 2) and BANT scoring (Stage 4)
Gmail OAuth2 Sends outreach and nurture emails
Slack OAuth2 Posts hot lead alerts to #sales-alerts
Google Sheets OAuth2 Logs all leads; replace YOUR_SPREADSHEET_ID_HERE
Hunter.io API key Optional — free plan includes 25 requests/month
Booking URL Your Cal.com or Calendly link for email CTAs

Who This Is For

Solo founders, sales teams, and RevOps professionals who receive inbound leads and want instant prioritisation, enrichment, and follow-up — without manual triage.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Note — Stage 2b

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Build extraction prompt

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 3 - AI extract fields

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Parse extracted fields

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Note — Hunter

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Hunter.io domain search

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - Parse Hunter response

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Note — Stage

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Note — Stage 7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Note — Stage 8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Note — Stage 9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Note — Stage 10

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Note — Stage 11

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Lead entry webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 15 - Normalize lead fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 16 - Build AI prompt

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 17 - AI score via OpenRouter

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 18 - Parse AI score

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 19 - Route by lead tier

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 1

Block 20 - Slack — hot lead alert

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.2

Block 21 - Book a call URL

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 22 - Gmail — hot outreach

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 23 - Hot Lead Logging

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 24 - Warm Lead - Book a call

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Showing the first 24 of 34 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Qualify and route B2B leads with GPT-4o-mini, Hunter.io, Slack, Gmail and Sheets
Complexity advanced
Nodes 34
Categories Lead Generation, AI Summarization
Author SPCTEK AI
Published 08 May 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15557/15557.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

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

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

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Generation, AI Summarization use case.