Automation library · Lead generation

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.

MediumCalls a model: OpenRouter

19 stepsMedium: a working afternoon
2Branches: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 2Model 4Logic 7Service 6

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

  1. 1Webhook2WebhookStarts it
  2. 2GPT-3.5 (Cheap Model)4Lm Chat Open RouterModel
  3. 3GPT-3.5 (Cheap Model)5Lm Chat Open RouterModel
  4. 4Notion Trigger2Notion triggerStarts it
  5. 5Fetch Call Results2Http RequestService
  6. 6Generate AI Summary2AgentModel
  7. 7Generate Business Analysis3AgentModel
  8. 8Get New Leads from Notion2NotionService
  9. 9Extract Call Fields2CodeLogic
  10. 10Format Final Summary2CodeLogic
  11. 11Update Notion with Analysis2NotionService
  12. 12Is Test Lead?2IfLogic
  13. 13Need AI Summary?2IfLogic
  14. 14Update Call Results in Notion2NotionService
  15. 15Make Real Vapi Call2Http RequestService
  16. 16Mock Website Content2CodeLogic
  17. 17Fetch Real Website2Http RequestService
  18. 18Use Existing Summary2CodeLogic
  19. 19Clean HTML Content2CodeLogic

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.