Research AI agent team with auto citations using OpenRouter and Perplexity
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 to replace before upgrading
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Research Leader 🔬 (v1.6), Research Assistant (v1.6), Project Planner (v1.7), Editor (v1.6) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (13)
- Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code - n8n Form Trigger
n8n-nodes-base.formTrigger - Ghost
n8n-nodes-base.ghost - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Edit Fields (Set)
n8n-nodes-base.set - Call n8n Workflow Tool
@n8n/n8n-nodes-langchain.toolWorkflow - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Split Out
n8n-nodes-base.splitOut - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
What it does
Purpose of workflow: This AI-powered workflow is designed to automatically generate comprehensive, well-researched articles on any given topic. It utilizes a team of AI agents to streamline the research and writing process, producing high-quality content with proper citations and credible sources. How it works Multi-agent team: 1. Research Leader: Plans and conducts initial research, creating a table of contents. 2. Project Planner: Breaks down the table of contents into manageable sections. 3. Research Assistants: Multiple agents that conduct in-depth research on assigned sections. 4. Editor: Compiles and refines the final article, ensuring coherence and proper citations. Key features: - Utilizes Perplexity AI for internet search and citation capabilities - Produces well-structured articles with proper citations - Customizable parameters (topic, tone, word count, number of sections) Step by step setup: 1. Get account from OpenRouter.ai to access Perplexity API 2. Set API key in the Perplexity API node 3. Credential key name : Authorization and key value Bearer <api-key value>