Research AI Agent Team with auto citations using OpenRouter and Perplexity

Nodes

767a4dc9-a96d-4faf-8994-3ca7563046762e3e39e3-0e17-4fae-9ac5-9ee31f9711ed9c37fa7f-8da8-447f-886c-c8b0d3c3533c23d73c53-5371-4660-a090-aca7aa15bdf9+6

Created by

DeDerek Cheung

Last edited 10 days ago

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>

New to n8n?

Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!