# Automate lead qualification with OpenAI and Notion: n8n workflow

> Started by another system calling it, and works across Notion. It hands the judgement calls to OpenRouter.

Source: https://millionrounds.com/workflow/automate-lead-qualification-with-openai-and-notion (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)

# Automate lead qualification with OpenAI and Notion

Started by another system calling it, and works across Notion. It hands the judgement calls to OpenRouter. 19 steps, 2 branches: a working afternoon to understand properly.

Medium Calls a model: OpenRouter

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fautomate-lead-qualification-with-openai-and-notion)

**19 steps** Medium: a working afternoon

**2** Branches: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 2 Model 4 Logic 7 Service 6

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

- 1 **Webhook2** Webhook *Starts it*
- 2 **GPT-3.5 (Cheap Model)4** Lm Chat Open Router *Model*
- 3 **GPT-3.5 (Cheap Model)5** Lm Chat Open Router *Model*
- 4 **Notion Trigger2** Notion trigger *Starts it*
- 5 **Fetch Call Results2** Http Request *Service*
- 6 **Generate AI Summary2** Agent *Model*
- 7 **Generate Business Analysis3** Agent *Model*
- 8 **Get New Leads from Notion2** Notion *Service*
- 9 **Extract Call Fields2** Code *Logic*
- 10 **Format Final Summary2** Code *Logic*
- 11 **Update Notion with Analysis2** Notion *Service*
- 12 **Is Test Lead?2** If *Logic*
- 13 **Need AI Summary?2** If *Logic*
- 14 **Update Call Results in Notion2** Notion *Service*
- 15 **Make Real Vapi Call2** Http Request *Service*
- 16 **Mock Website Content2** Code *Logic*
- 17 **Fetch Real Website2** Http Request *Service*
- 18 **Use Existing Summary2** Code *Logic*
- 19 **Clean HTML Content2** Code *Logic*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 19, with 2 branches
- **Size:** Medium: a working afternoon
- **Connects to:** Notion
- **Model:** OpenRouter

## Questions

What does it need to run?

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

What starts it?

It starts on another system calling it.

Does it use AI?

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

How long does it take to set up?

Plan an afternoon. 19 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 19 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%2Fautomate-lead-qualification-with-openai-and-notion)
- **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.

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

## Workflows like it

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

- [**Automate lead qualification with OpenAI and Notion** 19 steps · calls a model · Notion](https://millionrounds.com/workflow/automate-lead-qualification-with-openai-and-notion-2)
- [**Enrich and route inbound leads with You.com and Groq** 19 steps · calls a model · Notion, Slack](https://millionrounds.com/workflow/enrich-and-route-inbound-leads-with-you-com-and-groq)
- [**Automate multi-step onboarding emails from Notion leads** 19 steps · Gmail, Notion](https://millionrounds.com/workflow/automate-multi-step-onboarding-emails-from-notion-leads)
- [**Score LinkedIn ICP leads and draft outreach with Claude** 19 steps · Google Sheets, Notion](https://millionrounds.com/workflow/score-linkedin-icp-leads-and-draft-outreach-with-claude)
- [**AI-powered Google Maps business lead scraper for Notion CRM** 18 steps · calls a model · Notion](https://millionrounds.com/workflow/ai-powered-google-maps-business-lead-scraper-for-notion-crm)
- [**This AI-powered workflow finds HOT LinkedIn leads in SECONDS** 20 steps · calls a model · Airtable, Gmail](https://millionrounds.com/workflow/this-ai-powered-workflow-finds-hot-linkedin-leads-in-seconds)
