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

⚡ 78 views · 🎣 Lead Generation & Enrichment

💡 Pro Tip — HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it — it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

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 THE WORLD, including:

More information can be added!

It starts by searching for a specific business type in any city you define. First, it uses an AI agent to build an optimized query for the Official Google Places (GMaps) API. After finding businesses and their basic details, it employs a second, specialized AI web scraping agent to visit each company’s website and find a contact email. Finally, all enriched lead data is neatly organized and saved to an Airtable base.

🤔 Who’s it for

This workflow is designed for:

⚙️ How it works

This workflow automates the entire lead generation process from start to finish:

  1. Trigger with a Form: The workflow starts when you fill out a simple form, providing the Country, City, and Business Type you want to target.
  2. AI-Powered Search Query: An AI agent validates your input and constructs an optimized search query for the Google Places API to ensure the best possible results.
  3. Find Businesses on Google Maps: Using the generated query, the workflow makes an HTTP request to the Google Places API, fetching up to 20 businesses that match your criteria.
  4. Filter for Quality Leads: It processes the results and filters out any businesses that are not listed as “OPERATIONAL” or do not have a website, ensuring you only get relevant leads.
  5. AI Email Enrichment: For each valid business, a specialized web scraping AI agent (using Jina AI) visits the company’s website. It intelligently navigates the site, following links like /contact or /about, to find a contact email address.
  6. Save to Airtable: Once a business’s information is enriched with an email, the workflow saves the complete lead as a new record in your specified Airtable base.

🚀 How to set up

Follow these steps to get your automated lead generation engine up and running.

1. Create your Airtable Base

First, create a new Airtable base with a table to store your leads. The workflow is configured to map data to the following fields. It’s recommended to use these exact names and types for a seamless setup.

Field NameField TypeDescription
Company_nameSingle line textThe name of the business.
Company_websiteURLThe business’s website URL.
Company_e-mailEmailThe contact email found by the AI scraper.
Company_addressLong textThe full physical address of the business.
Company_phonePhone numberThe business’s international phone number.
Primary_typeSingle line textThe primary business category from Google Maps.
Google_maps_locationURLA direct link to the business on Google Maps.
processedSingle selectA status field, set to “no” by default.
create_dateDate ISO (24h)Automatically records when the lead was added.
Language_codeSingle line textThe language code of the business name (e.g., en).

2. Configure the Workflow

  1. Add Credentials:
    • Airtable: Add your Airtable Personal Access Token in Credentials > New > Airtable.
    • OpenAI: Add your OpenAI API key in Credentials > New > OpenAI.
    • Jina AI: Add your Jina AI API key in Credentials > New > Jina AI.
  2. Set API Keys and Airtable Info:
    • In the workflow, find the Places_API_Key node (a Set node) and paste your Google Places API key into the Value field for the google_places_api variable.
    • Select the Create a record node (Airtable).
    • In the parameters, select your Airtable credential.
    • For the Base and Table parameters, select the base and table you created in the previous step.
  3. Activate and Launch: Save and activate the workflow. To run it, click “Execute Workflow” and use the form trigger that appears.

âś… Requirements

🎨 How to customize the workflow

🙋 Need Help?

Need a Professional and Personalized automation

Contact me DevQuick

If you have any questions or get stuck, feel free to ask for help in our community.

Join the Discord or ask in the Forum

đź”— Nodes Used

Airtable, HTTP Request, Slack, Stop and Error, Filter, AI Agent

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup