Skip to main content

Create Dev.to articles with OpenAI/Gemini - AI-generated content with images

Workflow preview

Workflow preview
100%
Create Dev.to articles with OpenAI/Gemini - AI-generated content with images preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 ...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.splitout, n8n-nodes-base.splitinbatches, n8n-nodes-base.httprequest, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.outputparserstructured

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by LukaszB.

Original n8n.io source

1.1 Workflow description

Title
Create Dev.to articles with OpenAI/Gemini - AI-generated content with images
Workflow name
Create Dev.to articles with OpenAI/Gemini - AI-generated content with images

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 manual effort.
It begins with a topic, entered directly in the Set node. For more automation, you can connect it to Google Sheets, a webhook, or even a chatbot that collects ideas from you or your team.

From there, the workflow does all the heavy lifting:

  • The AI creates a structured plan for the article, including outline, section goals, and image suggestions.
  • Image prompts are generated and sent to Gemini (or ChatGPT), which returns high-quality visuals that match the content. These are uploaded to your Cloudinary account so they’re instantly available online.
  • The article is written in clean Markdown by AI, weaving text and images together in a natural way.
  • Finally, the post is automatically published as a draft on Dev.to (or another platform of your choice, such as Medium, WordPress, or Ghost).

Instead of dealing with multiple tools or outsourcing to a copywriter, this workflow handles the entire pipeline — from idea to draft — in one seamless process.

Setup Steps

Getting started takes only a few minutes:

  1. Connect your OpenAI account for the AI writer and planner.
  2. Add your Dev.to API key so the workflow can publish drafts.
  3. Provide your Cloudinary account name and set up an unsigned upload preset for hosting images.
  4. (Optional) Add your Gemini API key, or switch to ChatGPT for image generation.
  5. Enter your first idea into the Set input data/credentials node, then run the workflow manually, on a schedule (Cron), or automatically via Google Sheets or a webhook.

Once configured, the workflow runs on autopilot — generating, illustrating, and publishing content without your input.

What You Get

Think of it as having a 24/7 content team working in the background.

  • Complete blog articles, written in a professional and natural tone.
  • Images that fit directly into the text, giving your content visual appeal.
  • Ready-to-publish drafts delivered straight to Dev.to (or your chosen platform).
  • A modular workflow that you can easily extend — whether you want new inputs (e.g. Slack, chat), new outputs (e.g. Medium, WordPress), or new AI models.

This isn’t just a template. It’s a fully operational content engine you can plug into your business.

Results You Can Expect

Publishing consistently online builds trust, visibility, and authority. With this workflow, you’ll:

  • Maintain a strong presence with regular articles — even when you’re not writing.
  • Increase conversions by showing up more often in searches and recommendations.
  • Build credibility by consistently sharing insights and solutions in your niche.
  • Save money and time, replacing the need for a copywriter with scalable AI-driven automation.

Who This Is For

  • Developers who want to showcase projects without spending hours writing.
  • Marketers looking to scale content strategies without hiring writers.
  • Agencies and SaaS teams who need regular publishing for SEO and community presence.
  • Solopreneurs who want their personal brand to grow online while they focus on building their product.

With this workflow, your blog becomes fully automated. All you need is an idea — the system takes care of everything else.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking ‘Execute workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 3 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 4 - Split Out

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 5 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 6 - Post image Cloudinary2

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - Set Input Image

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 8 - Set Output Image

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 9 - Post article on dev.to

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 10 - Structured Output Parser1

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 11 - OpenAI Chat Model4

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 12 - Aggregate

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 13 - Article wrtiter

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 14 - Generate an image1

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1

Block 15 - OpenAI Chat Model2

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 16 - OpenAI Chat Model1

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 17 - Structured Output Parser2

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 18 - Set input data/credintenials

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 19 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Showing the first 24 of 30 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Create Dev.to articles with OpenAI/Gemini - AI-generated content with images
Complexity advanced
Nodes 30
Categories Content Creation, Multimodal AI
Author LukaszB
Published 19 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7574/7574.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Create Dev.to articles with OpenAI/Gemini - AI-generated content with images do?

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 ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.