Create de-duplicated HubSpot companies from Google Maps with BasedOnBusiness
Ready for 3.0What this workflow does
This workflow has 16 nodes and runs when someone submits an n8n form (“Find local companies for HubSpot”). Along the way it connects HubSpot. It also calls basedonb.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Find local companies for HubSpot”).
- Prepare Search (Code): runs custom JavaScript code
- Start BasedOnBusiness Search (HTTP Request): calls basedonb.com (POST)
- Validate Search Status (Code): runs custom JavaScript code
- Search Finished? (If): checks a condition and branches into true / false
- Fetch Leads (HTTP Request): calls an HTTP API
- Wait: waits 15 seconds
- Split Leads (Split Out): splits a list into separate items
- Check Search Status (HTTP Request): calls an HTTP API
- Qualified Companies (Filter): keeps only the items that match a condition
- Prepare Company Fields (Code): runs custom JavaScript code
…plus 4 more steps. See the full node list below.
Services it uses
HTTP calls to: basedonb.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.
Nodes used (10)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Wait
n8n-nodes-base.wait - Split Out
n8n-nodes-base.splitOut - Filter
n8n-nodes-base.filter - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HubSpot
n8n-nodes-base.hubspot - No Operation, do nothing
n8n-nodes-base.noOp
From the author
Quick overview This workflow collects Google Maps business leads via BasedOnBusiness based on a form submission, filters for established companies with websites, and creates new HubSpot company records while skipping any domain that already exists in HubSpot…