🎣 Generate business leads from Google Maps & Places API to Google Sheets

⚑ 1,583 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

Overview

This workflow automates the process of generating niche-specific business leads from Google Maps, leveraging the Google Places API and Google Sheets for seamless data collection and storage.

Who Is This For?

Main Use Cases

How It Works

  1. Collect Inputs via Form:
    Gather your business type (search term), target location, desired number of results, and Google Maps API key using a simple built-in form.
  2. Geocode Location:
    The workflow automatically converts your location input into geographic coordinates.
  3. Search Businesses:
    It utilizes the Google Places API to search for businesses that match your criteria within a 10-km radius of your location.
  4. Extract & Validate Data:
    For each business found, it extracts key contact details (name, address, phone, website, etc.), validates for essential info, and automatically appends valid leads into your connected Google Sheetβ€”ready for action.

Prerequisites

Setup Steps

  1. Connect your Google Sheets account inside n8n.
  2. Obtain a Google Maps API key (usually takes a few minutes from the Google Cloud Console).
  3. Configure the workflow:
    • Fill out the form inside the workflow with your business type, location, number of results, and your API key.
  4. Run the workflow and watch qualified leads flow into your Google Sheet in real-time.

Customization Options

Example Output

Each row in your sheet contains:

> Tip:
> For more details and advanced customizations, refer to the in-workflow sticky notes.

πŸ”— Nodes Used

Google Sheets, HTTP Request, n8n Form Trigger

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup