# Qualify and score leads in Airtable with OpenAI and Slack: n8n workflow

> Started by an event in a connected app, and works across Airtable and Slack. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/qualify-and-score-leads-in-airtable-with-openai-and-slack (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Lead generation](https://millionrounds.com/workflows?category=Lead+generation#library)

# Qualify and score leads in Airtable with OpenAI and Slack

Started by an event in a connected app, and works across Airtable and Slack. It hands the judgement calls to OpenAI. 17 steps, 3 branches: a working afternoon to understand properly.

Medium Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fqualify-and-score-leads-in-airtable-with-openai-and-slack)

**17 steps** Medium: a working afternoon

**3** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Model 1 Logic 12 Service 3

The steps in the order they run, from what starts it.

- 1 **Trigger: New Lead Created** Airtable trigger *Starts it*
- 2 **Normalize & Standardize Lead Data** Set *Logic*
- 3 **Guard: Skip Already Processed Leads** If *Logic*
- 4 **Prepare AI Scoring Context** Set *Logic*
- 5 **Exit: Already Processed** No Op *Logic*
- 6 **AI Lead Qualification (GPT)** Open Ai *Model*
- 7 **Validate & Parse AI Response** Code *Logic*
- 8 **AI Response Validation** If *Logic*
- 9 **Merge Valid & Fallback Paths** Merge *Logic*
- 10 **Alert: AI Scoring Failure** Slack *Service*
- 11 **Hybrid Lead Scoring Engine** Code *Logic*
- 12 **Prepare CRM Update Payload** Set *Logic*
- 13 **Update Lead Record (CRM)** Airtable *Service*
- 14 **Prepare Hot Lead Notification** Set *Logic*
- 15 **Decision: Is High-Intent Lead?** If *Logic*
- 16 **Notify Sales Team – Hot Lead** Slack *Service*
- 17 **Exit: No Sales Notification** No Op *Logic*

## How it's built

- **Starts on:** An event in a connected app
- **Steps:** 17, with 3 branches
- **Size:** Medium: a working afternoon
- **Connects to:** Airtable, Slack
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Airtable and Slack accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 17 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 17 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fqualify-and-score-leads-in-airtable-with-openai-and-slack)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Airtable](https://millionrounds.com/workflows?service=Airtable#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)

## Workflows like it

Also lead generation, with the same services where possible, closest in size first.

- [**Analyze sales calls & route leads with OpenAI and Airtable** 17 steps · calls a model · Airtable, Gmail](https://millionrounds.com/workflow/analyze-sales-calls-and-route-leads-with-openai-and-airtable)
- [**Balance VIP outreach with Salesforce and Slack** 17 steps · calls a model · Salesforce, Slack](https://millionrounds.com/workflow/balance-vip-outreach-with-salesforce-and-slack)
- [**Enrich Airtable company phones** 17 steps · calls a model · Airtable](https://millionrounds.com/workflow/enrich-airtable-company-phones)
- [**Qualify Meta Lead Ads with OpenAI and WhatsApp** 17 steps · calls a model · Google Sheets, HubSpot](https://millionrounds.com/workflow/qualify-meta-lead-ads-with-openai-and-whatsapp)
- [**Qualify and route consulting leads with Slack** 17 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/qualify-and-route-consulting-leads-with-slack)
- [**Basic webhook lead nurturer with Google Sheets and Slack** 17 steps · Google Sheets, Slack](https://millionrounds.com/workflow/basic-webhook-lead-nurturer-with-google-sheets-and-slack)
