AutomationMart
Home/Browse/Transform long videos into viral shorts with AI and schedule to social media using Whisper & Gemini
n8n

Transform long videos into viral shorts with AI and schedule to social media using Whisper & Gemini

n8nn8n19 modulesv1.0
agentcodeformTriggerhttpRequestiflmChatGoogleGeminiuploadPostwait

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
Transform long videos into viral shorts with AI and schedule to social media using Whisper & Gemini workflow diagram

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.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 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

Translating your YouTube video titles and descriptions into multiple languages is one of the simplest ways to expand your channel's global reach. But doing it manually is super tedious and time-consuming. This n8n workflow automates the entire process: from detecting your latest video, translating its metadata into multiple languages using AI, to publishing the translated versions directly to YouTube - all managed and tracked through a connected Google Sheet only. What Problem Is This Wo

Free

Automated Google Drive to Facebook Ads: one-click video marketing workflow

This cutting-edge n8n automation is a powerful digital marketing tool designed to streamline the process of transforming Google Drive videos into Facebook advertising assets. By intelligently connecting cloud storage, video upload, and ad creation platforms, this workflow: 1. Discovers Marketing Content: - Automatically scans Google Drive - Identifies video marketing materials - Eliminates manual content searching 2. Seamless Video Distribution: - Downloads selected video files - Uploads d

Free

Collect & store restaurant customer feedback with Google Sheets and email forms

This n8n template demonstrates how to create an automated customer feedback collection system for restaurants. The workflow triggers when new customer emails are added to an Excel sheet, automatically sends personalized feedback forms, and stores all responses in a separate Excel tracking sheet. Perfect for restaurants wanting to systematically gather customer insights and improve service quality. Good to know Each feedback form is personalized with the customer's name and email All responses

Free

Create executive security briefings with NixGuard AI & Wazuh alerts

Drowning in security alerts? Spending hours translating technical logs from Wazuh, your SIEM, or other tools into business-friendly reports for leadership? This n8n workflow is your automated Security Analyst, designed to save you time and bridge the communication gap between technical teams and non-technical executives. Using a powerful two-stage AI process via the NixGuard Security RAG connector, this workflow transforms raw security event data into a concise, actionable daily briefing.

Free

Smart lead outreach with Explorium MCP using Google Sheets and Telegram

Smart Outreach: Auto-Personalized Lead Sequences 🧠 What It Does This n8n workflow turns your Telegram bot into an AI-powered B2B lead enrichment and outreach engine. It uses Explorium MCP's premium business data, combined with GPT-4 intelligence, to deliver: Enriched lead profiles (person or company) AI-personalized 4-step cold email sequences Real-time interaction via Telegram Google Sheets logging for CRM or follow-up 🖥️ Demo: 🔄 How It Works 1. Telegram Input Users message a company or person

Free

Binance SM 4hour indicators tool

A medium-term trend analyzer for the Binance Spot Market that leverages core technical indicators across 4-hour candle data to provide human-readable swing-trade signals via AI. 🎥 Watch Tutorial: []( --- 🎯 What It Does Accepts a Binance trading pair (e.g., AVAXUSDT) Sends the symbol to an internal webhook for technical indicator calculation Computes 4h RSI, MACD, Bollinger Bands, SMA, EMA, ADX Returns structured, GPT-analyzed signals ready for Telegram delivery --- 🧠 AI Agent Details Model:

Free

General 3D presentation workflow with Midjourney, GPT-4o-image and Kling APIs

Who is this template for? This workflow creates 360° or 180° spinning videos of high-quality 3D models with PiAPI API. Good for: - Designers: Generate inspiration into 3D designs and make them spin to gain concrete details in a efficient way. - Online shoppers: Show protential products from all angles in videos and preview overall texture of models. - Content Creators (including toy bloggers): Make fun videos of collectible models. - 3D beginners: Get simple spinning animations easily and mak

Free

AI-Powered Cold Calling Automation with Vapi.ai, GPT-4o & Google Sheets

AI-Powered Cold Calling Automation with Vapi.ai, GPT-4o & Google Sheets Overview Transform your lead list into an AI-powered calling machine. This workflow automates your entire cold calling process using Vapi's conversational AI to initiate calls, qualify leads, capture detailed insights, and manage intelligent follow-ups - achieving 10x more calls than manual efforts while maintaining personalized, professional conversations. Built for sales teams, recruiters, and customer success professional

Free

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.

Log in to review
Free
No ratings yet

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.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free