Overview
n8n is a visual workflow automation platform that lets you connect apps and automate tasks without code. By integrating VideoBGRemover with n8n, you can:- Batch process videos automatically from Google Drive, Airtable, or any connected app
- Schedule video processing with cron triggers for off-peak hours
- Chain workflows by connecting to 400+ apps (Slack notifications, database updates, etc.)
- No coding required - visual workflow builder with drag-and-drop nodes
Template 1: Video Composition Workflow
What It Does
Removes the background from a video, composites it onto a custom background, and uploads the final result to Google Drive. Perfect for: AI-generated videos (Sora, HeyGen), product demos, talking head videos, social media content.Workflow Steps
API Key Required
- VIDEOBGREMOVER_KEY - Get from API Management
Processing Time
3-5 minutes per minute of videoGet the Template
Import Workflow from GitHub →Template 2: AI UGC Ad Generator Workflow
What It Does
Complete AI pipeline that analyzes an app screen recording, generates a UGC-style ad script with AI actors, and composites everything into a final video. Perfect for: App developers, SaaS marketing teams, mobile app demos, feature announcements.Workflow Steps
API Keys Required
- GEMINI_KEY - Get from Google AI Studio
- FAL_KEY - Get from FAL AI Dashboard
- VIDEOBGREMOVER_KEY - Get from API Management
Processing Time
5-8 minutes total (Gemini: ~30s, Sora 2: ~2-4 min, VideoBGRemover: ~2-3 min)Get the Template
Import Workflow from GitHub →Quick Start
1. Import Workflow to n8n
In your n8n instance:- Go to Workflows → Import from URL
- Paste the GitHub template URL (see above)
- Click Import
2. Configure API Keys
Add your API keys to n8n environment variables:3. Connect Google Drive
- Click on the “Upload to Google Drive” node
- Click “Create New Credential”
- Follow the OAuth authorization flow
- Select the folder where videos should be saved (optional)
4. Test the Workflow
For Template 1:- Update the video URLs in the “Sample Video URLs” node
- Click “Execute Workflow”
- Wait 3-5 minutes for processing
- Check Google Drive for the final video
- Update the
screenshot_video_urlin the “Sample Input” node - Click “Execute Workflow”
- Wait 5-8 minutes for processing
- Check Google Drive for the UGC ad
How the Workflows Work
Both templates follow the same polling pattern used by our API:- Create a job by uploading your video (
POST /v1/jobs) - Start processing with composition parameters (
POST /v1/jobs/{id}/start) - Poll the status every 20 seconds (
GET /v1/jobs/{id}/status) - Download the video when status is
completed - Upload to storage (Google Drive) and return the shareable link
- ✅ Automatic status polling and retries
- ✅ Error handling for failed jobs
- ✅ Both webhook and manual triggers
- ✅ Seamless Google Drive integration
Automation Options
Webhook Triggers
Activate the workflow and use the webhook URL to trigger processing from external applications:Batch Processing
Connect the workflow to:- Google Sheets - Process rows of video URLs
- Airtable - Process database records
- Google Drive Watch - Auto-process new uploads
- Cron Schedule - Process videos at specific times
Notifications
Add nodes to send notifications when processing completes:- Slack - Post message with video link
- Discord - Send webhook notification
- Email - Send download link
- SMS - Text notification via Twilio
Resources
- GitHub Templates Repository - Full workflow JSON files and setup instructions
- Blog Tutorial: Automate Video Backgrounds in n8n - Step-by-step guide with examples
- Composition Builder - Visual tool to design composition parameters
- API Reference - Complete API documentation
- Video Composition Guide - Understanding composition parameters
- Support - Email us at paul@videobgremover.com
Next Steps
API Reference
Explore the full API documentation
Examples
See code examples in Python, Node.js, and cURL
Video Composition
Learn about composition templates and positioning
Get API Key
Sign up and get your API key
