Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

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

  1. Lead Search Form
  2. Prepare Search
  3. Start BasedOnBusiness Search
  4. Validate Search Status
  5. Search Finished?
  6. Wait for Results
  7. Check Search Status
  8. Fetch Leads
  9. Split Leads
  10. Qualified Companies
  11. Prepare Company Fields
  12. Loop Over Companies
  13. Find Company in HubSpot
  14. Already in CRM?

16 steps in total.

Similar automations