Templates / Generate B2B leads from any city & business type using GMaps, Jina.ai & GPT-5

Generate B2B leads from any city & business type using GMaps, Jina.ai & GPT-5

Needs changes

by FabioInTech ✓ · 122 views · created 2025-09-09 · Lead Generation

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What 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.

  1. Form (n8n Form): shows the next form page
  2. Places_API_Key (Edit Fields (Set)): sets or maps fields
  3. Format Input (Edit Fields (Set)): sets or maps fields
  4. Places Query Agent (AI Agent): runs an AI agent, with model: GPT-5-mini; output parser: Structured Output Parser
  5. If: checks a condition and branches into true / false
  6. Error (Stop and Error): stops the run with an error
  7. Google Places Search (HTTP Request): calls an HTTP API
  8. Split Out: splits a list into separate items
  9. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  10. Filter: keeps only the items that match a condition

…plus 13 more steps. See the full node list below.

Services it uses

OpenAI Chat ModelJina AIAirtableSlack

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.0Replace 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)

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…

Excerpt from FabioInTech's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.