Create Dev.to articles with OpenAI/Gemini - AI-generated content with images
Ready for 3.0What this workflow does
This AI workflow has 22 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects OpenAI Chat Model, Google Gemini, OpenAI and Google Sheets. It also calls dev.to over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Set input data/credintenials (Edit Fields (Set)): sets 3 fields: Post Idea, cloudinary account name, dev.to api key
- Get data form sheet (Google Sheets): uses Google Sheets
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
- Limit: keeps the first few items
- Split Out: splits a list into separate items
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Aggregate: combines items into one
- Set Input Image (Edit Fields (Set)): sets 3 fields: title, prompt, style
- Article wrtiter (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Structured Output Parser
- Generate an image (Google Gemini): work with image
…plus 4 more steps. See the full node list below.
Services it uses
HTTP calls to: dev.to
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.
Nodes used (15)
- Manual Trigger
n8n-nodes-base.manualTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Split Out
n8n-nodes-base.splitOut - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Aggregate
n8n-nodes-base.aggregate - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - OpenAI
@n8n/n8n-nodes-langchain.openAi - Google Sheets
n8n-nodes-base.googleSheets - Limit
n8n-nodes-base.limit - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
AI Blog Publisher Workflow for Dev.to Turn a simple idea into a complete blog article with images, ready to publish — fully automated. How It Works This workflow takes a single input (your article idea) and transforms it into a polished blog post without…