Skip to main content

Enrich Company Data from LinkedIn via Bright Data & Google Sheets

Workflow preview

Workflow preview
100%
Enrich Company Data from LinkedIn via Bright Data & 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

This n8n workflow automates the enrichment of a company list by discovering and extracting each company’s official LinkedIn URL using Bright Data’s search capabilities and Google Gemini AI for HTML...

Best for

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

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.splitinbatches, @n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.if, n8n-nodes-base.merge, n8n-nodes-base.set, 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 Gleb D.

Original n8n.io source

1.1 Workflow description

Title
Enrich Company Data from LinkedIn via Bright Data & Google Sheets
Workflow name
Enrich Company Data from LinkedIn via Bright Data & Google Sheets

This n8n workflow automates the enrichment of a company list by discovering and extracting each company’s official LinkedIn URL using Bright Data’s search capabilities and Google Gemini AI for HTML parsing and result interpretation.

Who is this template for?

This workflow is ideal for sales, business development, and data research professionals who need to collect official LinkedIn company profiles for multiple organizations, starting from a list of company names in Google Sheets. It’s especially useful for teams who want to automate sourcing LinkedIn URLs, enrich their prospect database, or validate company data at scale.

How it works

Manual Trigger: The workflow is started manually (useful for controlled batch runs and testing). Read Company Names: Company names are loaded from a specified Google Sheets table. Loop Over Each Company: Each company is processed one-by-one:

  • A custom Google Search URL is generated for each name.
  • A Bright Data Web Unlocker request is sent to fetch Google search results for “site:linkedin.com [company name]”.
  • Parse LinkedIn Profile URL Using AI: Google Gemini (or your specified LLM) analyzes the fetched search page and extracts the most likely official LinkedIn company profile.

Result Handling:

  • If a profile is found, it’s stored in the results.
  • If not, an empty result is created, but you can add custom logic (notifications, retries, etc.).

Batch Data Enrichment: All found company URLs are bundled into a single request for further enrichment from a Bright Data dataset. Export: The workflow appends the final, structured data for each company to another sheet in your Google Sheets file.

Setup instructions

1. Replace API Keys: Insert your Bright Data API key in these nodes:

  • Bright Data Web Request - Google Search for Company LinkedIn URL
  • HTTP Request - Post API call to Bright Data
  • Snapshot Progress
  • HTTP Request - Getting data from Bright Data

2. Connect Google Sheets: Set up your Google Sheets credentials and specify the sheet for reading input and writing output.

3. Customize Output Structure: Adjust the Python code node (see sticky note in the template) if you want to include additional or fewer fields in your output.

4. Adjust for Scale or Error Handling:

  • You can modify the logic for “not found” results (e.g., to notify a Slack channel or retry failed companies).

5. Run the Workflow: Start manually, monitor the run, and check your Google Sheet for results.

Customization guidance

Change Input/Output Sheets: Update the sheet names or columns if your source/target spreadsheet has a different structure.

Use Another AI Model: Replace the Google Gemini node with another LLM node if preferred.

Integrate Alerts: Add Slack or email nodes to notify your team when a LinkedIn profile is not found or when the process is complete.

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 ‘Test workflow’

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

Block 2 - Loop Over Items

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

Block 3 - Google Gemini Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 4 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.2

Block 5 - LinkedIn Profile is Found?

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

Block 6 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 7 - Add Unique Result

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

Block 8 - Snapshot Progress

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

Block 9 - HTTP Request- Post API call to Bright Data

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

Block 10 - Wait - Polling Bright Data

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

Block 11 - HTTP Request - Getting data from Bright Data

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

Block 12 - Checking status of Snapshot - if data is ready or not

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

Block 13 - Code - Parse and Organize JSON Data

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

Block 14 - Code - Prepare Request Body for Bright Data

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

Block 15 - Add Empty result

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

Block 16 - Sticky Note

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

Block 17 - Extract Body from Response

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

Block 18 - Sticky Note1

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

Block 19 - Append Results to Google Sheets table

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

Block 20 - Read Company Names from Google Sheets table

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

Block 21 - Sticky Note2

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

Block 22 - Extract LinkedIn Url

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.6

Block 23 - Bright Data Web Request - Google Search for Company LinkedIn URL

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

Block 24 - Edit Company Search URL

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

Showing the first 24 of 26 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Enrich Company Data from LinkedIn via Bright Data & Google Sheets
Complexity advanced
Nodes 26
Categories Lead Generation, AI Summarization
Author Gleb D
Published 04 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4663/4663.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 from LinkedIn via Bright Data & Google Sheets do?

This n8n workflow automates the enrichment of a company list by discovering and extracting each company’s official LinkedIn URL using Bright Data’s search capabilities and Google Gemini AI for HTML...

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.