AI news research team: 24/7 newsletter automation with citations with Perplexity
Needs changesWhat this workflow does
This AI workflow has 31 nodes and runs on a schedule (every day) (plus 1 other trigger). Along the way it connects OpenAI Chat Model, Gmail and Google Sheets.
How it runs
Trigger: On a schedule (every day) (plus 1 other trigger).
- News to Monitor (Google Sheets): uses Google Sheets
- Perplexity API (HTTP Request): calls an HTTP API
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Response (Edit Fields (Set)): sets or maps fields
- Settings (Edit Fields (Set)): sets or maps fields
- Switch: routes items into branches
- News Reporter (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (Perplexity_tool)
- Research Leader 🔬 (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (Perplexity_tool)
- Markdown: converts between Markdown and HTML
- Project Planner (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
…plus 9 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in News Reporter (v1.6), Research Leader 🔬 (v1.6), Research Assistant (v1.6)…: replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) News Reporter (v1.6), Research Leader 🔬 (v1.6), Research Assistant (v1.6), Project Planner (v1.6), Editor (v1.6) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (17)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Markdown
n8n-nodes-base.markdown - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - AI Agent
@n8n/n8n-nodes-langchain.agent - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Call n8n Workflow Tool
@n8n/n8n-nodes-langchain.toolWorkflow - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Split Out
n8n-nodes-base.splitOut - Gmail
n8n-nodes-base.gmail - Switch
n8n-nodes-base.switch - Google Sheets
n8n-nodes-base.googleSheets - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches
From the author
Purpose of workflow: This AI-powered workflow automatically generates detailed, well-researched newsletters by monitoring and analyzing specified news topics (like Bitcoin, Nvidia, etc.). It uses a team of AI research agents to gather, analyze, and compile…