Generate research-backed blog articles from news with OpenAI, Tavily and Google Docs
Needs changesWhat this workflow does
This AI workflow has 24 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI, OpenAI Chat Model, Google Docs and Tavily (community).
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Extract (Tavily): uses Tavily
- Code: runs custom JavaScript code
- AI Agent: runs an AI agent, with model: OpenAI Chat Model
- Code: runs custom JavaScript code
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Table of Contents (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (tavily tool)
- Create the Sections (OpenAI): uses OpenAI
- Split Out: splits a list into separate items
- Generate the Content (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (tavily tool)
- Merge: merges the data from its input branches
…plus 7 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Docs templates (143) · Other OpenAI + Tavily templates (46) · Other Tavily + Google Docs templates (3)
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 Table of Contents (v1.7), Generate the Content (v1.7), Content Editor (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Table of Contents (v1.7), Generate the Content (v1.7), Content Editor (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (12)
- AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI
@n8n/n8n-nodes-langchain.openAi - Split Out
n8n-nodes-base.splitOut - Merge
n8n-nodes-base.merge - Aggregate
n8n-nodes-base.aggregate - Call n8n Workflow Tool
@n8n/n8n-nodes-langchain.toolWorkflow - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Manual Trigger
n8n-nodes-base.manualTrigger - Google Docs
n8n-nodes-base.googleDocs - Tavily
@tavily/n8n-nodes-tavily.tavily - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Code
n8n-nodes-base.code
From the author
How it works This workflow automatically generates full-length, research-backed blog articles from online news sources. It collects headlines from selected URLs, extracts topic ideas, creates an outline, writes well-structured sections with citations,…