Skip to main content

Automate company data enrichment with HubSpot, Sona & Google Sheets

Workflow preview

Workflow preview
100%
Automate company data enrichment with HubSpot, Sona & Google Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Automatically enrich company records with comprehensive firmographic data by pulling domains from Google Sheets, setting up custom HubSpot fields, enriching through Sona API, and syncing complete p...

Best for

  • Lead Generation automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.httprequest, n8n-nodes-base.googlesheets, n8n-nodes-base.manualtrigger, n8n-nodes-base.hubspot, n8n-nodes-base.set, n8n-nodes-base.splitout, n8n-nodes-base.noop

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Sona Labs.

Original n8n.io source

1.1 Workflow description

Title
Automate company data enrichment with HubSpot, Sona & Google Sheets
Workflow name
Automate company data enrichment with HubSpot, Sona & Google Sheets

Automatically enrich company records with comprehensive firmographic data by pulling domains from Google Sheets, setting up custom HubSpot fields, enriching through Sona API, and syncing complete profiles to HubSpot CRM with custom property mapping.

Import company domains from a Google Sheet, configure custom HubSpot fields for Sona data, automatically enrich domains with detailed firmographic intelligence, and create fully populated company records in HubSpot—so you can build rich prospect databases without manual research.

How it works

Step 1: Get Company List

  • Reads company domains from your Google Sheet
  • Aggregates all domains into a single array
  • Prepares data for batch processing

Step 2: Setup HubSpot Fields

  • Creates custom Sona fields in HubSpot CRM
  • Defines all enrichment data fields needed
  • Ensures proper field mapping for incoming data

Step 3: Prepare for Processing

  • Converts aggregated domains into individual items
  • Sets data for batch loop processing
  • Readies each company for enrichment

Step 4: Enrich & Sync to HubSpot

  • Loops through each company domain
  • Calls Sona API for enrichment data
  • Creates company in HubSpot with standard fields
  • Formats and updates custom Sona properties
  • Combines firmographics + tech data in one profile
  • Includes 2-second wait between operations for rate limiting

What you'll get

The workflow enriches each company record with:

  • Firmographic Data: Company size, employee count, revenue estimates, headquarters location, and founding year
  • Contact Information: Phone numbers, social media profiles, and timezone details
  • Business Intelligence: Company descriptions and industry positioning
  • Custom HubSpot Properties: All Sona data mapped to dedicated custom fields
  • Organized CRM Records: All data automatically synced to HubSpot for immediate use
  • Domain Tracking: Companies linked to their websites for future reference

Why use this

  • Eliminate manual research: Save 10-15 minutes per company by automating firmographic lookups
  • Build rich databases: Transform basic domain lists into comprehensive company profiles
  • Custom field management: Automatically creates and populates HubSpot custom properties
  • Improve targeting: Segment and prioritize accounts based on size, location, and other firmographics
  • Keep data current: Run scheduled enrichments to maintain up-to-date company information
  • Scale your prospecting: Process hundreds of companies in minutes instead of days
  • Better lead qualification: Make informed decisions with complete company intelligence
  • Streamlined workflow: One-click enrichment from spreadsheet to CRM with custom field setup

Setup instructions

Before you start, you'll need:

  1. Google Sheets with a column named website_Domain containing company domains (e.g., example.com)
  2. HubSpot Account & App Token - Get an app token by creating a legacy app:
    • Go to HubSpot Settings → Integrations → Legacy Apps
    • Click Create Legacy App
    • Select Private (for one account)
    • In the scopes section, enable the following permissions:
      • crm.schemas.companies.write
      • crm.objects.companies.write
      • crm.schemas.companies.read
      • crm.objects.companies.read
    • Click Create
    • Copy the access token from the Auth tab
  3. Sona API Key (for company enrichment)

Configuration steps:

  1. Prepare your data: Create a Google Sheet with a "website_Domain" column and add 2-3 test companies (e.g., example.com, anthropic.com)
  2. Connect Google Sheets: In the "Get Company List from Sheet" node, authenticate with Google and select your spreadsheet and sheet name
  3. Configure HubSpot field creation: In the "Create Custom HubSpot Fields" node (Step 2), authenticate with your HubSpot access token and review the custom Sona fields that will be created
  4. Add Sona credentials: In the "Sona Enrich" node, authenticate with your Sona API key
  5. Connect HubSpot for company creation: In the "Create HubSpot Company" and "Update Company with AI Data" nodes, authenticate using your HubSpot access token
  6. Test with sample data: Run the workflow with 2-3 test companies and verify:
    • Custom fields are created in HubSpot
    • Company records appear correctly in HubSpot
    • All firmographic data is populated in custom properties
  7. Add error handling: Configure notifications for failed enrichments or API errors (optional but recommended)
  8. Scale and automate: Process your full company list, then optionally add a Schedule Trigger for automatic daily or weekly enrichment to keep your CRM data fresh

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Sona Enrich

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 6 - Get Company List from Sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 7 - Start

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 8 - Create HubSpot Company

Type / Role
n8n-nodes-base.hubspot - hubspot
Config choices
Version 2.1

Block 9 - Create Custom HubSpot Fields

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 10 - Prepare Data for Loop

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 11 - Split Companies and AI Output into Items

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 12 - End

Type / Role
n8n-nodes-base.noOp - noOp
Config choices
Version 1

Block 13 - Loop Through Companies

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 14 - Format Custom Properties

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 15 - Update Company with AI Data

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 16 - Aggregate

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 17 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Wait 2 seconds

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

3. Summary Table

Workflow Automate company data enrichment with HubSpot, Sona & Google Sheets
Complexity advanced
Nodes 18
Categories Lead Generation, AI Summarization
Author Sona Labs
Published 26 Dec 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/12188/12188.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automate company data enrichment with HubSpot, Sona & Google Sheets do?

Automatically enrich company records with comprehensive firmographic data by pulling domains from Google Sheets, setting up custom HubSpot fields, enriching through Sona API, and syncing complete p...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Generation, AI Summarization use case.