Developer & DevOps

Web scraping using Google Gemini and AI

19 nodes 195 129 Automatic trigger
Download

Workflow Description

An advanced automation template combining an intelligent AI agent with Google Gemini to efficiently extract web data, storing results in files and managing context through dynamic memory buffers.

How it works

  1. 1.Activate manual trigger and submit target URL
  2. 2.Invoke AI agent to orchestrate extraction and processing workflows
  3. 3.Send requests via MCP Client to access web scraping tools
  4. 4.Process responses using Google Gemini language model
  5. 5.Save extracted data into organized files
  6. 6.Maintain historical context through memory buffer management

Use cases

  • Collect product data from e-commerce retail websites
  • Extract commodity prices and monitor continuous price changes
  • Automatically gather news articles and content feeds
  • Retrieve contact information from business directories

Requirements

  • Valid Google Gemini API key for language processing
  • Access to MCP interfaces for web service interactions
  • Write and read permissions on the file system
  • Stable and reliable internet connectivity

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

AI Agent Mcp Client Tool Gemini Memory Read Write File

Details

Trigger Automatic trigger
Nodes 19
Apps 6
Views 195
Downloads 129

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (19)

/

AI Agent

Agent

#1

When clicking ‘Test workflow’

Manual Trigger

#2

MCP Client list all tools for Bright Data

Mcp Client

#3

Sticky Note1

Sticky Note

#4

MCP Client List all tools

Mcp Client Tool

#5

MCP Client Bright Data Web Scraper

Mcp Client

#6

Webhook for web scraper

HTTP Request

#7

Set the URLs

Set

#8

MCP Client to Scrape as Markdown

Mcp Client Tool

#9

MCP Client to Scrape as HTML

Mcp Client Tool

#10

Google Gemini Chat Model for AI Agent

Gemini Model

#11

Sticky Note

Sticky Note

#12

Simple Memory

Memory Buffer Window

#13

Webhook for Web Scraper AI Agent

HTTP Request

#14

Set the URL with the Webhook URL and data format

Set

#15

Create a binary data

Function

#16

Write the scraped content to disk

Read Write File

#17

Sticky Note2

Sticky Note

#18

Sticky Note3

Sticky Note

#19