# Research AI agent team with Perplexity: n8n workflow template

> Started by someone submitting a form. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/research-ai-agent-team-with-perplexity (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Research and reporting](https://millionrounds.com/workflows?category=Research+and+reporting#library)

# Research AI agent team with Perplexity

Started by someone submitting a form. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to OpenAI. 21 steps: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fresearch-ai-agent-team-with-perplexity)

**21 steps** Large: read it before trusting it with anything live

**0** Branches: places the flow splits

**0** Loops or waits

**0** Services by connector: it calls them over plain HTTP

## The flow

Starts it 2 Model 13 Logic 4 Service 2

The steps in the order they run, from what starts it.

- 1 **n8n Form Trigger** Form trigger *Starts it*
- 2 **Execute Workflow Trigger** Execute Workflow trigger *Starts it*
- 3 **Perplexity_tool** Tool Workflow *Model*
- 4 **Perplexity_tool1** Tool Workflow *Model*
- 5 **Structured Output Parser** Output Parser Structured *Model*
- 6 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 7 **OpenAI Chat Model1** Lm Chat Open Ai *Model*
- 8 **OpenAI Chat Model2** Lm Chat Open Ai *Model*
- 9 **OpenAI Chat Model3** Lm Chat Open Ai *Model*
- 10 **Perplexity_tool2** Tool Workflow *Model*
- 11 **Research Leader 🔬** Agent *Model*
- 12 **Perplexity API** Http Request *Service*
- 13 **Research Assistant** Agent *Model*
- 14 **Project Planner** Agent *Model*
- 15 **Editor** Agent *Model*
- 16 **Create title** Chain Llm *Model*
- 17 **Response** Set *Logic*
- 18 **Merge chapters title and text** Merge *Logic*
- 19 **Delegate to Research Assistants** Split Out *Logic*
- 20 **Ghost** Ghost *Service*
- 21 **Final article text** Code *Logic*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 21
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Nothing by connector; it calls services over plain HTTP
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone submitting a form.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 21 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 21 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fresearch-ai-agent-team-with-perplexity)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Workflows like it

Also research and reporting, with the same services where possible, closest in size first.

- [**Automate vendor due diligence research with Gemini and Jina AI** 21 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/automate-vendor-due-diligence-research-with-gemini-and-jina-)
- [**Automated book summarization with DeepSeek** 21 steps · calls a model · Google Drive, Qdrant](https://millionrounds.com/workflow/automated-book-summarization-with-deepseek)
- [**Generate branded PDF reports from incoming emails with Autype** 21 steps · calls a model · Email](https://millionrounds.com/workflow/generate-branded-pdf-reports-from-incoming-emails-with-autyp)
- [**Generate carbon emission reports with OpenAI and Slack** 21 steps · calls a model · Slack](https://millionrounds.com/workflow/generate-carbon-emission-reports-with-openai-and-slack)
- [**Generate comprehensive client brief reports with Llama** 21 steps · calls a model · Gmail, Google Docs](https://millionrounds.com/workflow/generate-comprehensive-client-brief-reports-with-llama)
- [**Orchestrate AI risk analysis and severity-based routing** 21 steps · calls a model](https://millionrounds.com/workflow/orchestrate-ai-risk-analysis-and-severity-based-routing)
