← All N8N workflows
Data & databasesAggregateCodeExecute WorkflowExecute Workflow TriggerFilter

Google Maps Email Scraper Template

Configured with Aggregate, Execute Workflow, Execute Workflow Trigger, Filter, and additional nodes. Review the connections and setup before adapting this template.

Workflow preview
TransformRemove Duplicate URLsRemove DuplicatesRoutingLoop over queriesLoop Over ItemsWeb / APISearch Google Maps withqueryHTTP RequestCodeScrape URLs fromresultsCodeRoutingFilter irrelevant URLsFilterWeb / APIRequest web page forURLHTTP RequestRoutingLoop over URLsLoop Over ItemsRoutingLoop over pagesLoop Over ItemsCodeScrape emails from pageCodeTransformAggregate arrays ofemailsAggregateTransformSplit out into defaultdata structureSplit OutTransformRemove duplicate emailsRemove DuplicatesRoutingFilter irrelevantemailsFilterData storeSave emails to GoogleSheetGoogle SheetsTriggerStarts scraper workflowExecute Workflow TriggerTriggerRun workflowManual TriggerWaitWait between executionsWaitSubworkflowExecute scraper forqueryExecute Workflow

Node categories in this workflow

  • Transform
  • Routing
  • Web / API
  • Code
  • Data store
  • Trigger
  • Wait
  • Subworkflow

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
Remove Duplicate URLsTransformRemove DuplicatesSee node parameters
Loop over queriesRoutingLoop Over ItemsSee node parameters
Search Google Maps with queryWeb / APIHTTP RequestSee node parameters
Scrape URLs from resultsCodeCodeSee node parameters
Filter irrelevant URLsRoutingFilterSee node parameters
Request web page for URLWeb / APIHTTP RequestSee node parameters
Loop over URLsRoutingLoop Over ItemsSee node parameters
Loop over pagesRoutingLoop Over ItemsSee node parameters
Scrape emails from pageCodeCodeSee node parameters
Aggregate arrays of emailsTransformAggregateSee node parameters
Split out into default data structureTransformSplit OutSee node parameters
Remove duplicate emailsTransformRemove DuplicatesSee node parameters
Filter irrelevant emailsRoutingFilterSee node parameters
Save emails to Google SheetData storeGoogle Sheetsappend
Starts scraper workflowTriggerExecute Workflow TriggerSee node parameters
Run workflowTriggerManual TriggerSee node parameters
Wait between executionsWaitWaitSee node parameters
Execute scraper for querySubworkflowExecute WorkflowSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

None declared. HTTP requests and Code nodes may still need configuration.

Workflow notes

🛠 Setup

🛠 Setup

  1. Setup your list of queries in the "Run workflow" manual trigger node. Watch this video on how to generate the queries with ChatGPT.
  2. Choose a sheet to populate with data in the Google Sheets node
  3. Run the workflow and start getting leads into your Google Sheets document
Sticky Note2

Optional 👇 Set wait time between each query workflow execution. Default is 2 seconds.

Scraper 👇

Scraper 👇

This workflow will be executed in the background for each query. Click the All executions tab in the left sidebar to see the executions running.

Sticky Note4

👆

  1. Setup your credentials. Here's a video tutorial on how to do that.

  2. Choose which document and sheet to save the scraped emails to.

Sticky Note5

⚠️ Note

A video tutorial for this workflow guide is available on my Youtube channel

Google Maps Automatic Email Scraper

Google Maps Automatic Email Scraper

This workflow automatically scrapes emails from businesses on Google Maps based on a list of queries that you provide.

Sticky Note7

Optional 👆 Add or change the regex for filtering irrelevant URLs.

Sticky Note8

Optional 👆 Add or change the regex for filtering irrelevant/incorrect email addresses.

Google Maps Email Scraper Template

Google Maps Email Scraper Template

Purpose and structure

This folder contains the Google Maps Email Scraper Template workflow. Its executable nodes use aggregate, code, executeWorkflow, executeWorkflowTrigger, filter, googleSheets, httpRequest, manualTrigger, removeDuplicates, splitInBatches, splitOut, wait. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

Starts scraper workflow, Run workflow

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Wait/0639_Wait_Splitout_Send_Webhook.json MIT; preserve source notices.

More in Data & databases