What This Workflow Does
This n8n workflow automates the creation and publishing of AI-generated videos directly to YouTube. It leverages OpenAI for content generation, ElevenLabs for voice synthesis, and Telegram for triggering and notifications, creating a complete end-to-end video production pipeline.
How It Works
The workflow begins with a Telegram trigger that receives video requests. OpenAI generates video scripts and content based on your prompt. The AI Chat agent processes and refines the content using a memory buffer window for context awareness. ElevenLabs converts the generated text into natural-sounding audio. The video components are assembled, converted to a file format, and automatically published to YouTube. Throughout the process, Telegram notifications keep you updated on each step’s progress.
Use Cases
- YouTube content creators who want to automate video production from concept to publishing
- Marketing agencies generating bulk video content for multiple clients efficiently
- Educational platforms creating tutorial videos at scale with minimal manual intervention
- News outlets producing video summaries of articles with AI-generated narration
- Social media managers automating short-form video content for YouTube Shorts or similar platforms
Nodes Used
- OpenAI – Generates video scripts and content ideas
- LM Chat OpenAI – Powers the AI agent for intelligent content processing
- ElevenLabs – Converts text to natural-sounding speech for video narration
- YouTube – Publishes completed videos to your channel
- Telegram Trigger – Receives video requests and triggers the workflow
- Telegram – Sends status updates and notifications
- HTTP Request – Makes API calls to external services
- Memory Buffer Window – Maintains conversation context for the AI agent
- Agent – Orchestrates intelligent decision-making throughout the workflow
- Output Parser Structured – Formats AI responses into usable data structures
- Split Out – Divides data for parallel processing
- Merge – Combines data from multiple sources
- Aggregate – Collects results from parallel operations
- Convert to File – Transforms video data into publishable file formats
- Set – Assigns and manipulates variable values
- If – Creates conditional branching logic
- Wait – Introduces delays between operations
- Stop and Error – Handles errors and halts execution when needed
- Sticky Note – Provides workflow documentation and guidance
Prerequisites
- Active n8n instance with workflow automation access
- OpenAI API key for script generation capabilities
- ElevenLabs API key for voice synthesis features
- YouTube channel with API access and upload permissions enabled
- Telegram bot token for triggering workflows and sending notifications
- Basic understanding of workflow automation and API integration
- Video editing capabilities or integration with a video creation service
Difficulty Level
Advanced. This workflow combines multiple third-party APIs, requires configuration of AI agents with memory management, and involves complex conditional logic. Users should have experience with n8n, API authentication, and understanding of how AI models process requests. YouTube API setup and Telegram bot configuration add additional complexity layers.
This workflow template is shared under the n8n fair-code license. Free to use and modify.
Leave a Reply