Convert Instagram carousels into TikTok and Reels videos with ffmpeg and SocialRobot

Go to Workflow
0 views
Built by Socialrobot.io Socialrobot.io
Created on October 19, 2026

Description

Quick overview
This workflow collects 2–10 uploaded carousel images via an n8n form, renders a 1080x1920 pan-and-zoom slideshow video with ffmpeg, validates the output, and uses SocialRobot to send the MP4 to TikTok as an inbox draft, with optional posting to Instagram, Facebook, or Threads.

How it works
Receives slide images, a caption, seconds-per-slide, an optional music URL, and a photo-slideshow choice from an n8n Form trigger.
Verifies ffmpeg is installed and validates that 2–10 image files were uploaded.
Creates a temporary execution folder, saves the uploaded images to disk in order, and builds an ffmpeg filter graph for blur background, pan/zoom motion, and crossfades (and loops/mixes music when a valid http(s) URL is provided).
Runs ffmpeg to render a vertical MP4 and reads the file back from disk.
Checks the MP4’s file size and real duration against configured limits before continuing.
Uploads the video to TikTok via SocialRobot as an inbox draft and optionally also uploads the original images as a TikTok photo slideshow draft.
Optionally uploads the same video via SocialRobot to Instagram Reels, Facebook Reels, and Threads (these paths are disabled by default), then deletes the temporary files.

Setup
Use a self-hosted n8n instance with the Execute Command node enabled and ffmpeg installed on the server.
Ensure n8n file access allows read/write to the temp folder path and update the temp_dir setting if needed.
Install the SocialRobot community node and add your SocialRobot API key credentials in n8n.
Connect your TikTok account (and optionally Instagram/Facebook/Threads) in SocialRobot and select the correct account IDs in the SocialRobot nodes.
If you plan to add music, provide a publicly accessible http(s) MP3 URL you have rights to use when submitting the form.

This workflow was created by Socialrobot.io and shared publicly on the n8n community template library. n8nFind indexes it for discovery — the workflow remains the property of its original creator.

Nodes Used (1)

Code
n8n-nodes-base.code