Scrape B2B leads from Google Maps to Google Sheets with HasData
UnknownWhat this workflow does
This workflow has 17 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets and Hasdata (community).
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Create Leads Sheet (Google Sheets): create
- Read Configurations (Google Sheets): uses Google Sheets
- Initialize Search Tasks (Code): runs custom JavaScript code
- Search in Google Maps (Has Data): work with google maps
- Split Local Results (Split Out): splits a list into separate items
- Deduplicate Local Results (Remove Duplicates): removes duplicate items
- Check Website Availability (If): checks a condition and branches into true / false
- Scrape Website Data (Has Data): work with web scraping
- Merge: merges the data from its input branches
- Check for Emails (If): checks a condition and branches into true / false
…plus 6 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @hasdata/n8n-nodes-hasdata is verified or supports 3.0 (used in Search in Google Maps, Scrape Website Data, Find Emails Via Google).
Nodes used (9)
- Manual Trigger
n8n-nodes-base.manualTrigger - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - Has Data
@hasdata/n8n-nodes-hasdata.hasData - Split Out
n8n-nodes-base.splitOut - Remove Duplicates
n8n-nodes-base.removeDuplicates - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge
From the author
This n8n template shows how to build a complete B2B lead generation pipeline that scrapes Google Maps for businesses and enriches them with emails from their websites or Google search. Use cases: Find local businesses with contact info for cold email…