Automation library · Content

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.

LargeCalls a model: Gemini, OpenAI

22 stepsLarge: read it before trusting it with anything live
0Branches: places the flow splits
1Loop or waits
1Service it connects to

The flow

Starts it 2Model 10Logic 7Service 3

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

  1. 1When clicking ‘Execute workflow’Manual triggerStarts it
  2. 2OpenAI Chat ModelLm Chat Open AiModel
  3. 3OpenAI Chat Model4Lm Chat Open AiModel
  4. 4OpenAI Chat Model2Lm Chat Open AiModel
  5. 5OpenAI Chat Model1Lm Chat Open AiModel
  6. 6Generate an imageOpen AiModel
  7. 7Schedule TriggerSchedule triggerStarts it
  8. 8Set input data/credintenialsSetLogic
  9. 9AI AgentAgentModel
  10. 10Structured Output Parser1Output Parser StructuredModel
  11. 11Structured Output Parser2Output Parser StructuredModel
  12. 12Article wrtiterChain LlmModel
  13. 13Get data form sheetGoogle SheetsService
  14. 14Split OutSplit OutLogic
  15. 15Post article on dev.toHttp RequestService
  16. 16LimitLimitLogic
  17. 17Loop Over ItemsSplit In BatchesLogic
  18. 18AggregateAggregateLogic
  19. 19Set Input ImageSetLogic
  20. 20Generate an image1Google GeminiModel
  21. 21Post image Cloudinary2Http RequestService
  22. 22Set Output ImageSetLogic

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.