# Generate YouTube shorts from prompts with OpenAI: n8n workflow

> Started by someone submitting a form, and works across FTP and YouTube. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/generate-youtube-shorts-from-prompts-with-openai (Millionrounds; every figure on the page links to its filing or article)

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

# Generate YouTube shorts from prompts with OpenAI

Started by someone submitting a form, and works across FTP and YouTube. It hands the judgement calls to OpenAI. 18 steps, 1 branch, 1 loop or waits: a working afternoon to understand properly.

Medium Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-youtube-shorts-from-prompts-with-openai)

**18 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**1** Loop or waits

**2** Services it connects to

## The flow

Starts it 1 Model 3 Logic 6 Service 8

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

- 1 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 2 **On form submission** Form trigger *Starts it*
- 3 **Structured Output Parser** Output Parser Structured *Model*
- 4 **Generate voiceover** Agent *Model*
- 5 **Set vars** Set *Logic*
- 6 **Voiceover vars** Set *Logic*
- 7 **Text-to-Speech** Http Request *Service*
- 8 **Pexels** Http Request *Service*
- 9 **Upload audio** Ftp *Service*
- 10 **Merge** Merge *Logic*
- 11 **Set Audio Url** Set *Logic*
- 12 **Merge Audio with Video** Http Request *Service*
- 13 **Wait 30 Seconds for Merge** Wait *Logic*
- 14 **Check Video Merge Status** Http Request *Service*
- 15 **Check Merge Status** If *Logic*
- 16 **Fetch Final Video** Http Request *Service*
- 17 **Fetch Video File from URL** Http Request *Service*
- 18 **Upload a video** You Tube *Service*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 18, with 1 branch, 1 loop or waits
- **Size:** Medium: a working afternoon
- **Connects to:** FTP, YouTube
- **Model:** OpenAI

## Questions

What does it need to run?

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

What starts it?

It starts on someone submitting a form.

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?

Plan an afternoon. 18 steps is enough that you should read each one before running it.

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 18 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%2Fgenerate-youtube-shorts-from-prompts-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.

[FTP](https://millionrounds.com/workflows?service=FTP#library)[YouTube](https://millionrounds.com/workflows?service=YouTube#library)

## Workflows like it

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

- [**Create daily AI news YouTube Shorts with Groq and VoiceRSS** 16 steps · calls a model · RSS, YouTube](https://millionrounds.com/workflow/create-daily-ai-news-youtube-shorts-with-groq-and-voicerss)
- [**Meme AI agent with OpenAI and YouTube** 22 steps · calls a model · YouTube](https://millionrounds.com/workflow/meme-ai-agent-with-openai-and-youtube)
- [**AI YouTube trend finder based on niche with OpenAI** 13 steps · calls a model · YouTube](https://millionrounds.com/workflow/ai-youtube-trend-finder-based-on-niche-with-openai)
- [**Automate YouTube Shorts Uploads with OpenAI and Google Drive** 13 steps · calls a model · Google Drive, YouTube](https://millionrounds.com/workflow/automate-youtube-shorts-uploads-with-openai-and-google-drive)
- [**AutoTube Pro: AI-powered YouTube upload automation** 12 steps · calls a model · Google Drive, YouTube](https://millionrounds.com/workflow/autotube-pro-ai-powered-youtube-upload-automation)
- [**Automate YouTube uploads with Gemini and OpenAI** 12 steps · calls a model · Google Drive, YouTube](https://millionrounds.com/workflow/automate-youtube-uploads-with-gemini-and-openai)
