Automation library · Research and reporting

Generate multi-agent AI research reports with OpenAI

Started by another system calling it. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to OpenAI. 24 steps, 3 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

24 stepsLarge: read it before trusting it with anything live
0Branches: places the flow splits
3Loops or waits
0Services by connector: it calls them over plain HTTP

The flow

Starts it 3Model 10Logic 9Service 2

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

  1. 1Webhook - Research Topic IntakeWebhookStarts it
  2. 2Schedule - Weekly Research TriggerSchedule triggerStarts it
  3. 3OpenAI Model - Agent ALm Chat Open AiModel
  4. 4OpenAI Model - Agent BLm Chat Open AiModel
  5. 5OpenAI Model - Agent CLm Chat Open AiModel
  6. 6OpenAI Model - Critique AgentLm Chat Open AiModel
  7. 7OpenAI Model - Synthesis AgentLm Chat Open AiModel
  8. 8Prepare Research ContextSetLogic
  9. 9Agent A - Factual ResearchAgentModel
  10. 10Agent B - Trends ResearchAgentModel
  11. 11Agent C - Critical ResearchAgentModel
  12. 12Critique Agent - Cross ValidateAgentModel
  13. 13Synthesis Agent - Generate Final ReportAgentModel
  14. 14Python - Validate & Decompose TopicCodeLogic
  15. 15JS - Aggregate Agent OutputsCodeLogic
  16. 16Python - Score & Rank FindingsCodeLogic
  17. 17JS - Format Final ReportCodeLogic
  18. 18Filter Valid Research TopicsFilterLogic
  19. 19Wait 1 - Agent Sync BufferWaitLogic
  20. 20Wait 2 - Critique Integration BufferWaitLogic
  21. 21Wait 3 - Final Review BufferWaitLogic
  22. 22Webhook Response - Deliver ReportRespond To WebhookStarts it
  23. 23Update Google Sheet Research LogHttp RequestService
  24. 24Email Report to RequesterHttp RequestService

How it's built

Starts on
Another system calling it
Steps
24, 3 loops or waits
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 another system calling it.

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 24 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 24 steps before you point it at anything that matters.