Templates / Collect local business leads from Google Maps with ScraperAPI and Google Sheets

Collect local business leads from Google Maps with ScraperAPI and Google Sheets

Unknown

by ScraperAPI ✓ · 97 views · created 2026-07-06 · Lead Generation

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What this workflow does

This workflow has 12 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Sheets and Scraperapi Official (community).

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Create Leads Spreadsheet (Google Sheets): create (spreadsheet)
  2. Configure (Edit Fields (Set)): sets 4 fields: query, countryCode, minRating…
  3. Read Existing Leads (Google Sheets): read
  4. Build Search Query (Code): runs custom JavaScript code
  5. Fetch Maps Metadata via ScraperAPI (Scraper Api): google maps search (sde)
  6. Extract Results URL (Code): runs custom JavaScript code
  7. Fetch Maps Results via ScraperAPI (Scraper Api): api request
  8. Extract Businesses (Code): runs custom JavaScript code
  9. Dedupe New Leads (Code): runs custom JavaScript code
  10. Append Leads to Sheet (Google Sheets): append

Services it uses

Google SheetsScraperapi Official (community)

Scraping pages by hand? Firecrawl is a simpler option (10% off for new users).

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that n8n-nodes-scraperapi-official is verified or supports 3.0 (used in Fetch Maps Metadata via ScraperAPI, Fetch Maps Results via ScraperAPI).

Nodes used (6)

From the author

Quick Overview This workflow collects local business leads from Google Maps using ScraperAPI and stores them in Google Sheets, letting you submit a niche and location via an n8n form and automatically deduplicate and append new businesses to your leads…

Excerpt from ScraperAPI'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.