Open deep research - AI-powered autonomous research workflow
Needs changesNeeds 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.
- Generate Search Queries using LLM (Basic LLM Chain): sends a prompt to an LLM, with model: LLM Response Provider (OpenRouter)
- Parse and Chunk JSON Data (Code): runs custom JavaScript code
- Split Data for SerpAPI Batching (Loop Over Items (Split in Batches)): loops over the items in batches
- Format SerpAPI Organic Results (Code): runs custom JavaScript code
- Perform SerpAPI Search Request (HTTP Request): calls serpapi.com
- Split Data for Jina AI Batching (Loop Over Items (Split in Batches)): loops over the items in batches
- Extract Relevant Context via LLM (AI Agent): runs an AI agent, with model: LLM Response Provider (OpenRouter); memory: LLM Memory Buffer (Input Context)
- Perform Jina AI Analysis Request (HTTP Request): calls an HTTP API
- 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
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.0 | Replace 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)
- Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Wikipedia
@n8n/n8n-nodes-langchain.toolWikipedia
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…