Transform long videos into viral shorts with AI and schedule to social media using Whisper & Gemini
This automation template turns any long video into multiple viral-ready short clips and auto-schedules them to TikTok, Instagram Reels, and YouTube Shorts. It works with both vertical and horizontal inputs and respects the original input resolution (no unnecessary upscaling), cropping or letterboxing intelligently when needed. The workflow automatically extracts between 3 and 6 clips (based on video length and the most engaging segments) and schedules one short per con
At a glance
Transform long videos into viral shorts with AI and schedule to social media using Whisper & Gemini is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects agent, code, formTrigger, httpRequest. It's free to download. Follow the 5-step import below to go live in minutes.
- Platform
- n8n
- Connects
- agent, code, formTrigger, httpRequest, if, lmChatGoogleGemini
- Modules
- 19
- Price
- Free
- Version
- v1.0

About this workflow
This automation template turns any long video into multiple viral-ready short clips and auto-schedules them to TikTok, Instagram Reels, and YouTube Shorts. It works with both vertical and horizontal inputs and respects the original input resolution (no unnecessary upscaling), cropping or letterboxing intelligently when needed. The workflow automatically extracts between 3 and 6 clips (based on video length and the most engaging segments) and schedules one short per consecutive day—e.g., 3 clips → the next 3 days, 6 clips → the next 6 days. Note: This workflow uses OpenAI Whisper for word-level transcription, Google’s Gemini for clip selection and metadata, and Upload-Post’s FFmpeg API for GPU-accelerated cutting/cropping and social scheduling. You can use the same Upload-Post API token for both FFmpeg jobs and publishing uploads. Upload-Post also offers a generous free trial with no credit card required. Who Is This For? - Creators & Editors: Batch-convert long talks/podcasts into daily Shorts/Reels/TikToks. - Agencies & Social Teams: Turn webinars/interviews into a reliable short-form stream. - Brands & Founders: Maintain a steady posting cadence with minimal hands-on editing. What Problem Does This Workflow Solve? Manual clipping is slow and inconsistent. This workflow: - Finds Hooks Automatically: AI picks 3–6 high-retention segments from transcript + timestamps (count scales with video length/quality). - Cuts Cleanly: Absolute-second FFmpeg timing to avoid mid-word cuts. - Vertical & Horizontal Friendly: Handles both orientations and respects source resolution. - Schedules for You: Posts one clip per day on consecutive days. How It Works 1. Form Upload: Submit your long video. 2. Audio Extraction: FFmpeg job extracts audio for accurate ASR. 3. Whisper Transcription: Word-level timestamps enable precise clipping. 4. AI Clip Mining (Gemini): Detects 3–6 “viral” moments (15–60s) and generates titles/descriptions. 5. Cut & Crop (FFmpeg): GPU pipeline produces clean clips; preserves input resolution/orientation when possible and crops/pads appropriately for target platforms. 6. Status & Download: Polls job status and retrieves the final clips. 7. Auto-Scheduling (Consecutive Days): Schedules one short per day starting tomorrow, for as many days as clips were produced (e.g., 3 clips → 3 days, 6 clips → 6 days) at a configurable time (default 20:00 Europe/Madrid). Setup 1. OpenAI (Whisper): Add your OpenAI API credentials. 2. Google Gemini: Add Gemini credentials used by the AI Agent node. 3. Upload-Post (free trial no credit card required): Generate your api token connect your social media accounts and add your API token credentials in n8n (same token works for FFmpeg jobs and publishing). 4. Scheduling: Adjust posting time/intervals and timezone (Europe/Madrid by default). 5. Metadata Mapping: Titles/descriptions are auto-generated per platform; tweak as needed. Requirements - Accounts: n8n, OpenAI, Google (Gemini), Upload-Post, and social platform connections. - API Keys: OpenAI token, Gemini credentials, Upload-Post token. - Budget: Whisper + Gemini inference + FFmpeg compute + optional posting costs. Features - Word-Accurate Cuts: Absolute-second timecodes with subtle pre/post-roll. - Orientation-Aware: Supports vertical and horizontal inputs; preserves source resolution where possible. - Platform-Optimized Output: 9:16-ready delivery with smart crop/pad behavior. - Consecutive-Day Scheduler: 3–6 clips → 3–6 consecutive posting days, automatically. - Retry & Polling: Built-in waits and status checks for robust processing. - Modular: Swap models, adjust clip count/length, or add/remove platforms quickly. Turn long-form video into a consistent sequence of Shorts/Reels/TikToks—automatically, day after day, while respecting your source resolution.
How to import this n8n workflow
- 1
Download the workflow JSON file after purchase.
- 2
Open n8n → click the menu → Import from File.
- 3
Select the downloaded JSON and import.
- 4
Set up credentials for each node that requires them.
- 5
Click Execute Workflow to test, then activate.
Setup guide
Setup guide included
Purchase to unlock the full step-by-step guide
Related N8n workflows
Multilingual YouTube metadata translator with Gemini AI and Google Sheets
Automated Google Drive to Facebook Ads: one-click video marketing workflow
Collect & store restaurant customer feedback with Google Sheets and email forms
Create executive security briefings with NixGuard AI & Wazuh alerts
Smart lead outreach with Explorium MCP using Google Sheets and Telegram
Binance SM 4hour indicators tool
General 3D presentation workflow with Midjourney, GPT-4o-image and Kling APIs
AI-Powered Cold Calling Automation with Vapi.ai, GPT-4o & Google Sheets
Reviews
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
- JSON blueprint — instant download
- Setup guide PDF included
- 5 downloads · valid 30 days
- Works with n8n
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.
- Configure live on Google Meet / Zoom
- Free follow-up if workflow has defects
- Platform expert assigned to you