Generate leads with Google Maps
Ready for 3.0What this workflow does
This workflow has 36 nodes and runs when another workflow calls it (plus 2 other triggers). Along the way it connects Google Sheets. It also calls places.googleapis.com over HTTP.
How it runs
Trigger: When another workflow calls it (plus 2 other triggers).
- Settings (Edit Fields (Set)): sets 3 fields: gs_url, catSheet, sheet
- GS - Get Zip Codes (Google Sheets): uses Google Sheets
- Zips (Edit Fields (Set)): sets 1 field: zip
- Filter: keeps only the items that match a condition
- Set Row Number (Edit Fields (Set)): sets 1 field: row_number
- Split Out: splits a list into separate items
- Limit: keeps the first few items
- Loop Zips (Loop Over Items (Split in Batches)): loops over the items in batches
- GS - Get Subcategory (Google Sheets): uses Google Sheets
- Filter: keeps only the items that match a condition
…plus 23 more steps. See the full node list below.
Services it uses
HTTP calls to: places.googleapis.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (15)
- Manual Trigger
n8n-nodes-base.manualTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - If
n8n-nodes-base.if - Stop and Error
n8n-nodes-base.stopAndError - HTTP Request
n8n-nodes-base.httpRequest - Google Sheets
n8n-nodes-base.googleSheets - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Remove Duplicates
n8n-nodes-base.removeDuplicates - Wait
n8n-nodes-base.wait - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Limit
n8n-nodes-base.limit - Filter
n8n-nodes-base.filter - Split Out
n8n-nodes-base.splitOut
From the author
This workflow leverages n8n to perform automated Google Maps API queries and manage data efficiently in Google Sheets. It's designed to extract specific location data based on a given list of ZIP codes and categories. --- Features - Queries the Google Maps…