# Narrative chaining: AI-generated video scene extensions: n8n workflow

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

Source: https://millionrounds.com/workflow/narrative-chaining-ai-generated-video-scene-extensions (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)

# Narrative chaining: AI-generated video scene extensions

Started by an event in a connected app, and works across Google Sheets. It hands the judgement calls to OpenAI. 28 steps, 2 branches, 4 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%2Fnarrative-chaining-ai-generated-video-scene-extensions)

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

**2** Branches: places the flow splits

**4** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Model 4 Logic 10 Service 13

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

- 1 **Think** Tool Think *Model*
- 2 **GPT** Lm Chat Open Ai *Model*
- 3 **Execute** Manual trigger *Starts it*
- 4 **Extend AI Agent** Agent *Model*
- 5 **Structured Output** Output Parser Structured *Model*
- 6 **Get input** Google Sheets *Service*
- 7 **Request last** Http Request *Service*
- 8 **Clear scenes** Google Sheets *Service*
- 9 **Wait 1** Wait *Logic*
- 10 **Initial Values** Set *Logic*
- 11 **Get last** Http Request *Service*
- 12 **Looper** Set *Logic*
- 13 **Create Video** Http Request *Service*
- 14 **Analyze Video** Http Request *Service*
- 15 **Wait 2** Wait *Logic*
- 16 **Wait** Wait *Logic*
- 17 **Get Video** Http Request *Service*
- 18 **Get Analysis** Http Request *Service*
- 19 **If** If *Logic*
- 20 **Add scene** Google Sheets *Service*
- 21 **Increment step** Set *Logic*
- 22 **If complete** If *Logic*
- 23 **Get scenes** Google Sheets *Service*
- 24 **Aggregate** Aggregate *Logic*
- 25 **Combine Clips** Http Request *Service*
- 26 **Wait 3** Wait *Logic*
- 27 **Get Final Video** Http Request *Service*
- 28 **Update log** Google Sheets *Service*

## How it's built

- **Starts on:** An event in a connected app
- **Steps:** 28, with 2 branches, 4 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Sheets
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Google Sheets account, 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 28 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 28 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%2Fnarrative-chaining-ai-generated-video-scene-extensions)
- **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 Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)

## Workflows like it

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

- [**Agentic content creator - from web scraping to WordPress** 28 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/agentic-content-creator-from-web-scraping-to-wordpress)
- [**Auto-create TikTok videos with VEED.io AI and ElevenLabs** 28 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/auto-create-tiktok-videos-with-veed-io-ai-and-elevenlabs)
- [**Auto-generate social media videos with OpenAI and Blotato** 28 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/auto-generate-social-media-videos-with-openai-and-blotato)
- [**Create motivational videos with Ollama AI** 28 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/create-motivational-videos-with-ollama-ai)
- [**Generate short joke videos from Google Sheets with Gemini** 28 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/generate-short-joke-videos-from-google-sheets-with-gemini)
- [**Automated AI Long Video Creator & Multi-Platform Upload** 28 steps · Google Drive, Google Sheets](https://millionrounds.com/workflow/automated-ai-long-video-creator-and-multi-platform-upload)
