# Remove video background & compose on custom video background: n8n workflow

> Started by another system calling it, and works across Google Drive. 18 steps, 3 branches, 1 loop or waits: a working afternoon to understand properly.

Source: https://millionrounds.com/workflow/remove-video-background-and-compose-on-custom-video-backgrou (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)

# Remove video background & compose on custom video background

Started by another system calling it, and works across Google Drive. 18 steps, 3 branches, 1 loop or waits: a working afternoon to understand properly.

Medium

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fremove-video-background-and-compose-on-custom-video-backgrou)

**18 steps** Medium: a working afternoon

**3** Branches: places the flow splits

**1** Loop or waits

**1** Service it connects to

## The flow

Starts it 3 Logic 10 Service 5

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

- 1 **Webhook Trigger** Webhook *Starts it*
- 2 **Manual Trigger** Manual trigger *Starts it*
- 3 **Extract Webhook Data** Set *Logic*
- 4 **Sample Video URLs (Edit Here)** Set *Logic*
- 5 **Merge Triggers** Merge *Logic*
- 6 **1. Create Job (Upload Foreground)** Http Request *Service*
- 7 **2. Start Composition** Http Request *Service*
- 8 **3. Check Job Status** Http Request *Service*
- 9 **Is Complete?** If *Logic*
- 10 **4. Download Video** Http Request *Service*
- 11 **Has Failed?** If *Logic*
- 12 **5. Upload to Google Drive** Google Drive *Service*
- 13 **Build Error Response** Set *Logic*
- 14 **Wait 20s** Wait *Logic*
- 15 **Build Success Response** Set *Logic*
- 16 **From Webhook?** If *Logic*
- 17 **Respond to Webhook** Respond To Webhook *Starts it*
- 18 **Manual Test Complete** Set *Logic*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 18, with 3 branches, 1 loop or waits
- **Size:** Medium: a working afternoon
- **Connects to:** Google Drive
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Google Drive account. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

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?

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.

## 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%2Fremove-video-background-and-compose-on-custom-video-backgrou)
- **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)

## Workflows like it

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

- [**Video background removal and image composition** 18 steps · Google Drive](https://millionrounds.com/workflow/video-background-removal-and-image-composition)
- [**Automate sleep meditation content creation with ElevenLabs V3** 18 steps · calls a model · Google Drive](https://millionrounds.com/workflow/automate-sleep-meditation-content-creation-with-elevenlabs-v)
- [**Create & auto-publish YouTube content with Gemini** 18 steps · calls a model · Google Drive](https://millionrounds.com/workflow/create-and-auto-publish-youtube-content-with-gemini)
- [**Generate Veo 3 short-form videos from a form with Groq** 18 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/generate-veo-3-short-form-videos-from-a-form-with-groq)
- [**Generate and publish AI home cam Shorts with OpenAI** 18 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/generate-and-publish-ai-home-cam-shorts-with-openai)
- [**Generate social media captions for product images with Gemini** 18 steps · calls a model · Google Drive, Telegram](https://millionrounds.com/workflow/generate-social-media-captions-for-product-images-with-gemin)
