Create daily historical AI videos with Gemini, fal.ai, Telegram and YouTube
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
Nodes used (9)
- HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Wait
n8n-nodes-base.wait - Telegram
n8n-nodes-base.telegram - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - YouTube
n8n-nodes-base.youTube - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
What it does
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: 1. Triggers daily at 1 AM and initializes retry tracking (maximum 3 attempts) 2. Fetches historical events for the current date and selects one randomly 3. Uses Google Gemini to generate a cinematic text-to-video script 4. Sends the prompt to fal.ai (Hunyuan LoRA) to generate a short video 5. Polls the generation status every 30 seconds until the video is ready 6. Downloads the generated video and sends it to Telegram with context 7. Waits for manual approval via Telegram 8. If approved → uploads the video to YouTube and sends a confirmation message 9. If declined → retries with a new event (up to 3 attempts total) How to set up 1. Import the workflow into n8n 2. Configure your Telegram credentials 3. Set your Telegram Chat ID using a variable or Set node (avoid hardcoding) 4. Configure HTTP Header Auth credentials for fal.ai (API key required) 5. Set up Google Gemini API credentials 6. Connect your YouTube account using OAuth2 7. (Optional) Adjust the schedule time in the trigger node 8. 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