# Automate viral content creation with OpenAI: n8n workflow

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

Source: https://millionrounds.com/workflow/automate-viral-content-creation-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)

# Automate viral content creation with OpenAI

Started by someone submitting a form, and works across Google Drive and Google Sheets. It hands the judgement calls to OpenAI. 73 steps, 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%2Fautomate-viral-content-creation-with-openai)

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

**0** Branches: places the flow splits

**6** Loops or waits

**2** Services it connects to

## The flow

Starts it 6 Model 14 Logic 17 Service 23

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

- 1 **Generate Baby Podcast** Form trigger *Starts it*
- 2 **Object & Caption** Output Parser Structured *Model*
- 3 **Upload** Http Request *Service*
- 4 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 5 **When clicking ‘Execute workflow’** Manual trigger *Starts it*
- 6 **On form submission 2** Form trigger *Starts it*
- 7 **On form submission** Form trigger *Starts it*
- 8 **YouTube Video** Http Request *Service*
- 9 **OpenAI Chat Model1** Lm Chat Open Ai *Model*
- 10 **On form submission1** Form trigger *Starts it*
- 11 **Think** Tool Think *Model*
- 12 **Parser** Output Parser Structured *Model*
- 13 **OpenAI Chat Model2** Lm Chat Open Ai *Model*
- 14 **On form submission2** Form trigger *Starts it*
- 15 **Baby Image Generator** Open Ai *Model*
- 16 **Script** Open Ai *Model*
- 17 **Idea Agent** Agent *Model*
- 18 **YouTube** Http Request *Service*
- 19 **Instagram** Http Request *Service*
- 20 **TikTok** Http Request *Service*
- 21 **Prompt Agent** Agent *Model*
- 22 **Get Past Objects** Google Sheets *Service*
- 23 **Upload_File** Http Request *Service*
- 24 **Upload File** Http Request *Service*
- 25 **Get Results** Set *Logic*
- 26 **Information Extractor** Information Extractor *Model*
- 27 **Information Extractor1** Information Extractor *Model*
- 28 **Ideas AI Agent** Agent *Model*
- 29 **Prompts AI Agent** Agent *Model*
- 30 **Open AI Generate Image** Http Request *Service*
- 31 **Audio Creation** Http Request *Service*
- 32 **Generate Video** Http Request *Service*
- 33 **Aggregate** Aggregate *Logic*
- 34 **Get_Analysis** Http Request *Service*
- 35 **Wait** Wait *Logic*
- 36 **Keyword Research** Http Request *Service*
- 37 **Code** Code *Logic*
- 38 **Create Video** Http Request *Service*
- 39 **B64 String to File** Convert To File *Service*
- 40 **Create Audio Asset For Hedra** Http Request *Service*
- 41 **Merge1** Merge *Logic*
- 42 **5 Minutes** Wait *Logic*
- 43 **Set Object List** Set *Logic*
- 44 **Edit Fields** Set *Logic*
- 45 **Get Analysis** Http Request *Service*
- 46 **Append row in sheet** Google Sheets *Service*
- 47 **Wait for Veo3** Wait *Logic*
- 48 **Merge** Merge *Logic*
- 49 **Create Image Asset For Hedra** Http Request *Service*
- 50 **Extract And Combine Binary and Array** Code *Logic*
- 51 **Get Result** Http Request *Service*
- 52 **Video Analysis** Set *Logic*
- 53 **5 seconds** Wait *Logic*
- 54 **Loop Over Items** Split In Batches *Logic*
- 55 **Get Video** Http Request *Service*
- 56 **Extract And Combine Binary and Array1** Code *Logic*
- 57 **Audio To Hedra** Http Request *Service*
- 58 **Result** Set *Logic*
- 59 **30 Seconds** Wait *Logic*
- 60 **Article Research** Http Request *Service*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 73, 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 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?

Take your time. At 73 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 73 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%2Fautomate-viral-content-creation-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.

- [**Generate videos with Creatomate** 71 steps · calls a model · Airtable, Gmail](https://millionrounds.com/workflow/generate-videos-with-creatomate)
- [**Automated music video creation & YouTube publishing** 65 steps · calls a model · Discord, Google Drive](https://millionrounds.com/workflow/automated-music-video-creation-and-youtube-publishing)
- [**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 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)
