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

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

Unknown

by Juan Carlos Cavero Gracia ✓ · 21,759 views · created 2025-10-18 · Content Creation, Multimodal AI

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 19 nodes and runs when someone submits an n8n form (“🎬 Video to Viral Shorts”). Along the way it connects Google Gemini Chat Model and Upload Post (community). It also calls api.upload-post.com and api.openai.com over HTTP.

How it runs

Trigger: When someone submits an n8n form (“🎬 Video to Viral Shorts”).

  1. FFmpeg: Extract Audio (HTTP Request): calls api.upload-post.com (POST)
  2. Wait: waits 10 seconds
  3. Check Audio Job Status (HTTP Request): calls an HTTP API
  4. Is Audio Job Completed? (If): checks a condition and branches into true / false
  5. Download Audio (HTTP Request): calls an HTTP API
  6. Wait: pauses before continuing
  7. Whisper: Transcribe with Timestamps (HTTP Request): calls api.openai.com (POST)
  8. Parse Whisper Results (Code): runs custom JavaScript code
  9. AI Agent: runs an AI agent, with model: Google Gemini Chat Model
  10. Parse Gemini Analysis (Code): runs custom JavaScript code

…plus 7 more steps. See the full node list below.

Services it uses

Google Gemini Chat ModelUpload Post (community)

HTTP calls to: api.upload-post.com, api.openai.com

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that n8n-nodes-upload-post is verified or supports 3.0 (used in Schedule to TikTok, Instagram, and YouTube).

Nodes used (8)

From the author

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…

Excerpt from Juan Carlos Cavero Gracia's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.