Skip to main content

Google Maps to Airtable lead scraper with GPT contact extraction from impressum

Workflow preview

Workflow preview
100%
Google Maps to Airtable lead scraper with GPT contact extraction from impressum preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

How it Works This workflow automates the process of discovering companies in different cities, extracting their contact data, and storing it in Airtable. 1. City Loop (Airtable → Google Maps API) R...

Best for

  • Lead Generation automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.splitout, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.set, n8n-nodes-base.splitinbatches, n8n-nodes-base.wait, n8n-nodes-base.html, n8n-nodes-base.executeworkflowtrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by SuS.

Original n8n.io source

1.1 Workflow description

Title
Google Maps to Airtable lead scraper with GPT contact extraction from impressum
Workflow name
Google Maps to Airtable lead scraper with GPT contact extraction from impressum

How it Works

This workflow automates the process of discovering companies in different cities, extracting their contact data, and storing it in Airtable.

  1. City Loop (Airtable → Google Maps API)

    • Reads a list of cities from Airtable.
    • Uses each city combined with a search term (e.g., SEO Agency, Berlin) to query Google Maps.
    • Marks processed cities as “checked” to allow safe restarts if interrupted.
  2. Business Discovery & Deduplication

    • Searches for businesses via Google Maps Text Search.
    • Checks Airtable to avoid scraping the same company multiple times.
    • Fetches detailed info for each business via Google Maps Place Details API.
  3. Impressum Extraction (Website → HTML Parsing)

    • Builds an Impressum page URL for each business.
    • Requests the HTML and cleans out ads, headers, footers, etc.
    • Extracts relevant contact info using an AI extractor (OpenAI node).
  4. Contact Information Extraction

    • Pulls out:
      • Decision Maker (Name + Position in one string, if available).
      • Email address (must be valid, containing @).
      • Phone number (international format if possible).
    • Filters out incomplete results (e.g., empty email).
  5. Database Storage

    • Writes company data back into Airtable:
      • Company name
      • Address
      • Website
      • Email
      • Phone number
      • Decision Maker (Name + Position)
      • Search term & city used

Setup Steps

1. Prerequisites

  • Google Maps API Key with access to:
    • Places API → Text Search + Place Details
  • Airtable base with at least two tables:
    • Cities (with columns: ID, City, Country, Status)
    • Companies (for scraped results)
  • OpenAI API key (for decision maker + contact extraction).

2. Authentication

  • Configure your Airtable API credentials in n8n.
  • Set up HTTP Query Auth with your Google Maps API key.
  • Add your OpenAI API key in the OpenAI Chat node.

3. Configuration

  • In the Airtable “Cities” table, list all cities you want to scrape.
  • Define your search term in the “Execute Workflow” node (e.g., SEO Agency).
  • Adjust the batch sizes and wait intervals if you want faster/slower scraping (Google API has strict rate limits).

4. Execution

  • Start manually or from another workflow.
  • The workflow will scrape all companies in each city step by step.
  • It can be safely stopped and resumed — cities already marked as processed will be skipped.

5. Results

  • Enriched company dataset stored in Airtable, ready for CRM import, lead generation, or further automation.

Tips & Notes

  • Always respect GDPR and local laws when handling scraped data.
  • The workflow is modular → you can swap Airtable with Google Sheets, Notion, or a database of your choice.
  • Add custom filters to limit results (e.g., only companies with websites).
  • Use sticky notes inside the workflow to understand each step (mandatory for template publishing).
  • Keep an eye on Google Places API costs — queries are billed after the free quota. If you are still within the first 2 months of the Google Cloud Developer free trial, you can benefit from free credits.

**

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Split Out

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 2 - search Place

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 3 - Place Details

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 5 - Edit Fields1

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 6 - Loop Over Items1

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 7 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 8 - HTML

Type / Role
n8n-nodes-base.html - html
Config choices
Version 1.2

Block 9 - Loop Over Items3

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 10 - Wait2

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 11 - When Executed by Another Workflow

Type / Role
n8n-nodes-base.executeWorkflowTrigger - executeWorkflowTrigger
Config choices
Version 1.1

Block 12 - When clicking ‘Execute workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 13 - Execute Workflow

Type / Role
n8n-nodes-base.executeWorkflow - executeWorkflow
Config choices
Version 1.2

Block 14 - Airtable1

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 15 - Airtable2

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 16 - Loop Over Items2

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 17 - Filter5

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 18 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - already scraped

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 20 - Array all Companies scraped

Type / Role
n8n-nodes-base.summarize - summarize
Config choices
Version 1.1

Block 21 - Searchword

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 22 - Places already scraped

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 23 - Get Impressum-URL

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 24 - Get Impressum HTML

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Showing the first 24 of 31 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Google Maps to Airtable lead scraper with GPT contact extraction from impressum
Complexity advanced
Nodes 31
Categories Lead Generation
Author SuS
Published 28 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8003/8003.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Google Maps to Airtable lead scraper with GPT contact extraction from impressum do?

How it Works This workflow automates the process of discovering companies in different cities, extracting their contact data, and storing it in Airtable. 1. City Loop (Airtable → Google Maps API) R...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Generation use case.