# Create Dev.to articles with OpenAI and Gemini: n8n workflow

> Started by a clock, and works across Google Sheets. It hands the judgement calls to Gemini and OpenAI.

Source: https://millionrounds.com/workflow/create-dev-to-articles-with-openai-and-gemini (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Content](https://millionrounds.com/workflows?category=Content#library)

# Create Dev.to articles with OpenAI and Gemini

Started by a clock, and works across Google Sheets. It hands the judgement calls to Gemini and OpenAI. 22 steps, 1 loop or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: Gemini, OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fcreate-dev-to-articles-with-openai-and-gemini)

**22 steps** Large: read it before trusting it with anything live

**0** Branches: places the flow splits

**1** Loop or waits

**1** Service it connects to

## The flow

Starts it 2 Model 10 Logic 7 Service 3

The steps in the order they run, from what starts it.

- 1 **When clicking ‘Execute workflow’** Manual trigger *Starts it*
- 2 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 3 **OpenAI Chat Model4** Lm Chat Open Ai *Model*
- 4 **OpenAI Chat Model2** Lm Chat Open Ai *Model*
- 5 **OpenAI Chat Model1** Lm Chat Open Ai *Model*
- 6 **Generate an image** Open Ai *Model*
- 7 **Schedule Trigger** Schedule trigger *Starts it*
- 8 **Set input data/credintenials** Set *Logic*
- 9 **AI Agent** Agent *Model*
- 10 **Structured Output Parser1** Output Parser Structured *Model*
- 11 **Structured Output Parser2** Output Parser Structured *Model*
- 12 **Article wrtiter** Chain Llm *Model*
- 13 **Get data form sheet** Google Sheets *Service*
- 14 **Split Out** Split Out *Logic*
- 15 **Post article on dev.to** Http Request *Service*
- 16 **Limit** Limit *Logic*
- 17 **Loop Over Items** Split In Batches *Logic*
- 18 **Aggregate** Aggregate *Logic*
- 19 **Set Input Image** Set *Logic*
- 20 **Generate an image1** Google Gemini *Model*
- 21 **Post image Cloudinary2** Http Request *Service*
- 22 **Set Output Image** Set *Logic*

## How it's built

- **Starts on:** A clock
- **Steps:** 22, 1 loop or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Sheets
- **Model:** Gemini, OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Google Sheets account, and a key for Gemini and OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

Yes. It calls Gemini and OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 22 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 22 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fcreate-dev-to-articles-with-openai-and-gemini)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)

## Workflows like it

Also content, with the same services where possible, closest in size first.

- [**Analyze YouTube comments and generate video ideas with Gemini** 22 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/analyze-youtube-comments-and-generate-video-ideas-with-gemin)
- [**Author and publish blog posts from Google Sheets with OpenAI** 22 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/author-and-publish-blog-posts-from-google-sheets-with-openai-2)
- [**Author and publish blog posts from Google Sheets with OpenAI** 22 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/author-and-publish-blog-posts-from-google-sheets-with-openai)
- [**Automate AI news videos to social media with OpenAI and HeyGen** 22 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/automate-ai-news-videos-to-social-media-with-openai-and-heyg)
- [**Extract video metadata & auto-upload to YouTube with OpenAI** 22 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/extract-video-metadata-and-auto-upload-to-youtube-with-opena)
- [**Find, scrape & analyze Twitter posts by name with Bright Data** 22 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/find-scrape-and-analyze-twitter-posts-by-name-with-bright-da)
