Templates / ✨ Vision-based AI agent scraper - with Google Sheets, ScrapingBee, and Gemini

✨ Vision-based AI agent scraper - with Google Sheets, ScrapingBee, and Gemini

Needs changes

by Dataki ✓ · 36,881 views · created 2024-11-21 · Market Research, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 14 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Gemini Chat Model and Google Sheets. It also calls app.scrapingbee.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Google Sheets: uses Google Sheets
  2. Set fields - from AI agent query (Edit Fields (Set)): sets 1 field: url
  3. Set fields (Edit Fields (Set)): sets 1 field: url
  4. ScrapingBee- Get page HTML (HTTP Request): calls app.scrapingbee.com
  5. ScrapingBee - Get page screenshot (HTTP Request): calls app.scrapingbee.com
  6. HTML to Markdown (Markdown): converts between Markdown and HTML
  7. Vision-based Scraping Agent (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; 1 tool (HTML-based Scraping Tool); output parser: Structured Output Parser
  8. Split Out: splits a list into separate items
  9. Google Sheets: append

Services it uses

Google Gemini Chat ModelGoogle Sheets

HTTP calls to: app.scrapingbee.com

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Vision-based Scraping Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Vision-based Scraping Agent (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (11)

From the author

Important Notes: Check Legal Regulations: This workflow involves scraping, so ensure you comply with the legal regulations in your country before getting started. Better safe than sorry! Workflow Description: 😮‍💨 Tired of struggling with XPath, CSS…

Excerpt from Dataki's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.