AI-Powered Lead Qualification & Routing with OpenAI, Slack, and Airtable
Ready for 3.0What this workflow does
This AI workflow has 12 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model, Airtable and Slack.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Acknowledge Receipt (Respond to Webhook): sends the response back to the webhook caller
- Enrich Lead Data (Edit Fields (Set)): sets 3 fields: leadId, timestamp, source
- AI Lead Qualification (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Model; output parser: Parse AI Response
- Route by Quality (If): checks a condition and branches into true / false
- Save to Airtable (Hot Leads) (Airtable): append
- Save to Airtable (Nurture Queue) (Airtable): append
- Alert Team (Slack) (Slack): send
- Send Confirmation Email (Hot) (Send Email): sends an email over SMTP
- Send Nurture Email (Send Email): sends an email over SMTP
Services it uses
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 (10)
- Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook - Edit Fields (Set)
n8n-nodes-base.set - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - If
n8n-nodes-base.if - Airtable
n8n-nodes-base.airtable - Slack
n8n-nodes-base.slack - Send Email
n8n-nodes-base.emailSend
From the author
AI Lead Qualifier & Router An intelligent lead management system that automatically captures incoming leads via webhook, uses AI to analyze and score each prospect, then routes them to the appropriate team or campaign based on qualification score—delivering…