# Auto-generate Instagram carousels with OpenAI: n8n workflow

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

Source: https://millionrounds.com/workflow/auto-generate-instagram-carousels-with-openai (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)

# Auto-generate Instagram carousels with OpenAI

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

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fauto-generate-instagram-carousels-with-openai)

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

**1** Branch: places the flow splits

**3** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Model 4 Logic 8 Service 11

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

- 1 **Item List Output Parser** Output Parser Item List *Model*
- 2 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 3 **Schedule Trigger** Schedule trigger *Starts it*
- 4 **Facebook Pages** Http Request *Service*
- 5 **Basic LLM Chain** Chain Llm *Model*
- 6 **Get Pending** Google Sheets *Service*
- 7 **ig-user-id** Http Request *Service*
- 8 **Loop Over Items** Split In Batches *Logic*
- 9 **If** If *Logic*
- 10 **IG User ID** Set *Logic*
- 11 **IG images ID** Http Request *Service*
- 12 **OpenAI - Generate Image** Http Request *Service*
- 13 **Generate Description for Instagram** Open Ai *Model*
- 14 **Images ID Array** Code *Logic*
- 15 **Separate Image Outputs** Split Out *Logic*
- 16 **IG Media Carousel** Http Request *Service*
- 17 **Convert to File** Convert To File *Service*
- 18 **Wait1** Wait *Logic*
- 19 **Cloudinary** Http Request *Service*
- 20 **IG post Media** Http Request *Service*
- 21 **URL** Set *Logic*
- 22 **Completed** Google Sheets *Service*
- 23 **Wait** Wait *Logic*
- 24 **Next Pending** Google Sheets *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 24, with 1 branch, 3 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Sheets
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Google Sheets account, and a key for 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 OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 24 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 24 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%2Fauto-generate-instagram-carousels-with-openai)
- **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.

- [**AI content creation and auto WordPress publishing** 24 steps · calls a model · Google Sheets, WordPress](https://millionrounds.com/workflow/ai-content-creation-and-auto-wordpress-publishing)
- [**Automated LinkedIn post generator with Gemini** 24 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/automated-linkedin-post-generator-with-gemini)
- [**Automated Thai content creation & publishing with Ollama** 24 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/automated-thai-content-creation-and-publishing-with-ollama)
- [**Create and publish AI videos with Sora 2 Cameos and Gemini** 24 steps · calls a model · Apify, Google Sheets](https://millionrounds.com/workflow/create-and-publish-ai-videos-with-sora-2-cameos-and-gemini)
- [**Create daily AI news LinkedIn posts with OpenAI and NewsAPI** 24 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/create-daily-ai-news-linkedin-posts-with-openai-and-newsapi)
- [**Generate & publish SEO articles with Claude and Webflow** 24 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/generate-and-publish-seo-articles-with-claude-and-webflow)
