🎬 Create & publish inspirational videos with FFmpeg, Google Drive & YouTube

⚑ 228 views · 🎬 Content Creation & Video

πŸ’‘ Pro Tip β€” Since TikTok doesn’t have a public API, getting data usually means fragile HTTP scraping. ScraperNode is a community node that gives you clean JSON for TikTok profiles, videos, and comments β€” drop it into your workflow and skip the parsing.

View All Scrapers

Description

More workflow: https://aitool.wiki/

Auto Video Merge & Social Upload Automation An end-to-end workflow for generating, merging, and publishing short-form inspirational videos across YouTube, TikTok, Instagram, Threads, X, and Facebook. πŸ“Œ Overview:

This workflow automates the entire video production and publishing pipeline. It takes random quotes, background videos, and background music from Google Sheets & Google Drive, merges them into a final video using an API, uploads the output to multiple social platforms, and updates the content tracking sheet automatically.

Perfect for creators who publish motivational or short-form content daily.

πŸš€ Key Features

  1. Trigger Options

Manual Trigger – Generate videos anytime.

Scheduled Trigger – Auto-generate videos every 5 minutes or at your preferred interval.

  1. Source Data Collection

The workflow retrieves content from Google Sheets & Google Drive:

Quotes – From Quotes_status sheet

Background Videos – From a Google Drive folder

Background Music – From a Google Drive folder

Each item is appended back into Sheets for status tracking.

Nodes used:

Retrieve Quote Data

List Video Background Files

List Music Background Files

Retrieve Video Background Data

Retrieve Music Background Data

  1. Random Content Selection

A Code node selects one random:

Quote

Video background

Music track

This ensures each final output video is unique.

Node:

Select Random Video, Music & Quote

  1. Video Generation & Merging

The workflow sends selected video + music URLs to an FFmpeg merge API:

Initiates the video merge

Continuously polls the status API until the job finishes

Downloads the merged MP4 file

Saves the final video locally (video1.mp4)

Nodes:

upload and gen video

check status

If

Wait

download video

Save Final Video

  1. Optional: Upload to TikTok / Instagram / X / Threads

Disabled by default but preconfigured for:

TikTok

Instagram

X (Twitter)

Threads

These nodes use upload-post.com API for multi-platform posting.

Nodes (disabled):

Upload Video and Description to Tiktok

Upload Video to Instagram

Upload Video to X

Upload Video to Threads

Each platform’s upload result is written back into Google Sheets:

TiktokURL

InsURL

XURL

ThreadsURL

  1. Upload to YouTube (Enabled)

The merged video is published to YouTube via the YouTube OAuth2 node.

Generates title using filename

Uses the quote as a description

Uploads as a public YouTube Short

Node:

Upload to YouTube1

After uploading, the YouTube link is saved into the Google Sheet.

  1. Google Sheets Status Update

Once the workflow finishes uploading:

Updates the row associated with the selected quote

Mark status as DONE

Stores YouTube / TikTok / Instagram / X / FB URL

Nodes:

Tiktok Update Quote Upload Status

Update Instagram status

Update X status

Update FB status

  1. File Upload to Google Drive

The final MP4 is also stored back into a designated Google Drive folder.

Node:

Upload file

  1. Telegram Notifications

The workflow sends Telegram messages to notify:

Merge status

YouTube Upload ID

Nodes:

Send a text message

πŸ“ Files Used

Workflow JSON: /mnt/data/Video merge and upload Youtube.json

🧩 Ideal Use Cases

Motivational video channels

TikTok/Reels/Shorts content farms

Automated inspirational quote pages

Multi-platform social media distribution

Zero-touch daily video generation

🌟 Summary

This n8n workflow is a complete video-automation system. It builds an original video using randomized components, merges it through an external API, publishes it across multiple social platforms, and updates your content tracking sheetβ€”all without manual effort.

πŸ”— Nodes Used

Google Sheets, HTTP Request, Telegram, Google Drive, YouTube, Schedule Trigger

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup