Skip to main content

Scrape business emails from Google Maps to Google Sheets

Workflow preview

Workflow preview
100%
Scrape business emails from Google Maps to Google Sheets preview
Open on n8n.io

1. Workflow Overview

Quick overview This workflow takes a list of Google Maps search queries, extracts candidate business website URLs from the search results, visits each site, scrapes email addresses from the page co...

Best for

  • Automation automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.removeduplicates, n8n-nodes-base.splitinbatches, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.filter, n8n-nodes-base.aggregate, n8n-nodes-base.splitout, n8n-nodes-base.googlesheets

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Scrape business emails from Google Maps to Google Sheets
Workflow name
Scrape business emails from Google Maps to Google Sheets

Quick overview

This workflow takes a list of Google Maps search queries, extracts candidate business website URLs from the search results, visits each site, scrapes email addresses from the page content, and appends cleaned, deduplicated emails to Google Sheets fully automated, no manual research needed.

How it works

  1. A manual trigger fires with a pinned list of Google Maps search queries, each representing a location and business type combination.
  2. A query loop iterates through each query, launching a sub-workflow execution per query and applying a configurable wait between executions to reduce request bursts.
  3. The sub-workflow sends an HTTP GET to the Google Maps search results URL for that query and reads the raw HTML response.
  4. A code node extracts all URLs from the HTML using a regex pattern, after which a filter node removes known system domains such as Google, gstatic, schema.org, and Wix internals, and a deduplication node removes repeated URLs before visiting.
  5. A URL loop processes each candidate business website one at a time, fetching the page HTML and passing it into the email processing flow.
  6. A code node applies a regex to the fetched page content to extract email-shaped strings, excluding common image file extensions, and a loop-over-pages structure aggregates emails across all visited pages for a given query.
  7. The aggregated email array is split into one item per email, deduplicated, filtered to remove junk and system addresses, and appended to the configured Google Sheet.

Setup

  1. Add a Google Sheets OAuth credential and select the target spreadsheet and sheet tab in the Google Sheets append step.
  2. Update the list of input queries (the query field) used by the manual trigger to match the locations/industries you want to scrape.
  3. Adjust the wait duration between query executions if you need slower or faster pacing for Google Maps requests.

Requirements

  • Google Sheets account for storing and appending scraped email output
  • n8n instance with HTTP Request node access and the ability to execute sub-workflows

Customization

  • The query list in the manual trigger is the primary lever swap in any location, industry, or keyword combination you want to target. The filter node for irrelevant domains can be extended with additional regex patterns if you find recurring junk domains in your output. You can also modify the email regex in the Scrape emails from page code node if you want to apply stricter validation rules or capture emails in specific formats only.
  • If you want to scale beyond a manual run, replace the manual trigger with a scheduled trigger and read queries from a Google Sheet rather than using pinned data, which removes the need to redeploy the workflow for each new query list.

Additional info

Try It Out This n8n template is a lightweight, no-headless-browser solution for scraping business email addresses from Google Maps search results. You provide search queries and a Google Sheet destination, and the workflow handles URL extraction, site crawling, email parsing, deduplication, and output automatically.

It is best suited for targeted, low-volume scraping runs where you need a quick way to collect contact emails for a defined set of business categories and locations, without setting up a full scraping infrastructure.

Need help setting this up or want a version with AI-powered email validation and outreach sequencing built in? Visit https://patelravi.co.in/n8n_expert

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 - Remove Duplicate URLs

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

Block 2 - Loop over queries

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

Block 3 - Search Google Maps with query

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

Block 4 - Scrape URLs from results

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

Block 5 - Filter irrelevant URLs

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

Block 6 - Request web page for URL

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

Block 7 - Loop over URLs

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

Block 8 - Loop over pages

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

Block 9 - Scrape emails from page

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

Block 10 - Aggregate arrays of emails

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

Block 11 - Split out into default data structure

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

Block 12 - Remove duplicate emails

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

Block 13 - Filter irrelevant emails

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

Block 14 - Save emails to Google Sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 15 - Starts scraper workflow

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

Block 16 - Run workflow

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

Block 17 - Wait between executions

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

Block 18 - Execute scraper for query

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

Block 19 - Sticky Note

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

Block 20 - Sticky Note2

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

Block 21 - Sticky Note3

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

Block 22 - Sticky Note4

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

Block 23 - Sticky Note6

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

Block 24 - Sticky Note7

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 Scrape business emails from Google Maps to Google Sheets
Complexity advanced
Nodes 26
Categories Automation
Author Ravi Patel
Published 16 Jun 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16421/16421.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 Scrape business emails from Google Maps to Google Sheets do?

Quick overview This workflow takes a list of Google Maps search queries, extracts candidate business website URLs from the search results, visits each site, scrapes email addresses from the page co...

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 Automation use case.