Workflow overview
Why this workflow matters
Potentially useful as a reusable automation building block.
Who’s it for This workflow is ideal for: Content creators producing daily historical or educational videos YouTube automation enthusiasts building AI-driven channels Educators sharing engaging historical facts in short-form video format Anyone creating an automated AI video pipeline with human approval How it works This workflow automates the full pipeline of generating and publishing historical videos: Triggers daily at 1 AM and initializes retry tracking (maximum 3 attempts) Fetches historical events for the current date and selects one randomly Uses Google Gemini to generate a cinematic text-to-video script Sends the prompt to fal.ai (Hunyuan LoRA) to generate a short video Polls the generation status every 30 seconds until the video is ready Downloads the generated video and sends it to Telegram with context Waits for manual approval via Telegram If approved → uploads the video to YouTube and sends a confirmation message If declined → retries with a new event (up to 3 attempts total) How to set up Import the workflow into AlekSystem Configure your Telegram credentials Set your Telegram Chat ID using a variable or Set node (avoid hardcoding) Configure HTTP Header Auth credentials for fal.ai (API key required) Set up Google Gemini API credentials Connect your YouTube account using OAuth2 (Optional) Adjust the schedule time in the trigger node Activate the workflow Requirements AlekSystem (cloud or self-hosted) fal.ai account and API key (for video generation) Google Gemini API access YouTube account with upload permissions Telegram account for approval notifications How to customize the workflow Adjust retry limits in the retry logic node Modify video parameters (resolution, frames, aspect ratio) in the fal.ai request Change the script style by editing the Gemini prompt Replace the historical events API with another content source Customize Telegram messages or approval flow
Best fit
Categories
Services
Use cases
Need another direction?