AI-powered YouTube title optimization built with Motia workflows
Turn raw YouTube titles into viral, SEO-optimized, and brand-safe recommendations.
It generates multiple title variations, compares their potential performance, and uses AI to recommend the strongest title to publish, along with a short explanation.
Simple form where users submit YouTube channels and receive AI-powered title suggestions
Real-time event-driven workflow execution in Motia's visual debugger
Step-by-step processing logs showing the entire pipeline in action
AI-generated viral, SEO, and professional title variants delivered via email
- Motia – workflows & steps
- Gemini API – AI title generation
- Resend – email delivery
- TypeScript
Creators struggle with:
- Choosing the right title
- Balancing virality vs SEO
- Making decisions based on intuition instead of data
Even great videos fail due to poor titles, leading to low CTR and low reach.
YouTube Title Processor uses Motia’s unified backend runtime to:
- Analyze recent YouTube videos from a channel
- Generate three optimized title variants per video:
- Viral (emotion and curiosity driven)
- SEO (keyword-rich and discoverable)
- Professional (brand-safe and clean)
- Score titles for viral potential
- Automatically recommend the best-performing title with reasoning
- Deliver a clean, decision-ready email report
No dashboards. No clutter. Just decisions.
- Viral: emotional and curiosity-driven
- SEO: optimized for search discovery
- Professional: clean and brand-safe
- Compares title performance scores
- Selects the highest-impact title
- Explains why it was chosen
- Three short, emotional thumbnail phrases per video
- Optimized for CTR (3–4 words max)
- Clean, readable SaaS-style report
- Output understandable in under 30 seconds
- Designed for fast decision-making
This project leverages Motia’s core strengths:
- Steps as a single core primitive
- Event-driven workflows
- Durable state management
- Clean separation of concerns
- Production-ready execution model
No extra queues, cron jobs, or background services required.
- API Step – Submit channel name and email
- Resolve Channel Step – Fetch channel details
- Fetch Videos Step – Get recent uploads
- AI Title Step – Generate variants, scores, and recommendation
- Email Step – Send final report
- Error Handler Step – Graceful failure handling
All orchestrated using Motia workflows.
- Weighted scoring (SEO vs brand vs viral)
- Batch channel analysis
- Creator performance tracking
This project runs the frontend and backend separately.
The frontend is located inside the public folder.
cd public
npx http-server -p 3005From the root directory of the project
npm run devThis starts the Motia backend runtime and you will be able to see Motia Workbench UI there.




