Skip to main content

Qualify and route high-intent leads with OpenAI, Airtable and Slack

Workflow preview

Workflow preview
100%
Qualify and route high-intent leads with OpenAI, Airtable and Slack preview
Open on n8n.io

1. Workflow Overview

LeadFlow AI: n8n Webhook + OpenAI + Airtable + Slack Lead Automation This workflow captures leads via webhook, validates and deduplicates them, uses OpenAI to score and summarize intent and sends h...

Best for

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

Tools used

n8n-nodes-base.webhook, n8n-nodes-base.set, n8n-nodes-base.if, n8n-nodes-base.airtable, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.code, n8n-nodes-base.slack, n8n-nodes-base.stickynote

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Qualify and route high-intent leads with OpenAI, Airtable and Slack
Workflow name
Qualify and route high-intent leads with OpenAI, Airtable and Slack

LeadFlow AI: n8n Webhook + OpenAI + Airtable + Slack Lead Automation

This workflow captures leads via webhook, validates and deduplicates them, uses OpenAI to score and summarize intent and sends high-quality leads (score > 70) to Airtable and Slack for immediate sales action.

Quick Setup (Start in Minutes)

  1. Login to your n8n account and import this workflow
  2. Connect your form/API to the webhook endpoint
  3. Add Airtable credentials and select base/table
  4. Add OpenAI API credentials
  5. Connect Slack and choose a channel
  6. Activate workflow and test with sample data

What It Does

This workflow automates your entire lead handling process from capture to qualification and notification. When a new lead is submitted through a webhook, the system extracts and standardizes the data, ensuring all required fields are present and usable.

Next, it checks if the lead already exists in Airtable using the email address. If the lead is new, it is sent to an AI model that evaluates the message content and assigns a score, category (Hot/Warm/Cold) and a short summary.

Finally, only high-intent leads (score greater than 70) are stored in Airtable and instantly sent to Slack. This ensures your sales team focuses only on the most valuable opportunities without manual filtering.

Who It's For

  • Sales teams who want instant high-quality lead alerts
  • Marketing teams handling inbound leads from forms or ads
  • Agencies managing multiple client lead pipelines
  • Startups looking to automate lead qualification
  • Anyone using Airtable as a lightweight CRM

Requirements

To use this workflow, you need:

  • n8n account (self-hosted or cloud)
  • OpenAI API key
  • Airtable account with:
  • Base created
  • Table with required fields
  • Slack workspace with bot access
  • A form or system that can send webhook POST requests

How It Works & Setup Guide

Workflow Logic

  1. Webhook Trigger
  • Receives lead data (name, email, company, message)
  1. Data Normalization
  • Maps incoming fields into structured format
  1. Validation
  • Ensures email exists and message length > 10 characters
  1. Deduplication
  • Searches Airtable using email
  • Only new leads move forward
  1. AI Scoring
  • OpenAI analyzes message
  • Returns:
  • Score (0–100)
  • Category (Hot/Warm/Cold)
  • Summary
  1. Safety Parsing
  • Ensures valid JSON output
  • Applies fallback if AI response fails
  1. Filtering
  • Only leads with score > 70 proceed
  1. Storage + Notification
  • Saves lead in Airtable
  • Sends Slack notification instantly

Setup Steps

  1. Webhook Setup
  • Copy webhook URL from n8n
  • Connect it to your form/API
  1. Airtable Setup
  • Create base and table
  • Add fields:
  • Name, Email, Company, Message
  • Lead Score, Lead Category, AI Summary
  • Connect Airtable credentials in n8n
  1. OpenAI Setup
  • Add API key in credentials
  • Ensure model (gpt-4o-mini) is selected
  1. Slack Setup
  • Connect Slack account
  • Select channel for notifications
  1. Test & Activate
  • Send test webhook
  • Verify Airtable + Slack outputs
  • Activate workflow

How To Customize Nodes

  • Validation Node

  • Adjust message length or add more conditions (e.g., required company)

  • AI Prompt

  • Modify scoring rules or summary format

  • Add industry-specific logic

  • Score Filter

  • Change threshold (e.g., 60 instead of 70)

  • Slack Message

  • Add email, message or direct contact link

  • Airtable Fields

  • Add tags, source, campaign tracking

Add-ons (Enhancements)

  • Send email alerts for hot leads
  • Add CRM integrations (HubSpot, Salesforce)
  • Store rejected leads separately
  • Add lead source tracking (UTM parameters)
  • Auto-assign leads to sales reps
  • Add follow-up automation workflows

Use Case Examples

  1. Website contact form lead qualification
  2. Facebook/Google Ads lead filtering
  3. SaaS demo request prioritization
  4. Agency client lead routing system
  5. Freelancer inquiry management

And many more use cases depending on your business needs.

Troubleshooting Guide

Issue Possible Cause Solution
No data in Airtable Field mapping issue Check field names and mappings
Slack not sending messages Wrong channel or credentials Reconnect Slack and verify channel
AI output parsing fails Invalid JSON from AI Check prompt and parser fallback
Duplicate leads processed Airtable filter issue Verify email matching formula
Workflow not triggering Webhook not connected Recheck webhook URL and method

Need Help?

If you need help setting up, customizing or extending this workflow, our n8n workflow development team at WeblineIndia can assist you.

We can help you:

  • Customize AI scoring logic
  • Integrate with advanced CRMs
  • Build complete lead automation systems
  • Add analytics and reporting

Feel free to reach out to build powerful automation workflows tailored to your business.

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 - Lead Intake Endpoint

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

Block 2 - Normalize Lead Data

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

Block 3 - Basic Lead Validation (Email + Message Check)

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

Block 4 - Check Existing Lead in Airtable

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

Block 5 - New Lead Decision Gate

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

Block 6 - AI Lead Scoring Engine

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 2.1

Block 7 - AI Output Parser & Safety Handler

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

Block 8 - High-Intent Lead Filter (Score > 70)

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

Block 9 - Slack Hot Lead Notification

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

Block 10 - Sticky Note

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

Block 11 - Sticky Note1

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

Block 12 - Sticky Note2

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

Block 13 - Sticky Note3

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

Block 14 - Sticky Note4

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

Block 15 - Store Lead in Airtable CRM

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

Block 16 - Sticky Note5

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

3. Summary Table

Workflow Qualify and route high-intent leads with OpenAI, Airtable and Slack
Complexity advanced
Nodes 16
Categories Lead Generation, AI Summarization
Author WeblineIndia
Published 01 May 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15418/15418.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 high-intent leads with OpenAI, Airtable and Slack do?

LeadFlow AI: n8n Webhook + OpenAI + Airtable + Slack Lead Automation This workflow captures leads via webhook, validates and deduplicates them, uses OpenAI to score and summarize intent and sends h...

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.