Create daily historical AI videos with Gemini, fal.ai, Telegram and YouTube

Go to Workflow
4 views
Built by Natnail Getachew Natnail Getachew
Created on June 06, 2026

Description

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

Nodes Used (6)

AI Agent
@n8n/n8n-nodes-langchain.agent
Code
n8n-nodes-base.code
Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
HTTP Request
n8n-nodes-base.httpRequest
Telegram
n8n-nodes-base.telegram
YouTube
n8n-nodes-base.youTube