Skip to main content

Scrape Web Data with Bright Data, Google Gemini and MCP Automated AI Agent

Workflow preview

Workflow preview
100%
Scrape Web Data with Bright Data, Google Gemini and MCP Automated AI Agent 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 is fo...

Best for

  • Market Research automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.agent, n8n-nodes-base.manualtrigger, n8n-nodes-mcp.mcpclient, n8n-nodes-base.stickynote, n8n-nodes-mcp.mcpclienttool, n8n-nodes-base.httprequest, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.lmchatgooglegemini

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
Scrape Web Data with Bright Data, Google Gemini and MCP Automated AI Agent
Workflow name
Scrape Web Data with Bright Data, Google Gemini and MCP Automated AI Agent

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 Scrape Web Data with Bright Data and MCP Automated AI Agent workflow is built for professionals who need to automate large-scale, intelligent data extraction by utilizing the Bright Data MCP Server and Google Gemini.

This solution is ideal for:

  1. Data Analysts - Who require structured, enriched datasets for analysis and reporting.

  2. Marketing Researchers - Seeking fresh market intelligence from dynamic web sources.

  3. Product Managers - Who want competitive product and feature insights from various websites.

  4. AI Developers - Aiming to feed web data into downstream machine learning models.

  5. Growth Hackers - Looking for high-quality data to fuel campaigns, research, or strategic targeting.

What problem is this workflow solving?

Manually scraping websites, cleaning raw HTML data, and generating useful insights from it can be slow, error-prone, and non-scalable.

This workflow solves these problems by:

  1. Automating complex web data extraction through Bright Data’s MCP Server.

  2. Reducing the human effort needed for cleaning, parsing, and analyzing unstructured web content.

  3. Allowing seamless integration into further automation processes.

What this workflow does?

This n8n workflow performs the following steps:

  1. Trigger: Start manually.

  2. Input URL(s): Specify the URL to perform the web scrapping.

  3. Web Scraping (Bright Data): Use Bright Data’s MCP Server tools to accomplish the web data scrapping with markdown and html format.

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

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. Create a Web Unlocker proxy zone called mcp_unlocker on Bright Data control panel.
  5. Navigate to Proxies & Scraping and create a new Web Unlocker zone by selecting Web Unlocker API under Scraping Solutions.
  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. 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 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.8

Block 2 - When clicking ‘Test workflow’

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

Block 3 - MCP Client list all tools for Bright Data

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

Block 4 - Sticky Note1

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

Block 5 - MCP Client List all tools

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

Block 6 - MCP Client Bright Data Web Scraper

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

Block 7 - Webhook for web scraper

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

Block 8 - Set the URLs

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

Block 9 - MCP Client to Scrape as Markdown

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

Block 10 - MCP Client to Scrape as HTML

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

Block 11 - Google Gemini Chat Model for AI Agent

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

Block 12 - Sticky Note

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

Block 13 - Simple Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 14 - Webhook for Web Scraper AI Agent

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

Block 15 - Set the URL with the Webhook URL and data format

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

Block 16 - Create a binary data

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

Block 17 - Write the scraped content to disk

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

Block 18 - Sticky Note2

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

Block 19 - Sticky Note3

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

3. Summary Table

Workflow Scrape Web Data with Bright Data, Google Gemini and MCP Automated AI Agent
Complexity advanced
Nodes 19
Categories Market Research, 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/3778/3778.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 Scrape Web Data with Bright Data, Google Gemini and MCP Automated AI Agent 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 is fo...

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 Market Research, AI Summarization use case.