Templates / Scrape and analyze websites with custom prompts using Gemini, Apify, and LangChain

Scrape and analyze websites with custom prompts using Gemini, Apify, and LangChain

Ready for 3.0

by Msaid Mohamed el hadi ✓ · 2,483 views · created 2025-07-31 · Document Extraction, AI RAG

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 8 nodes and runs when another workflow calls it. Along the way it connects OpenRouter Chat Model. It also calls api.apify.com over HTTP.

How it runs

Trigger: When another workflow calls it.

  1. HTTP Request: calls api.apify.com (POST)
  2. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  3. Aggregate: combines items into one
  4. AI Agent: runs an AI agent, with model: OpenRouter Chat Model
  5. AI Agent: runs an AI agent, with model: OpenRouter Chat Model

Services it uses

OpenRouter Chat Model

HTTP calls to: api.apify.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

🔍 AI-Powered Website Prompt Executor (Apify + OpenRouter) This workflow combines the power of Apify and OpenRouter to scrape website content and execute any custom prompt using AI. You define what you want — whether it’s extracting contact details,…

Excerpt from Msaid Mohamed el hadi'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.