Templates / Research AI agent team with auto citations using OpenRouter and Perplexity

Research AI agent team with auto citations using OpenRouter and Perplexity

Needs changes

by Derek Cheung ✓ · 4,650 views · created 2024-12-05 · Content Creation, 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 to replace before upgrading

Removed in 3.0Replace 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)

GhostBasic LLM ChainCall n8n WorkflowAI AgentStructured Output ParserOpenAI Chat Model

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>

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.