Automation library · Research and reporting

Generate multi-agent research reports with Tavily and Groq

Started by an event in a connected app, and works across Notion and Supabase vectors. It puts Groq, OpenAI and one other behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 22 steps: large, and worth reading before you trust it with anything live.

LargeCalls a model: Groq, OpenAIRetrieval

22 stepsLarge: read it before trusting it with anything live
0Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 1Model 10Logic 7Service 4

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

  1. 1Start ResearchManual triggerStarts it
  2. 2Groq Chat ModelLm Chat GroqModel
  3. 3Summarizer LLM1Lm Chat GroqModel
  4. 4OpenAi Analyst LLM1Lm Chat Open RouterModel
  5. 5Embeddings OpenAI1Embeddings Open AiModel
  6. 6Recursive Character Text Splitter1Text Splitter Recursive Character Text SplitterModel
  7. 7Set Research Topic1SetLogic
  8. 8Synthesis Agent1AgentModel
  9. 9Summarizer Sub-Agent1AgentModel
  10. 10Analyst Sub-Agent1AgentModel
  11. 11Supabase Vector Store1Vector Store SupabaseModel
  12. 12Default Data Loader1Document Default Data LoaderModel
  13. 13Parse Orchestrator Tasks1CodeLogic
  14. 14Final Report Output1SetLogic
  15. 15Code in JavaScriptCodeLogic
  16. 16Combine Agent Outputs1MergeLogic
  17. 17Web Search Query Http RequestService
  18. 18Web Search Query 4Http RequestService
  19. 19Web Search Query 5Http RequestService
  20. 20Save Report to Notion1NotionService
  21. 21Merge Search Results1MergeLogic
  22. 22Aggregate Research Context1CodeLogic

How it's built

Starts on
An event in a connected app
Steps
22
Size
Large: read it before trusting it with anything live
Connects to
Notion, Supabase vectors
Model
Groq, OpenAI, OpenRouter
Retrieval
Answers are drawn from documents you supply, not from the model alone

Questions

What does it need to run?

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

What starts it?

It starts on an event in a connected app.

Does it use AI?

Yes. It calls Groq, OpenAI and OpenRouter. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 22 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 22 steps before you point it at anything that matters.