This workflow automates the process of creating short video clips from a YouTube video based on specific content requested by the user.
Tis is a complete AI-powered video clipping and distribution system, turning any YouTube video into ready-to-publish short-form content automatically
IMPORTANT:
This workflow is quite complex, it requires integrating multiple APIs including YouTube Transcript, RapidAPI for video download, OpenAI GPT, Fal.run for video processing, Google Drive, FTP, and various social media platforms (TikTok, YouTube, Instagram via Postiz and Upload-Post).
But despite the complexity, the core idea is brilliantly simple and elegant: you provide a YouTube video and a prompt describing what you're looking for, and the workflow automatically finds the exact moment in the video, extracts that segment, and publishes it as a short clip across all your social channels.
No manual editing is required. The workflow automatically extracts and creates clips from long-form content.
The use of an LLM ensures that the exact relevant moment in the video is identified based on meaning, not just keywords.
The workflow doesn’t just create clips — it also publishes them across multiple platforms (TikTok, YouTube, Instagram), saving time and effort.
You can process multiple videos and prompts, making it ideal for:
What normally takes 30–60 minutes of manual editing is reduced to a fully automated flow that runs in minutes.
Each step (transcript, AI analysis, trimming, publishing) is modular, so you can:
Files are automatically stored in:
The workflow checks if the content is found in the transcript and avoids unnecessary processing if not.
This workflow automates the process of creating a short video clip from a YouTube video based on a specific user prompt. It follows these steps:
youtube-transcript.io API to fetch the video's transcript.start_time, end_time, and duration of the matching clip.video_url (from the FTP server) and the timecodes from the AI, the workflow sends a request to a Fal.run workflow utility (trim-video) to process and create the short video clip. It then polls the status endpoint until the processing is completed.upload-post.com and Postiz APIs.To get this workflow running, you need to configure several external API keys and credentials:
API Keys & Credentials:
youtube-transcript.io and configure it in the "Generate transcript" node's HTTP Header Auth.Storage & Hosting:
/n3wstorage/test/. Update these paths and credentials to match your server.Social Media Integration (Optional):
integrationId and content fields with your specific Instagram account details.upload-post.com and configure it in the "Upload to TikTok" and "Upload to Youtube" nodes. You must also update the title, user, and platform[] parameters (currently placeholders like SET_TITLE and YOUR_USERNAME) with your actual account data.Workflow Variables:
VIDEO ID and PROMPT for testing.👉 Subscribe to my new YouTube channel. Here I’ll share videos and Shorts with practical tutorials and FREE templates for n8n.
Contact me for consulting and support or add me on Linkedin.