Generate B2B leads from any city & business type using GMaps, Jina.ai & GPT-5
Needs changesWhat this workflow does
This AI workflow has 30 nodes and runs when someone submits an n8n form. Along the way it connects OpenAI Chat Model, Jina AI, Airtable and Slack.
How it runs
Trigger: When someone submits an n8n form.
- Form (n8n Form): shows the next form page
- Places_API_Key (Edit Fields (Set)): sets or maps fields
- Format Input (Edit Fields (Set)): sets or maps fields
- Places Query Agent (AI Agent): runs an AI agent, with model: GPT-5-mini; output parser: Structured Output Parser
- If: checks a condition and branches into true / false
- Error (Stop and Error): stops the run with an error
- Google Places Search (HTTP Request): calls an HTTP API
- Split Out: splits a list into separate items
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Filter: keeps only the items that match a condition
…plus 13 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Web Scraping Agent (v1.7), Places Query Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Web Scraping Agent (v1.7), Places Query Agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (20)
- Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - If
n8n-nodes-base.if - Split Out
n8n-nodes-base.splitOut - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge - Convert to File
n8n-nodes-base.convertToFile - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Filter
n8n-nodes-base.filter - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - AI Agent
@n8n/n8n-nodes-langchain.agent - Code
n8n-nodes-base.code - n8n Form Trigger
n8n-nodes-base.formTrigger - HTTP Request
n8n-nodes-base.httpRequest - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - n8n Form
n8n-nodes-base.form - Jina Ai Tool
n8n-nodes-base.jinaAiTool - Airtable
n8n-nodes-base.airtable - Slack
n8n-nodes-base.slack - Wait
n8n-nodes-base.wait - Stop and Error
n8n-nodes-base.stopAndError
From the author
B2B Leads Gen - ANY (CITY / BUSINESS) IN THE WORLD 🤖 Generate B2B sales leads from Google Maps, enrich data (email) with AI Agent + Jina.ai and save to Airtable. This workflow generates comprehensive B2B leads, from a selected Business type in ANY CITY IN…