Skip to main content

Extract, Transform LinkedIn Data with Bright Data MCP Server & Google Gemini

Workflow preview

Workflow preview
100%
Extract, Transform LinkedIn Data with Bright Data MCP Server & Google Gemini preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Disclaimer This template is only available on n8n self hosted as it's making use of the community node for MCP Client. Who this...

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.stickynote, n8n-nodes-base.set, n8n-nodes-mcp.mcpclient, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.informationextractor, @n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.code

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Extract, Transform LinkedIn Data with Bright Data MCP Server & Google Gemini
Workflow name
Extract, Transform LinkedIn Data with Bright Data MCP Server & Google Gemini

Disclaimer

This template is only available on n8n self-hosted as it's making use of the community node for MCP Client.

Who this is for?

The Extract, Transform LinkedIn Data with Bright Data MCP Server & Google Gemini workflow is an automated solution that scrapes LinkedIn content via Bright Data MCP Server then transforms the response using a Gemini LLM. The final output is sent via webhook notification and also persisted on disk.

This workflow is tailored for:​

  1. Data Analysts : Who require structured LinkedIn datasets for analytics and reporting.

  2. Marketing and Sales Teams : Looking to enrich lead databases, track company updates, and identify market trends.

  3. Recruiters and Talent Acquisition Specialists : Who want to automate candidate sourcing and company research.

  4. AI Developers : Integrating real-time professional data into intelligent applications.

  5. Business Intelligence Teams : Needing current and comprehensive LinkedIn data to drive strategic decisions.

What problem is this workflow solving?

Gathering structured and meaningful information from the web is traditionally slow, manual, and error-prone.

This workflow solves:

  1. Reliable web scraping using Bright Data MCP Server LinkedIn tools.

  2. LinkedIn person and company web scrapping with AI Agents setup with the Bright Data MCP Server tools.

  3. Data extraction and transformation with Google Gemini LLM.

  4. Persists the LinkedIn person and company info to disk.

  5. Performs a Webhook notification with the LinkedIn person and company info.

What this workflow does?

This n8n workflow performs the following steps:

  1. Trigger: Start manually.

  2. Input URL(s): Specify the LinkedIn person and company URL.

  3. Web Scraping (Bright Data): Use Bright Data's MCP Server, LinkedIn tools for the person and company data extract.

  4. Data Transformation & Aggregation: Uses the Google LLM for handling the data transformation.

  5. Store / Output: Save results into disk and also performs a Webhook notification.

Pre-conditions

  1. Knowledge of Model Context Protocol (MCP) is highly essential. Please read this blog post - model-context-protocol
  2. You need to have the Bright Data account and do the necessary setup as mentioned in the Setup section below.
  3. You need to have the Google Gemini API Key. Visit Google AI Studio
  4. You need to install the Bright Data MCP Server @brightdata/mcp
  5. You need to install the n8n-nodes-mcp

Setup

  1. Please make sure to setup n8n locally with MCP Servers by navigating to n8n-nodes-mcp
  2. Please make sure to install the Bright Data MCP Server @brightdata/mcp on your local machine.
  3. Sign up at Bright Data.
  4. Navigate to Proxies & Scraping and create a new Web Unlocker zone by selecting Web Unlocker API under Scraping Solutions.
  5. Create a Web Unlocker proxy zone called mcp_unlocker on Bright Data control panel.
  6. In n8n, configure the Google Gemini(PaLM) Api account with the Google Gemini API key (or access through Vertex AI or proxy).
  7. In n8n, configure the credentials to connect with MCP Client (STDIO) account with the Bright Data MCP Server as shown below. Make sure to copy the Bright Data API_TOKEN within the Environments textbox above as API_TOKEN=<your-token>.
  8. Update the LinkedIn URL person and company workflow.
  9. Update the Webhook HTTP Request node with the Webhook endpoint of your choice.
  10. Update the file name and path to persist on disk.

How to customize this workflow to your needs

  1. Different Inputs: Instead of static URLs, accept URLs dynamically via webhook or form submissions.

  2. Data Extraction: Modify the LinkedIn Data Extractor node with the suitable prompt to format the data as you wish.

  3. Outputs: Update the Webhook endpoints to send the response to Slack channels, Airtable, Notion, CRM systems, etc.

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 - Sticky Note1

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

Block 3 - Set the URLs

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

Block 4 - Bright Data MCP Client For LinkedIn Person

Type / Role
n8n-nodes-mcp.mcpClient - mcpClient
Config choices
Version 1

Block 5 - Sticky Note

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

Block 6 - List all tools for Bright Data

Type / Role
n8n-nodes-mcp.mcpClient - mcpClient
Config choices
Version 1

Block 7 - Bright Data MCP Client For LinkedIn Company

Type / Role
n8n-nodes-mcp.mcpClient - mcpClient
Config choices
Version 1

Block 8 - Set the LinkedIn Company URL

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

Block 9 - Webhook for LinkedIn Company Web Scraper

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

Block 10 - LinkedIn Data Extractor

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

Block 11 - Google Gemini Chat Model

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

Block 12 - List all available tools for Bright Data

Type / Role
n8n-nodes-mcp.mcpClient - mcpClient
Config choices
Version 1

Block 13 - Code

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

Block 14 - Merge

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

Block 15 - Aggregate

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

Block 16 - Create a binary data for LinkedIn person info extract

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

Block 17 - Write the LinkedIn person info to disk

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

Block 18 - Create a binary data for LinkedIn company info extract

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

Block 19 - Write the LinkedIn company info to disk

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

Block 20 - Webhook for LinkedIn Person Web Scraper

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

3. Summary Table

Workflow Extract, Transform LinkedIn Data with Bright Data MCP Server & Google Gemini
Complexity advanced
Nodes 20
Categories Lead Generation, AI Summarization
Author Ranjan Dailata
Published 28 Apr 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3777/3777.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 Extract, Transform LinkedIn Data with Bright Data MCP Server & Google Gemini do?

Disclaimer This template is only available on n8n self hosted as it's making use of the community node for MCP Client. Who this...

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.