# Auto-generate & publish short videos with OpenAI: n8n workflow

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

Source: https://millionrounds.com/workflow/auto-generate-and-publish-short-videos-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 & publish short videos with OpenAI

Started by a clock, and works across Google Drive and Google Sheets. It hands the judgement calls to OpenAI. 33 steps, 2 branches, 6 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-and-publish-short-videos-with-openai)

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

**2** Branches: places the flow splits

**6** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Model 3 Logic 12 Service 17

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

- 1 **Prompts** Output Parser Structured *Model*
- 2 **Schedule Trigger** Schedule trigger *Starts it*
- 3 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 4 **Prompt Generator** Agent *Model*
- 5 **Get Story** Google Sheets *Service*
- 6 **Generate Images** Http Request *Service*
- 7 **Set Brands** Set *Logic*
- 8 **12 Seconds** Wait *Logic*
- 9 **Split Out** Split Out *Logic*
- 10 **Get Status** Http Request *Service*
- 11 **Images Done?** If *Logic*
- 12 **Get Images** Http Request *Service*
- 13 **3 Seconds** Wait *Logic*
- 14 **Generate Videos** Http Request *Service*
- 15 **5 Minutes** Wait *Logic*
- 16 **Get Video Status** Http Request *Service*
- 17 **Videos Done?** If *Logic*
- 18 **Get Videos** Http Request *Service*
- 19 **20 Seconds** Wait *Logic*
- 20 **Generate Audio** Http Request *Service*
- 21 **Upload to Drive** Google Drive *Service*
- 22 **Share File** Google Drive *Service*
- 23 **Grab Elements** Set *Logic*
- 24 **Aggregate** Aggregate *Logic*
- 25 **Render Video** Http Request *Service*
- 26 **60 Seconds** Wait *Logic*
- 27 **Download Video** Http Request *Service*
- 28 **Update row in sheet** Google Sheets *Service*
- 29 **10 Seconds** Wait *Logic*
- 30 **Upload to Blotato** Http Request *Service*
- 31 **YouTube** Http Request *Service*
- 32 **Instagram** Http Request *Service*
- 33 **TikTok** Http Request *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 33, with 2 branches, 6 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Drive, Google Sheets
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Google Drive and Google Sheets accounts, 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 33 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 33 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-and-publish-short-videos-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 Drive](https://millionrounds.com/workflows?service=Google+Drive#library)[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.

- [**Auto-generate social media posts from URLs with Telegram** 33 steps · calls a model · Google Sheets, LinkedIn](https://millionrounds.com/workflow/auto-generate-social-media-posts-from-urls-with-telegram)
- [**Auto-post Amazon India affiliate videos to 6 platforms** 33 steps · calls a model · Apify, Google Sheets](https://millionrounds.com/workflow/auto-post-amazon-india-affiliate-videos-to-6-platforms)
- [**Automated tweet generator & publisher with OpenAI and Discord** 33 steps · calls a model · Discord, Google Sheets](https://millionrounds.com/workflow/automated-tweet-generator-and-publisher-with-openai-and-disc)
- [**Create TikTok carousel posts with Upload Post** 33 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/create-tiktok-carousel-posts-with-upload-post)
- [**Create self-improving TikTok carousels with Gemini and OpenAI** 33 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/create-self-improving-tiktok-carousels-with-gemini-and-opena)
- [**Generate & auto-post social videos to multiple platforms** 33 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/generate-and-auto-post-social-videos-to-multiple-platforms)
