Templates / Scrape any web page into structured JSON data with ScrapeNinja and AI

Scrape any web page into structured JSON data with ScrapeNinja and AI

Unknown

by Anthony ✓ · 81,614 views · created 2025-01-28 · Engineering, Multimodal AI

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 6 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Gemini Chat Model and CUSTOM (community).

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Scrape Ninja: uses Scrape Ninja
  2. Cleanup HTML (Scrape Ninja): cleanup html
  3. Generate JS eval code via LLM (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model
  4. Eval generated code to extract data (Scrape Ninja): extract custom

Services it uses

Google Gemini Chat ModelCUSTOM (community)

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that CUSTOM is verified or supports 3.0 (used in ScrapeNinja, Cleanup HTML, Eval generated code to extract data).

Nodes used (4)

From the author

Disclaimer: This template only works on self-hosted for now, as it uses a community node. Use Case Web scrapers often break due to web page layout changes. This workflow attempts to mitigate this problem by auto-generating web scraping data extractor code via…

Excerpt from Anthony'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.