Library / Lead Generation & Enrichment
Lead Generation & Enrichment
Create de-duplicated HubSpot companies from Google Maps results via BasedOnBusiness
Runs from a form to search Google Maps for businesses by category and city, keeps those with websites and reviews, de-duplicates by domain, and creates companies in HubSpot.
What it does
## Turn a Google Maps search into clean HubSpot companies ### Who is it for B2B sales teams and lead generation agencies who work out of HubSpot and want local company records they can call, without hand-copying them from Google Maps. ### How it works Fill in the form: business category, city, country and how many leads to collect. BasedOnBusiness searches current Google Maps business data. The workflow keeps only businesses that have a website and enough reviews to look established, reduces each website to a bare domain, and then walks the list one company at a time. For every company it asks HubSpot whether that domain already exists. Known companies are skipped; only new ones are created. That is the point of the template — run the same search next month and your CRM does not fill up with duplicates. Each new HubSpot company record gets the business name, domain, website, phone, street address, city, country, and a short description carrying the Google Maps category, rating and review count. ### Requirements - A BasedOnBusiness account and API key — https://www.basedonb.com/ - A HubSpot account. The free CRM is enough. - API reference and setup guide — https://www.basedonb.com/en/docs ### How to set up 1. Open Start BasedOnBusiness Search and add an *HTTP Bearer Auth* credential holding your API key, with the scrapes:read and scrapes:write scopes. The other two BasedOnBusiness nodes reuse it. 2. In HubSpot, go to *Settings → Integrations → Service Keys* and create a service key with the crm.objects.companies.read and crm.objects.companies.write scopes. In n8n, create a HubSpot App Token credential and paste the service key into it. Both HubSpot nodes use that one credential. 3. Click Test workflow and run a small search first. ### How to customize - Raise Minimum reviews to keep only established businesses, or drop it to 0 to take everything with a website. - Change Skip Existing to a HubSpot *Company → Update* node if you would rather refresh known records than leave them alone. - Add fields to Create Company in HubSpot from the Google Maps data, for example the rating as a custom property. ### Good to know A search costs BasedOnBusiness credits equal to the Number of leads you request, not the number of companies that survive the filter or get created in HubSpot. Businesses with no website are dropped here on purpose: the domain is what HubSpot deduplic
The steps
- Lead Search Form
- Prepare Search
- Start BasedOnBusiness Search
- Validate Search Status
- Search Finished?
- Wait for Results
- Check Search Status
- Fetch Leads
- Split Leads
- Qualified Companies
- Prepare Company Fields
- Loop Over Companies
- Find Company in HubSpot
- Already in CRM?
16 steps in total.
Similar automations
Lead Generation & EnrichmentGoogle Maps Lead Generation to Slack and HubSpot15 stepsAI Agents & AssistantsCreate HubSpot companies from chat messages with a DeepSeek AI agent9 stepsLead Generation & EnrichmentFind LinkedIn Companies and Add Them to Airtable CRM10 stepsLead Generation & EnrichmentExtract Emails from Google Maps Results by Keyword14 steps