# Extend and merge UGC viral videos with Kling 2.1: n8n workflow

> Started by an event in a connected app, and works across Google Drive and Google Sheets. 26 steps, 3 branches, 3 loops or waits: large, and worth reading...

Source: https://millionrounds.com/workflow/extend-and-merge-ugc-viral-videos-with-kling-2-1 (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)

# Extend and merge UGC viral videos with Kling 2.1

Started by an event in a connected app, and works across Google Drive and Google Sheets. 26 steps, 3 branches, 3 loops or waits: large, and worth reading before you trust it with anything live.

Large

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fextend-and-merge-ugc-viral-videos-with-kling-2-1)

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

**3** Branches: places the flow splits

**3** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Logic 8 Service 17

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

- 1 **When clicking ‘Execute workflow’** Manual trigger *Starts it*
- 2 **Get video** Google Sheets *Service*
- 3 **Set params** Set *Logic*
- 4 **Extract last frame** Http Request *Service*
- 5 **Wait 10 sec.** Wait *Logic*
- 6 **Get status Extract Frame** Http Request *Service*
- 7 **Completed?1** If *Logic*
- 8 **Get Last frame** Http Request *Service*
- 9 **Generate clip** Http Request *Service*
- 10 **Wait 60 sec.** Wait *Logic*
- 11 **Get status clip** Http Request *Service*
- 12 **Completed?** If *Logic*
- 13 **Update video url** Google Sheets *Service*
- 14 **Get videos to merge** Google Sheets *Service*
- 15 **Set VideoUrls Json** Code *Logic*
- 16 **Merge Videos** Http Request *Service*
- 17 **Wait 30 sec.** Wait *Logic*
- 18 **Get status** Http Request *Service*
- 19 **Completed?5** If *Logic*
- 20 **Get final video url** Http Request *Service*
- 21 **Update video url2** Google Sheets *Service*
- 22 **Get final video file** Http Request *Service*
- 23 **Upload Video2** Google Drive *Service*
- 24 **Upload to Youtube** Http Request *Service*
- 25 **Upload to Postiz** Http Request *Service*
- 26 **Upload to Social** Postiz *Service*

## How it's built

- **Starts on:** An event in a connected app
- **Steps:** 26, with 3 branches, 3 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Drive, Google Sheets
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Google Drive and Google Sheets accounts. 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?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 26 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 26 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%2Fextend-and-merge-ugc-viral-videos-with-kling-2-1)
- **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.

- [**Automate post to multiple Facebook groups with Airtop** 26 steps · Google Sheets, Telegram](https://millionrounds.com/workflow/automate-post-to-multiple-facebook-groups-with-airtop)
- [**Back up Instagram videos to Google Drive with JSON** 26 steps · Google Drive, n8n data table](https://millionrounds.com/workflow/back-up-instagram-videos-to-google-drive-with-json)
- [**AI YouTube Shorts Creator: Prompt-Based Clipping, Dubbing** 26 steps · calls a model · FTP, Google Drive](https://millionrounds.com/workflow/ai-youtube-shorts-creator-prompt-based-clipping-dubbing)
- [**AI-powered Elementor blog post automation system for agencies** 26 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/ai-powered-elementor-blog-post-automation-system-for-agencie)
- [**An AI agent to create faceless YouTube videos with OpenAI** 26 steps · calls a model · Google Drive](https://millionrounds.com/workflow/an-ai-agent-to-create-faceless-youtube-videos-with-openai)
- [**Automate blog creation & publishing with Gemini** 26 steps · calls a model · Discord, Google Sheets](https://millionrounds.com/workflow/automate-blog-creation-and-publishing-with-gemini)
