Templates / Deep Research - Sales Lead Magnet Agent

Deep Research - Sales Lead Magnet Agent

Needs changes

by Max Mitcham ✓ · 31,012 views · created 2025-06-06 · Content Creation, AI RAG

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 21 nodes and runs when a chat message arrives. Along the way it connects Google Docs, HTTP Request, Anthropic Chat Model and Google Drive and 1 more. It also calls chatbase.co over HTTP.

How it runs

Trigger: When a chat message arrives.

  1. Query Builder (AI Agent): runs an AI agent, with model: OpenRouter Chat Model; 2 tools (Perplexity tool, Trigify knowledge hub); output parser: Structured Output Parser
  2. Research Leader (AI Agent): runs an AI agent, with model: Anthropic Chat Model; 2 tools (Perplexity tool, Trigify knowledge hub)
  3. Project Planner (AI Agent): runs an AI agent, with model: OpenRouter Chat Model; 2 tools (Perplexity tool, Trigify knowledge hub); output parser: Structured Output Parser
  4. Split Out: splits a list into separate items
  5. Team of Research Assistants (AI Agent): runs an AI agent, with model: OpenRouter Chat Model; 2 tools (Perplexity tool, Trigify knowledge hub)
  6. Merge: merges the data from its input branches
  7. Code: runs custom JavaScript code
  8. Editor (AI Agent): runs an AI agent, with model: Anthropic Chat Model
  9. Google Docs: uses Google Docs
  10. Google Docs: update

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

Services it uses

Google DocsHTTP RequestAnthropic Chat ModelGoogle DriveOpenRouter Chat Model

HTTP calls to: chatbase.co

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 Query Builder (v1.7), Research Leader (v1.7), Project Planner (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 Trigify knowledge hub, Trigify knowledge hub2: 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)
Query Builder (v1.7), Research Leader (v1.7), Project Planner (v1.7), Team of Research Assistants (v1.7), Editor (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)
Trigify knowledge hub, Trigify knowledge hub2
HTTP Request node connected to the AI Agent's Tool input

Nodes used (13)

From the author

Want to check out all my flows, follow me on: https://maxmitcham.substack.com/ https://www.linkedin.com/in/max-mitcham/ This automation flow is designed to generate comprehensive, research-backed lead magnet articles based on a user-submitted topic, conduct…

Excerpt from Max Mitcham'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.