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

0
Downloads
4
Views
8.38
Quality Score
intermediate
Complexity
Author:Natnail Getachew(View Original →)
Created:4/8/2026
Updated:4/8/2026

🔒 Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments