Templates / Open deep research - AI-powered autonomous research workflow

Open deep research - AI-powered autonomous research workflow

Needs changes

by Leonard ✓ · 38,847 views · created 2025-02-11 · Market Research, AI RAG

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 when a chat message arrives. Along the way it connects OpenRouter Chat Model and Wikipedia. It also calls serpapi.com over HTTP.

How it runs

Trigger: When a chat message arrives.

  1. Generate Search Queries using LLM (Basic LLM Chain): sends a prompt to an LLM, with model: LLM Response Provider (OpenRouter)
  2. Parse and Chunk JSON Data (Code): runs custom JavaScript code
  3. Split Data for SerpAPI Batching (Loop Over Items (Split in Batches)): loops over the items in batches
  4. Format SerpAPI Organic Results (Code): runs custom JavaScript code
  5. Perform SerpAPI Search Request (HTTP Request): calls serpapi.com
  6. Split Data for Jina AI Batching (Loop Over Items (Split in Batches)): loops over the items in batches
  7. Extract Relevant Context via LLM (AI Agent): runs an AI agent, with model: LLM Response Provider (OpenRouter); memory: LLM Memory Buffer (Input Context)
  8. Perform Jina AI Analysis Request (HTTP Request): calls an HTTP API
  9. Generate Comprehensive Research Report (AI Agent): runs an AI agent, with model: LLM Response Provider (OpenRouter); 1 tool (Fetch Wikipedia Information); memory: LLM Memory Buffer (Report Context)

Services it uses

OpenRouter Chat ModelWikipedia

HTTP calls to: serpapi.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 Extract Relevant Context via LLM (v1.7), Generate Comprehensive Research Report (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Extract Relevant Context via LLM (v1.7), Generate Comprehensive Research Report (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (9)

From the author

Open Deep Research - AI-Powered Autonomous Research Workflow Description This workflow automates deep research by leveraging AI-driven search queries, web scraping, content analysis, and structured reporting. It enables autonomous research with iterative…

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