n8n Google Maps Local Lead Generation & Email Enrichment Workflow
Paste this 6-node workflow directly into n8n to discover local businesses by city & category (5 Credits/place · $0.28–$0.50/1K), crawl matched company domains for verified B2B emails & LinkedIn URLs (20 Credits · 0 if empty), and push qualified leads into HubSpot, Airtable, or Slack.
Importable n8n v1 Canvas Schema · Paste Directly (Cmd/Ctrl+V)
Ready-to-Import n8n Workflow JSON (6 Nodes)
{
"name": "PlacesData API — Google Maps Local Lead & Email Enrichment Pipeline",
"nodes": [
{
"parameters": {},
"id": "node-manual-trigger",
"name": "City & Category Trigger",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
220,
320
]
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "assign-query",
"name": "search_query",
"value": "HVAC contractors in Austin, TX",
"type": "string"
},
{
"id": "assign-region",
"name": "region",
"value": "us",
"type": "string"
},
{
"id": "assign-limit",
"name": "limit",
"value": 20,
"type": "number"
}
]
},
"options": {}
},
"id": "node-target-territory",
"name": "Set City & Category Parameters",
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
440,
320
]
},
{
"parameters": {
"method": "GET",
"url": "https://api.placesdataapi.com/v1/places/search",
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "q",
"value": "={{ $json.search_query }}"
},
{
"name": "region",
"value": "={{ $json.region }}"
},
{
"name": "limit",
"value": "={{ String($json.limit) }}"
}
]
},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "=Bearer {{ $env.PLACESDATA_API_KEY }}"
},
{
"name": "Accept",
"value": "application/json"
}
]
},
"options": {
"timeout": 20000
}
},
"id": "node-places-search",
"name": "HTTP Request: /v1/places/search (5 Credits/place)",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
680,
320
]
},
{
"parameters": {
"fieldToSplitOut": "data",
"options": {}
},
"id": "node-split-places",
"name": "Split Out Business Records",
"type": "n8n-nodes-base.splitOut",
"typeVersion": 1,
"position": [
920,
320
]
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": false,
"leftValue": "",
"typeValidation": "strict"
},
"conditions": [
{
"id": "cond-has-domain",
"leftValue": "={{ $json.domain || $json.website || '' }}",
"rightValue": "",
"operator": {
"type": "string",
"operation": "notEmpty",
"singleValue": true
}
}
],
"combinator": "and"
},
"options": {}
},
"id": "node-has-website",
"name": "Has Website Domain?",
"type": "n8n-nodes-base.if",
"typeVersion": 2,
"position": [
1140,
320
]
},
{
"parameters": {
"method": "GET",
"url": "https://api.placesdataapi.com/v1/leads/enrich",
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "domain",
"value": "={{ $json.domain || $json.website }}"
},
{
"name": "place_id",
"value": "={{ $json.place_id }}"
}
]
},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "=Bearer {{ $env.PLACESDATA_API_KEY }}"
},
{
"name": "Accept",
"value": "application/json"
}
]
},
"options": {
"timeout": 20000
}
},
"id": "node-leads-enrich",
"name": "HTTP Request: /v1/leads/enrich (0 Credits if Empty)",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
1380,
240
]
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "out-place-id",
"name": "place_id",
"value": "={{ $('Split Out Business Records').item.json.place_id }}",
"type": "string"
},
{
"id": "out-name",
"name": "business_name",
"value": "={{ $('Split Out Business Records').item.json.name }}",
"type": "string"
},
{
"id": "out-category",
"name": "primary_category",
"value": "={{ $('Split Out Business Records').item.json.primary_category || $('Split Out Business Records').item.json.category }}",
"type": "string"
},
{
"id": "out-phone",
"name": "phone_e164",
"value": "={{ $('Split Out Business Records').item.json.phone_e164 || $('Split Out Business Records').item.json.phone }}",
"type": "string"
},
{
"id": "out-website",
"name": "website",
"value": "={{ $('Split Out Business Records').item.json.website }}",
"type": "string"
},
{
"id": "out-rating",
"name": "rating",
"value": "={{ $('Split Out Business Records').item.json.rating }}",
"type": "number"
},
{
"id": "out-reviews",
"name": "review_count",
"value": "={{ $('Split Out Business Records').item.json.review_count || $('Split Out Business Records').item.json.reviews_count }}",
"type": "number"
},
{
"id": "out-email",
"name": "primary_email",
"value": "={{ ($json.data && $json.data.emails && $json.data.emails[0]) || '' }}",
"type": "string"
},
{
"id": "out-linkedin",
"name": "linkedin_url",
"value": "={{ ($json.data && $json.data.social_links && $json.data.social_links.linkedin) || '' }}",
"type": "string"
}
]
},
"options": {}
},
"id": "node-crm-payload",
"name": "Format Lead for CRM / Airtable / Slack",
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
1640,
320
]
}
],
"connections": {
"City & Category Trigger": {
"main": [
[
{
"node": "Set City & Category Parameters",
"type": "main",
"index": 0
}
]
]
},
"Set City & Category Parameters": {
"main": [
[
{
"node": "HTTP Request: /v1/places/search (5 Credits/place)",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request: /v1/places/search (5 Credits/place)": {
"main": [
[
{
"node": "Split Out Business Records",
"type": "main",
"index": 0
}
]
]
},
"Split Out Business Records": {
"main": [
[
{
"node": "Has Website Domain?",
"type": "main",
"index": 0
}
]
]
},
"Has Website Domain?": {
"main": [
[
{
"node": "HTTP Request: /v1/leads/enrich (0 Credits if Empty)",
"type": "main",
"index": 0
}
],
[
{
"node": "Format Lead for CRM / Airtable / Slack",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request: /v1/leads/enrich (0 Credits if Empty)": {
"main": [
[
{
"node": "Format Lead for CRM / Airtable / Slack",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
}
}3-Step Setup in n8n Cloud or Self-Hosted Docker
Paste Workflow JSON
Click Copy Workflow JSON above and press Cmd/Ctrl+V on your n8n canvas (or import the downloaded .json file).
Set PLACESDATA_API_KEY
Grab your instant pd_live_... key at /signup (3,000 Free Credits / $0.30, No Card Required) and set PLACESDATA_API_KEY or Header Auth.
Connect Your CRM / Slack
Attach Airtable, HubSpot, Pipedrive, Postgres, or Slack after node 6 to route leads with verified E.164 phones and emails automatically.
n8n Google Maps Workflow FAQ
How do I import this JSON workflow into n8n Cloud or self-hosted n8n?
Click 'Copy Workflow JSON' above, open any blank n8n canvas, and press Cmd+V (macOS) or Ctrl+V (Windows/Linux)—or click 'Import from File...' in the n8n top-right menu and select the downloaded placesdataapi-n8n-local-leads-workflow.json file. Then set your PLACESDATA_API_KEY environment variable (or paste Bearer pd_live_... in the HTTP Request header).
How many credits does a 20-lead n8n workflow execution consume?
Step 1 (/v1/places/search?limit=20) returns 20 businesses at 5 Credits/place = 100 Credits ($0.0028–$0.0050, or $0.0020 on Business). Step 2 (/v1/leads/enrich) runs only on businesses with a website domain and charges 20 Credits ONLY when emails or social links are found (0 Credits when empty). Your free 3,000-credit ($0.30) sign-up grant covers multiple end-to-end territory test runs.
Does this n8n pipeline require headless Chrome, Playwright, or residential proxies?
No. Both HTTP Request nodes communicate over standard HTTPS with https://api.placesdataapi.com, returning deterministic normalized JSON in milliseconds on warm cache and ~1–2s on live crawls.
How does n8n handle rate limits on parallel Split-In-Batches runs?
Every PlacesData API account starts with 60 RPM / 5 RPS plus a 13-request burst token bucket (up to 600 RPM / 15 RPS on Business). Any HTTP 429 response includes a standard Retry-After: 2 header so n8n's built-in 'Retry On Fail' setting backs off cleanly with zero lost items.