Skip to main content

Qualify & route leads with GPT-4o, Clearbit, HubSpot CRM & Slack alerts

Workflow preview

Workflow preview
100%
Qualify & route leads with GPT-4o, Clearbit, HubSpot CRM & Slack alerts preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

How it works • Webhook receives lead form submissions from your website • AI Agent (GPT 4o) analyzes lead quality using intelligent scoring framework • Clearbit enriches company data automatically ...

Best for

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

Tools used

n8n-nodes-base.webhook, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.if, n8n-nodes-base.executeworkflowtrigger, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.stickynote, n8n-nodes-base.airtable

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Qualify & route leads with GPT-4o, Clearbit, HubSpot CRM & Slack alerts
Workflow name
Qualify & route leads with GPT-4o, Clearbit, HubSpot CRM & Slack alerts

How it works

• Webhook receives lead form submissions from your website • AI Agent (GPT-4o) analyzes lead quality using intelligent scoring framework • Clearbit enriches company data automatically (employee count, industry, revenue) • Qualification score (0-100) determines routing: high-quality leads → HubSpot CRM + Slack alert, low-quality leads → Airtable for manual review • Structured output parser ensures reliable JSON formatting every time

Set up steps

Time to set up: 15-20 minutes • Import the Clearbit sub-workflow first (separate workflow file included) • Create 7 custom properties in HubSpot (qualification_score, buying_intent, urgency_level, budget_indicator, ai_summary, pain_points, recommended_action) • Create Airtable base with 14 columns for low-quality lead tracking • Get Slack channel IDs for sales alerts and review requests • Add credentials: OpenAI (GPT-4o), Clearbit API, HubSpot OAuth2, Slack OAuth2, Airtable Token • Replace placeholder IDs in Slack and Airtable nodes • Configure the Clearbit Enrichment Tool node with your sub-workflow ID

What you'll need

OpenAI API - OpenAI model access for AI qualification • Clearbit API - Free tier available for company enrichment • HubSpot - Free CRM account works • Slack - Standard workspace • Airtable - Free plan works • Website form - To send webhook data

Who this is for

Sales teams and agencies that want to automatically qualify inbound leads before they hit the CRM. Perfect for B2B companies with high lead volume that need intelligent routing.

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 - Form Submission5

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

Block 2 - AI Lead Analysis Agent5

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.7

Block 3 - High Quality Lead?5

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

Block 4 - When called by another workflow

Type / Role
n8n-nodes-base.executeWorkflowTrigger - executeWorkflowTrigger
Config choices
Version 1.1

Block 5 - Clearbit API

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

Block 6 - Company Found?

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

Block 7 - Format Data

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

Block 8 - No Data

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

Block 9 - Sticky Note1

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

Block 10 - Sticky Note2

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

Block 11 - Log to Airtable

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

Block 12 - Request Manual Review

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

Block 13 - Notify Sales Team

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

Block 14 - Add to HubSpot CRM

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

Block 15 - Structure Lead Data

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

Block 16 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1

Block 17 - Clearbit Enrichment Tool

Type / Role
@n8n/n8n-nodes-langchain.toolWorkflow - toolWorkflow
Config choices
Version 1.1

Block 18 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

3. Summary Table

Workflow Qualify & route leads with GPT-4o, Clearbit, HubSpot CRM & Slack alerts
Complexity advanced
Nodes 18
Categories Lead Generation, AI Chatbot
Author Greypillar
Published 01 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9162/9162.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 & route leads with GPT-4o, Clearbit, HubSpot CRM & Slack alerts do?

How it works • Webhook receives lead form submissions from your website • AI Agent (GPT 4o) analyzes lead quality using intelligent scoring framework • Clearbit enriches company data automatically ...

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 Chatbot use case.