Automation library · AI assistants

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.

MediumCalls a model: OpenAI

18 stepsMedium: a working afternoon
1Branch: places the flow splits
1Loop or waits
2Services it connects to

The flow

Starts it 1Model 3Logic 6Service 8

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

  1. 1OpenAI Chat ModelLm Chat Open AiModel
  2. 2On form submissionForm triggerStarts it
  3. 3Structured Output ParserOutput Parser StructuredModel
  4. 4Generate voiceoverAgentModel
  5. 5Set varsSetLogic
  6. 6Voiceover varsSetLogic
  7. 7Text-to-SpeechHttp RequestService
  8. 8PexelsHttp RequestService
  9. 9Upload audioFtpService
  10. 10MergeMergeLogic
  11. 11Set Audio UrlSetLogic
  12. 12Merge Audio with VideoHttp RequestService
  13. 13Wait 30 Seconds for MergeWaitLogic
  14. 14Check Video Merge StatusHttp RequestService
  15. 15Check Merge StatusIfLogic
  16. 16Fetch Final VideoHttp RequestService
  17. 17Fetch Video File from URLHttp RequestService
  18. 18Upload a videoYou TubeService

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.