# Automated music video creation & YouTube publishing: n8n workflow

> Started by an event in a connected app, and works across Discord, Google Drive, Google Sheets and YouTube. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/automated-music-video-creation-and-youtube-publishing (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)

# Automated music video creation & YouTube publishing

Started by an event in a connected app, and works across Discord, Google Drive, Google Sheets and YouTube. It hands the judgement calls to OpenAI. 65 steps, 5 branches: 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%2Fautomated-music-video-creation-and-youtube-publishing)

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

**5** Branches: places the flow splits

**0** Loops or waits

**4** Services it connects to

## The flow

Starts it 1 Model 5 Logic 24 Service 30

The steps in the order they run, from what starts it. The first 60 of 65.

- 1 **Watch New Song in Drive** Google Drive trigger *Starts it*
- 2 **Log8** Execution Data *Service*
- 3 **Keywords** Set *Logic*
- 4 **Clean Title** Code *Logic*
- 5 **Extract Genre** Code *Logic*
- 6 **Date & Time** Date Time *Logic*
- 7 **Download Audio** Google Drive *Service*
- 8 **Format1** Date Time *Logic*
- 9 **Transcribe** Open Ai *Model*
- 10 **Message5** Discord *Service*
- 11 **Description** Open Ai *Model*
- 12 **Log** Execution Data *Service*
- 13 **Truncate** Code *Logic*
- 14 **Message2** Discord *Service*
- 15 **Log2** Execution Data *Service*
- 16 **Genre Styles** Switch *Logic*
- 17 **Message6** Discord *Service*
- 18 **Reggae Style** Set *Logic*
- 19 **EDM Style** Set *Logic*
- 20 **Country Style** Set *Logic*
- 21 **Disco Style** Set *Logic*
- 22 **Pop Style** Set *Logic*
- 23 **Random Style** Set *Logic*
- 24 **Set Style** Set *Logic*
- 25 **Image Prompt** Open Ai *Model*
- 26 **Search Art** Google Drive *Service*
- 27 **Execution Data6** Execution Data *Service*
- 28 **If** If *Logic*
- 29 **Delete Art** Google Drive *Service*
- 30 **Cover Art** Open Ai *Model*
- 31 **Upload Art** Google Drive *Service*
- 32 **Message3** Discord *Service*
- 33 **Log1** Execution Data *Service*
- 34 **Search Video** Google Drive *Service*
- 35 **If1** If *Logic*
- 36 **Delete Video** Google Drive *Service*
- 37 **Combine Audio + Image** Http Request *Service*
- 38 **Log7** Execution Data *Service*
- 39 **Upload Video** Google Drive *Service*
- 40 **Message4** Discord *Service*
- 41 **Log3** Execution Data *Service*
- 42 **Tags** Open Ai *Model*
- 43 **Get Schedule** Google Sheets *Service*
- 44 **Message1** Discord *Service*
- 45 **Log6** Execution Data *Service*
- 46 **Sort** Sort *Logic*
- 47 **Limit** Limit *Logic*
- 48 **Add** Date Time *Logic*
- 49 **If2** If *Logic*
- 50 **Format Date For Youtube** Code *Logic*
- 51 **Format** Date Time *Logic*
- 52 **Download Video** Google Drive *Service*
- 53 **Log9** Execution Data *Service*
- 54 **Upload** You Tube *Service*
- 55 **Determine Playlist** Code *Logic*
- 56 **Log5** Execution Data *Service*
- 57 **Switch** Switch *Logic*
- 58 **Reggae** You Tube *Service*
- 59 **EDM** You Tube *Service*
- 60 **Country** You Tube *Service*

## How it's built

- **Starts on:** An event in a connected app
- **Steps:** 65, with 5 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Discord, Google Drive, Google Sheets, YouTube
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Discord, Google Drive, Google Sheets 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 an event in a connected app.

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 65 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 65 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%2Fautomated-music-video-creation-and-youtube-publishing)
- **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.

[Discord](https://millionrounds.com/workflows?service=Discord#library)[Google Drive](https://millionrounds.com/workflows?service=Google+Drive#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)[YouTube](https://millionrounds.com/workflows?service=YouTube#library)

## Workflows like it

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

- [**Autonomous blog publishing from YouTube videos with Sheets** 65 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/autonomous-blog-publishing-from-youtube-videos-with-sheets)
- [**WordPress auto-blogging pro with OpenAI and Google Docs** 62 steps · calls a model · Google Docs, Google Drive](https://millionrounds.com/workflow/wordpress-auto-blogging-pro-with-openai-and-google-docs)
- [**Generate videos with Creatomate** 71 steps · calls a model · Airtable, Gmail](https://millionrounds.com/workflow/generate-videos-with-creatomate)
- [**Automate viral content creation with OpenAI** 73 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/automate-viral-content-creation-with-openai)
- [**Generate AI songs + music videos with Gemini and OpenAI** 57 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/generate-ai-songs-music-videos-with-gemini-and-openai)
- [**Automate SEO blog creation + social media with OpenAI** 56 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/automate-seo-blog-creation-social-media-with-openai)
