Create SEO-Optimized Blog Articles with GPT-4o Mini's Multi-Stage Generation
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.
What this workflow does
This AI workflow has 13 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI Chat Model.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Input Topic Plans (Edit Fields (Set)): sets 4 fields: Topic, How many outline?, Language…
- Generate Outline (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
- Get Subtopic Array (For Looping) (Code): runs custom JavaScript code
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Aggregate: combines items into one
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; memory: Simple Memory
- JSON HTML (Code): runs custom JavaScript code
- Create New Array (Code): runs custom JavaScript code
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Check at runtime on n8n 3.0
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (9)
- Manual Trigger
n8n-nodes-base.manualTrigger - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - AI Agent
@n8n/n8n-nodes-langchain.agent - Aggregate
n8n-nodes-base.aggregate - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set
From the author
Overview This workflow converts a single topic into a full blog article through a structured multi-step process. Instead of generating everything in one pass, it breaks the task into clear stages to produce cleaner structure, better SEO consistency, and more…