Skip to main content

Generate local business leads with Google Places API & website email scraping

Workflow preview

Workflow preview
100%
Generate local business leads with Google Places API & website email scraping preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Purpose & Audience This workflow automates the process of finding and collecting contact information for local businesses in any city or region. Built entirely with free tier APIs, it eliminates th...

Best for

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

Tools used

n8n-nodes-base.formtrigger, n8n-nodes-base.set, n8n-nodes-base.splitout, n8n-nodes-base.code, n8n-nodes-base.wait, n8n-nodes-base.httprequest, n8n-nodes-base.if, n8n-nodes-base.converttofile

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Generate local business leads with Google Places API & website email scraping
Workflow name
Generate local business leads with Google Places API & website email scraping

Purpose & Audience

This workflow automates the process of finding and collecting contact information for local businesses in any city or region. Built entirely with free-tier APIs, it eliminates the need for expensive scraping services while delivering professional-quality lead generation results. Perfect for agencies, freelancers, sales teams, and entrepreneurs who need to build targeted prospect lists without breaking the bank or dealing with complex scraping tools.

What It Does

This comprehensive automation workflow:

  1. Searches Google Places for businesses by type and location (restaurants, gyms, salons, etc.)
  2. Retrieves up to 60 businesses per city using built-in pagination across 3 pages
  3. Extracts complete business details: name, address, phone, website, rating, and description
  4. Scrapes business websites to find email addresses automatically
  5. Handles edge cases gracefully: businesses without websites, failed scrapes, or missing data
  6. Batches API requests with intelligent rate limiting to respect Google's quotas
  7. Makes clean CSV files available for download with all collected data ready for outreach
  8. (Optional) Sends results/csv via email automatically when scraping completes

Who Is It For?

Ideal Users:

  • Marketing Agencies building prospect lists for local business campaigns
  • Sales Teams targeting specific industries in multiple cities
  • Freelancers offering services to local businesses (web design, SEO, consulting)
  • Entrepreneurs researching competitors or potential partners
  • Recruiters finding company contact information
  • Event Organizers building vendor or sponsor lists

Use Cases:

  1. Build email lists for cold outreach campaigns
  2. Research local market competitors
  3. Find potential clients in specific industries
  4. Gather vendor contact information
  5. Create business directories
  6. Market research and analysis

Expected Results

Per Search: 60 businesses maximum (with pagination) 70-85% will have websites 40-60% websites will contain email addresses Processing time: ~5-10 minutes per city/search

Monthly Capacity/Quota (Free Tier):

  • Places API: 150 requests per day ( = ~5,000 per month) to stay within the free tier
  • Places API (New): 300 autocomplete requests per day ( = ~10,000 per month), 300 GetPlace requests per day ( = ~10,000 per month)

Key Features:

✅ Form-based input for easy use (no coding required) ✅ Pagination support for maximum results (60 per search) ✅ Smart email extraction with false-positive filtering ✅ Fallback handling for businesses without websites ✅ Rate limiting to stay within free API tiers (see the Quota for awareness) ✅ Batch processing for efficient execution ✅ CSV export for immediate use in CRMs

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 - Form Trigger

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2

Block 2 - Parse Form Data

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

Block 3 - Create Search Combinations

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

Block 4 - Split Into Searches

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

Block 5 - Extract Place Info

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - Wait (Rate Limit)

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

Block 7 - Get Business Details

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

Block 8 - Merge Details

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

Block 9 - Has Website?

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

Block 10 - Extract Emails & Clean

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - No Website Fallback

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

Block 12 - Convert to CSV

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

Block 13 - Google Places Search1

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

Block 14 - Scrape Website1

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

Block 15 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 16 - Final Data

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

Block 17 - Loop Over Items

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

Block 18 - Loop Over Items1

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

Block 19 - Wait

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

Block 20 - Sticky Note

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

Block 21 - Sticky Note1

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

Block 22 - Sticky Note2

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

Block 23 - Sticky Note3

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

Block 24 - Sticky Note4

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

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

3. Summary Table

Workflow Generate local business leads with Google Places API & website email scraping
Complexity advanced
Nodes 26
Categories Lead Generation
Author Malik Hashir
Published 29 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11360/11360.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 Generate local business leads with Google Places API & website email scraping do?

Purpose & Audience This workflow automates the process of finding and collecting contact information for local businesses in any city or region. Built entirely with free tier APIs, it eliminates th...

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.