Create daily historical AI videos with Gemini, fal.ai, Telegram and YouTube
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 n8n
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
n8n (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
Related Templates
Track Demo Bookings with Google Calendar to Meta Conversions API Integration
Who is this workflow for? If you're using Meta Ads to generate new leads to your sales pipeline, this workflow is for yo...
Transcribe & Summarize Audio with Whisper and GPT, from Google Drive to Notion
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Overview This work...
Reusable and Independently Testable Sub-workflow
Reusable and Independently Testable Sub-workflow This n8n workflow provides a standardized structure for building and te...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments