Skip to main content

Enrich company data in Google Sheets with CompanyEnrich

Workflow preview

Workflow preview
100%
Enrich company data in Google Sheets with CompanyEnrich preview
Open on n8n.io

Important notice

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

1. Workflow Overview

This workflow automates enriching company profiles by taking a domain name from a Google Sheet, fetching firmographic data via the CompanyEnrich API, and updating the sheet with the results. Who is...

Best for

  • Lead Generation automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.googlesheets, n8n-nodes-base.filter, n8n-nodes-base.stickynote, n8n-nodes-base.splitinbatches, n8n-nodes-base.code, n8n-nodes-base.httprequest

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Enrich company data in Google Sheets with CompanyEnrich
Workflow name
Enrich company data in Google Sheets with CompanyEnrich

This workflow automates enriching company profiles by taking a domain name from a Google Sheet, fetching firmographic data via the CompanyEnrich API, and updating the sheet with the results.

Who is this for?

  • Sales Teams: To enrich lead lists with better data
  • Marketing Professionals: To segment potential accounts based on industry or location
  • Recruiters: To gather background information on target companies
  • Data Analysts: To rapidly clean and populate missing firmographic datasets

What it does

  1. The workflow pulls rows from a specified Google Sheet
  2. It checks a "Status" column to ensure it only processes rows that haven't been completed yet (skips rows marked "Done").
  3. Using the company Domain column, it queries the CompanyEnrich API
  4. A custom code node flattens the JSON response and automatically matches the API data to the columns currently existing in your Google Sheet
  5. It writes the enriched data back to the row and marks the status as "Done"

Requirements

  • A Google account with access to Sheets.
  • You will need an API key from CompanyEnrich.

How to set up

  1. Prepare your Google Sheet: Create a sheet with the following mandatory headers: Domain, Status, and Last Updated.
  2. Add Data Columns: Add headers for the data you want to fetch (e.g., revenue, employees, location_city_name, socials_linkedin_url).
  3. Configure Credentials: Connect your Google Sheets account in the "Get row(s)" and "Update row" nodes.
  4. Select the Sheet: Update the Document and Sheet Name in both Google Sheets nodes to point to your specific file.
  5. Add API Key: Open the "Fetch Company Data" node and replace the placeholder in the Authorization header with your actual API Key (format: Bearer YOUR_API_KEY).

How to customize

  • Fetch Specific Data: Because of the dynamic Javascript logic, you do not need to edit the workflow to get different data. Simply add a new column header to your Google Sheet that matches the API field name (e.g., adding a column named industries will automatically fetch and fill that data).
  • Adjust Throttling: If you have a large dataset, you may need to adjust the "SplitInBatches" node to process fewer items at once to avoid API rate limits.

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 - When clicking ‘Execute workflow’

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

Block 2 - Get row(s) in sheet

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

Block 3 - Filter

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 4 - Overview

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

Block 5 - Input Group

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

Block 6 - Enrich Group

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

Block 7 - Loop Over Items

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

Block 8 - Update row in sheet

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

Block 9 - Data Cleaning (JS)

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

Block 10 - Fetch Company Data

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

3. Summary Table

Workflow Enrich company data in Google Sheets with CompanyEnrich
Complexity intermediate
Nodes 10
Categories Lead Generation
Author CompanyEnrich
Published 23 Dec 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/12067/12067.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 Enrich company data in Google Sheets with CompanyEnrich do?

This workflow automates enriching company profiles by taking a domain name from a Google Sheet, fetching firmographic data via the CompanyEnrich API, and updating the sheet with the results. Who is...

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 use case.