Automation library · Lead generation

Generate B2B leads from any city & business type with Jina.AI

Started by someone submitting a form, and works across Airtable and Slack. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 30 steps, 3 branches, 3 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAIRetrieval

30 stepsLarge: read it before trusting it with anything live
3Branches: places the flow splits
3Loops or waits
2Services it connects to

The flow

Starts it 1Model 7Logic 16Service 6

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

  1. 1Structured Output ParserOutput Parser StructuredModel
  2. 2Window Buffer MemoryMemory Buffer WindowModel
  3. 3Structured Output Parser1Output Parser StructuredModel
  4. 4Input FormForm triggerStarts it
  5. 5GPT-5-miniLm Chat Open AiModel
  6. 6GPT-5-mini1Lm Chat Open AiModel
  7. 7web_scraper_toolJina Ai ToolService
  8. 8Places Query AgentAgentModel
  9. 9Web Scraping AgentAgentModel
  10. 10FormFormService
  11. 11IfIfLogic
  12. 12MergeMergeLogic
  13. 13Places_API_KeySetLogic
  14. 14ErrorStop And ErrorLogic
  15. 15Google Places SearchHttp RequestService
  16. 16If1IfLogic
  17. 17Format InputSetLogic
  18. 18Split OutSplit OutLogic
  19. 19Create a recordAirtableService
  20. 20Wait 8 Sec1WaitLogic
  21. 21Loop Over ItemsSplit In BatchesLogic
  22. 22Wait 8 SecWaitLogic
  23. 23FilterFilterLogic
  24. 24Have URL and OPERATIONALIfLogic
  25. 25All RegistersSetLogic
  26. 26Convert to FileConvert To FileService
  27. 27Main InfoSetLogic
  28. 28Domain and SitemapCodeLogic
  29. 29Finish messageSlackService
  30. 30URLsSetLogic

How it's built

Starts on
Someone submitting a form
Steps
30, with 3 branches, 3 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Airtable, Slack
Model
OpenAI
Retrieval
Answers are drawn from documents you supply, not from the model alone

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 someone submitting a form.

Does it use AI?

Yes. It calls OpenAI. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 30 steps it is large: read it before trusting it with anything live.

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 30 steps before you point it at anything that matters.