Sales & Estimation
Google Maps Leads | Sheets -> Maps -> Sheets
This n8n workflow scrapes Google Maps leads. It reads zip codes and categories from Google Sheets, queries the Google Places API for businesses, then writes the extracted lead details (name, address, phone, website, rating) to another Google Sheet. It includes reliable retry…
Built · ~5 hours saved per week
Google Maps Lead Generation Automator
Workflow Overview
This workflow automates the process of generating business leads by systematically searching Google Maps. It reads search criteria (zip codes and business categories) from a Google Sheet, queries the Google Maps API for matching businesses, and then saves the detailed lead information back into a different Google Sheet. It is designed to be reliable, handling potential API rate limits with an intelligent retry mechanism.
Key Technologies
- n8n: The core automation platform coordinating the entire process. - Google Sheets: Used as both the data source for search queries (zip codes, categories) and the destination database for the collected leads. - Google Maps Platform API: The central API used to search for and retrieve business information.
What it Automates
The workflow automates a highly manual and time-consuming lead generation task. Instead of a person manually typing search queries like "Plumbers in 90210" into Google Maps and copy-pasting the results into a spreadsheet, this workflow does it automatically for thousands of combinations. It automates:
1. Reading search parameters from a spreadsheet. 2. Looping through every zip code and business category combination. 3. Querying the Google Maps API for each combination. 4. Parsing the complex API results. 5. Deduplicating the leads found. 6. Writing structured lead data (name, phone, website, address, etc.) into a master lead list in Google Sheets. 7. Tracking progress by marking completed searches to avoid redundant work.
---
Extensive Node-by-Node Analysis
This workflow is logically structured with a series of nested loops to process search queries, followed by data handling and reliable error management.
H3: 1. Initialization and Configuration
- When clicking "Execute Workflow" (Manual Trigger): The primary way to start the workflow manually. - Settings (Set Node): This node acts as a central configuration hub. It hardcodes the URLs and sheet names for the input (zip codes, categories) and output (results) Google Sheets. This makes it easy to manage sheet locations without editing multiple nodes.
H3: 2.
Tags: CRM, Web Scraping, Clients/Customers/Leads, Admin, Data Transformation, Google
Integrations: Code, Google Sheets, HTTP, Schedule