Templates / Run a multi-agent research and publishing pipeline with GPT-4o, Tavily and Notion

Run a multi-agent research and publishing pipeline with GPT-4o, Tavily and Notion

Needs changes

by Mychel Garzon ✓ · 193 views · created 2026-06-27 · Content Creation, AI Chatbot

Needs changes. This template uses 2 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes), HTTP Request Tool (legacy). 2 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 37 nodes and runs when someone submits an n8n form (“Multi-Agent Research Pipeline”) (plus 1 other trigger). Along the way it connects HTTP Request, Notion and OpenAI Chat Model. It also calls api.tavily.com over HTTP.

How it runs

Trigger: When someone submits an n8n form (“Multi-Agent Research Pipeline”) (plus 1 other trigger).

  1. Initialize State Variables (Code): runs custom JavaScript code
  2. Create Error Log (Code): runs custom JavaScript code
  3. Resolve Tavily Configuration (Code): runs custom JavaScript code
  4. Log to Notion on Error (Notion): uses Notion
  5. Researcher Agent (AI Agent): runs an AI agent, with model: OpenAI GPT-4 Agent; 1 tool (Perform Tavily Search)
  6. Verify Research Output (Code): runs custom JavaScript code
  7. Writer Agent (AI Agent): runs an AI agent, with model: OpenAI GPT-4 Agent
  8. Verify Draft Content (Code): runs custom JavaScript code
  9. Break on Writer Review (Code): runs custom JavaScript code
  10. Route for Circuit Breaker Status (If): checks a condition and branches into true / false

…plus 20 more steps. See the full node list below.

Services it uses

HTTP RequestNotionOpenAI Chat Model

HTTP calls to: api.tavily.com

Before you upgrade to n8n 3.0

2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:

  • AI Agent v1 (old agent modes) in Researcher Agent (v1.7), Writer Agent (v1.7), Reviewer Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
  • HTTP Request Tool (legacy) in Perform Tavily Search: replace with HTTP Request node connected to the AI Agent's Tool input.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Researcher Agent (v1.7), Writer Agent (v1.7), Reviewer Agent (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
HTTP Request Tool (legacy)
Perform Tavily Search
HTTP Request node connected to the AI Agent's Tool input

Nodes used (14)

From the author

Quick overview Three specialized AI agents: Researcher, Writer, and Reviewer, collaborate autonomously to research a topic, draft content, and quality-check it through a self-correcting review loop with a circuit breaker. Approved content is published…

Excerpt from Mychel Garzon's description on n8n.io.

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.