Qualify, enrich, and route B2B inbound leads with GPT-4o, HubSpot, and Slack
Ready for 3.0What this workflow does
This AI workflow has 10 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model, HubSpot and Slack.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Normalize Lead Data (Edit Fields (Set)): sets 5 fields: fullName, workEmail, companyName…
- Fetch Company Website (HTTP Request): calls an HTTP API (GET)
- AI Lead Qualifier Agent (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Lead Score Output Parser
- Create or Update HubSpot Contact (HubSpot): create or update (contact)
- Route by Lead Score (If): checks a condition and branches into true / false
- Alert AE on Hot Lead (Slack): uses Slack
- Log Warm or Cold Lead (Slack): uses Slack
Services it uses
Other OpenAI + Slack templates (979) · Other HubSpot + Slack templates (137) · Other OpenAI + HubSpot templates (86)
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 (9)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - HubSpot
n8n-nodes-base.hubspot - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack
From the author
Quick Overview This workflow receives inbound lead submissions via a webhook, fetches the company website for context, uses OpenAI GPT-4o-mini to score and qualify the lead with structured output, upserts the contact into HubSpot, and posts high-priority or…