Documentation Index
Fetch the complete documentation index at: https://mintlify.com/darkzOGx/youtube-automation-agent/llms.txt
Use this file to discover all available pages before exploring further.
Overview
This guide walks you through the entire process of creating your first video with the YouTube Automation Agent, from initial setup to successful publishing.Before starting, ensure you’ve completed the Quick Start guide and have all credentials configured.
Pre-flight Checklist
Before generating your first video, verify your system is ready:Verify Credentials
Ensure all required credentials are configured:
- YouTube Data API credentials
- OpenAI API key
- DALL-E API access (for thumbnails)
- OAuth tokens for YouTube upload
Generation Methods
Method 1: Automatic Generation (Recommended)
The easiest way to create your first video is to let the automation schedule handle it:Wait for Scheduled Generation
By default, content is automatically generated daily at 6:00 AM. Simply keep the agent running:You’ll see:
Method 2: Manual Generation via API
For immediate content generation, use the manual trigger:Method 3: Manual Generation via Dashboard
Use the web interface for a visual approach:Confirm Generation
Confirm the prompt: “Generate content now? This will create a new video for your channel.”
Content Generation Pipeline
Understand what happens during generation:Stage 1: Content Strategy
The Content Strategy Agent:- Analyzes trending topics in your niche
- Reviews past video performance
- Considers audience engagement patterns
- Selects optimal content topic and angle
Stage 2: Script Writing
The Script Writer Agent:- Generates engaging narrative structure
- Creates hook, body, and call-to-action
- Optimizes for viewer retention
- Formats for video production
Stage 3: Thumbnail Design
The Thumbnail Designer Agent:- Creates eye-catching visual design
- Uses AI-generated imagery (DALL-E)
- Adds text overlays and branding
- Optimizes for click-through rate
Stage 4: SEO Optimization
The SEO Optimizer Agent:- Generates title variations
- Creates compelling description
- Selects targeted tags and keywords
- Optimizes for YouTube algorithm
Stage 5: Production Processing
The Production Management Agent:- Compiles all assets
- Validates content quality
- Prepares metadata
- Creates video file structure
Stage 6: Publishing Schedule
The Publishing Scheduling Agent:- Determines optimal publish time (default: 2:00 PM)
- Queues content for automated upload
- Sets up monitoring for post-publish analytics
Customizing Your First Video
You can customize generation with specific parameters:Available Parameters
| Parameter | Type | Options | Description |
|---|---|---|---|
topic | string/null | Any topic or null | Specific topic or auto-select |
style | string | story, tutorial, explainer | Content presentation style |
length | string | short, medium, long | Target video length |
Publishing Your First Video
Once content is generated, it’s automatically scheduled for publishing:Automatic Publishing
The system checks the publish queue every 15 minutes and automatically uploads videos when their scheduled time arrives.Manual Publishing
To publish immediately, use the manual publish endpoint:Replace
abc123xyz with your actual content ID from the generation response.Monitoring Your Video
After publishing, the system automatically tracks performance:Analytics Collection
Analytics are collected daily at 9:00 AM for all videos published in the last 7 days.Dashboard Monitoring
The dashboard athttp://localhost:3456 provides real-time insights:
- View count and engagement
- Performance score
- Audience retention
- Click-through rate
- Top performing content
Troubleshooting
Generation Fails
Common issues:- “Credentials invalid”: Run
npm run credentials:setup - “Rate limit exceeded”: Wait for API quota to reset
- “Database error”: Reinitialize with
npm run db:init
Content Not Publishing
If content remains stuck in “scheduled” status:-
Check the publish queue is processing:
-
Verify OAuth tokens are valid:
-
Manually trigger publishing:
Low Quality Output
If your first video doesn’t meet expectations:- Let the system run for a few cycles - it improves with analytics data
- Adjust content strategy settings in the dashboard
- Provide specific topics instead of auto-selection
- Review and customize the SEO optimization parameters
Next Steps
Congratulations on creating your first video! Continue with:Automation Schedule
Configure automated content generation and posting frequency
Manual Operations
Learn all manual control endpoints and override options
Dashboard Guide
Master the web dashboard for monitoring and control
Agent Configuration
Customize individual agent behaviors and parameters