Extract viral-worthy clips from YouTube videos with Gemini AI & FFmpeg editing
Ready for 3.0What this workflow does
This AI workflow has 37 nodes and runs when someone submits an n8n form (“Clipping”) (plus 2 other triggers). Along the way it connects Gmail and Google Gemini.
How it runs
Trigger: When someone submits an n8n form (“Clipping”) (plus 2 other triggers).
- video download with yt-dlp (Execute Command): runs a shell command on the n8n host
- get transcript from yt-dlp (Execute Command): runs a shell command on the n8n host
- Split Out: splits a list into separate items
- get the downloaded video location (Code): runs custom JavaScript code
- extract filepath (Code): runs custom JavaScript code
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- wait for both branches to complete and merge (Merge): merges the data from its input branches
- read srt from disk (Read/Write Files from Disk): reads a file from disk
- If: checks a condition and branches into true / false
- seperate actionable data items (Code): runs custom JavaScript code
…plus 24 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (18)
- Manual Trigger
n8n-nodes-base.manualTrigger - Extract from File
n8n-nodes-base.extractFromFile - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - n8n Form Trigger
n8n-nodes-base.formTrigger - Code
n8n-nodes-base.code - Aggregate
n8n-nodes-base.aggregate - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Split Out
n8n-nodes-base.splitOut - Gmail
n8n-nodes-base.gmail - Execute Command
n8n-nodes-base.executeCommand - Read/Write Files from Disk
n8n-nodes-base.readWriteFile - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - Merge
n8n-nodes-base.merge - Convert to File
n8n-nodes-base.convertToFile - Filter
n8n-nodes-base.filter - Execute Sub-workflow
n8n-nodes-base.executeWorkflow - If
n8n-nodes-base.if - Wait
n8n-nodes-base.wait
From the author
Who's it for This workflow transforms hours of manual video editing into an automated AI-powered pipeline. Perfect for anyone looking to repurpose long-form content into viral short-form clips. Ideal users include: - Content Creators - YouTubers producing…