
Weekend Agent Challenge: Daily Content Spark
Daily Content Spark is an autonomous AI agent that generates a fresh YouTube Shorts idea every morning while I sleep. Using Amazon EventBridge Scheduler, AWS Lambda, Amazon Bedrock Nova Micro, and Amazon SES, it creates a content topic, hook, script outline, and posting tip, then delivers everything directly to my email - fully automated with no manual intervention.
Weekend Agent Challenge: Daily Content Spark - An AI Agent That Generates YouTube Shorts Ideas While You Sleep
Vision & What the Agent Does
As a content creator, the hardest part of making YouTube Shorts isn't filming or editing — it's coming up with fresh ideas every single day. That daily pressure of "what do I post today?" leads to creative burnout fast. I wanted to eliminate that problem entirely.
Daily Content Spark is an autonomous AI-powered agent that runs every morning at 6:00 AM IST — while I'm still asleep. It wakes up on a schedule, generates a completely fresh YouTube Shorts content idea tailored to my niche (psychology, philosophy, and human behavior), and emails the result directly to my inbox. By the time I wake up, my next video idea is already waiting for me.
Here's what the agent delivers every morning:
- 🎬 A specific, scroll-stopping content topic
- 🪝 An attention-grabbing hook line (the first 3 seconds that make viewers stay)
- 📝 A one-paragraph script outline ready to film
- 🎯 A posting tip for maximum reach
What triggers it: Amazon EventBridge Scheduler fires a cron job at 6:00 AM IST (00:30 UTC) every single day — no button clicks, no manual triggers, no human intervention.
What it does on its own: Calls Amazon Bedrock's Nova Micro model with a carefully crafted prompt to generate unique, niche-specific content ideas.
How it reports back: Sends the complete content package to my email via Amazon SES. I wake up, open my inbox, and start filming.
The best productivity tool is the one you never have to open — and this agent proves it. It's been generating ideas autonomously since the day I deployed it.
How I Built It
This was my first-ever AWS project. I'm a final-year engineering student with zero prior cloud experience, and I built this entire agent using only the AWS CLI on Windows — no console clicking, no frameworks, just raw CLI commands and a Python script.
My development process:
- Started with AWS CLI setup — Installed the CLI, configured access keys, and verified with
aws sts get-caller-identity. This alone taught me how IAM credentials work.
- Tackled Bedrock first — I learned that Nova models auto-activate on first invoke (no manual model access request needed anymore). Hit a
ThrottlingExceptionon my new account due to daily token limits — discovered that quotas reset at midnight UTC and planned my schedule accordingly.
- Verified email in SES — Used
aws sesv2 create-email-identityto verify my email. Learned that SES sandbox mode requires verification for both sender and recipient.
- Wrote the Lambda function — A clean Python script that calls Bedrock, formats the response, and sends it via SES. Added error handling so the agent never fails silently — if Bedrock is unavailable, it still sends an email explaining the issue.
- Created IAM roles with least-privilege — Built separate trust policies and permission policies. Only granted
bedrock:InvokeModelfor the specific Nova Micro model,ses:SendEmail, and CloudWatch Logs access.
- Deployed via CLI — Zipped the function, created the Lambda, and set up EventBridge Scheduler — all through command-line commands.
Key challenges and solutions:
- Challenge: Bedrock throttling on new accounts. Solution: Designed the schedule to fire after midnight UTC when quotas reset, and added fallback error handling.
- Challenge: AWS CLI v2 uses
sesv2instead ofsesfor email commands. Solution: Discovered this through trial and error and adapted my commands.
- Challenge: Lambda
Runtime.ExitErroron first deploy. Solution: Simplified the code, removed potential encoding issues from copy-pasting, and redeployed a clean version.
AWS Services Used / Architecture Overview
Architecture Diagram
┌─────────────────────────────────┐
│ EventBridge Scheduler │
│ cron(30 0 * * ? *) │
│ Fires daily at 6:00 AM IST │
└──────────────┬──────────────────┘
│ Triggers
▼
┌─────────────────────────────────┐
│ AWS Lambda │
│ Python 3.12 | arm64 | 256MB │
│ DailyContentSparkAgent │
└──────┬───────────────┬──────────┘
│ │
▼ ▼
┌──────────────┐ ┌──────────────┐
│ Amazon │ │ Amazon SES │
│ Bedrock │ │ │
│ Nova Micro │ │ Sends email │
│ │ │ with content │
│ Generates │ │ idea to me │
│ content idea │ │ │
└──────────────┘ └──────────────┘Services Used
AWS Service | Purpose | Free Tier |
|---|---|---|
AWS Lambda | Core compute — runs the agent logic | 1M free requests/month |
Amazon Bedrock (Nova Micro) | AI model that generates content ideas | Free tier credits for new accounts |
Amazon EventBridge Scheduler | Triggers Lambda daily at 6 AM IST | Free |
Amazon SES | Sends the content idea email | 62,000 free emails/month |
Amazon CloudWatch | Logs and monitoring (proof of execution) | 5GB free |
AWS IAM | Least-privilege roles and policies | Free |
How the Agent is Triggered
The EventBridge Scheduler uses a cron expression
cron(30 0 * * ? *) which fires at 00:30 UTC every day (6:00 AM IST). It invokes the Lambda function through a dedicated IAM role ( ContentSparkSchedulerRole ) that only has permission to invoke this specific function. No human interaction required — ever.
What I Learned
This weekend challenge taught me more about AWS than any tutorial could:
- AWS CLI is powerful — I deployed an entire serverless application without touching the AWS Console once. Every resource (Lambda, IAM roles, EventBridge, SES) was created via CLI commands.
- IAM is the foundation of everything — Understanding trust policies vs. permission policies, and how services assume roles, was the biggest learning curve. But once it clicked, everything made sense.
- Serverless is genuinely free — My entire agent runs within Free Tier limits. Lambda, EventBridge, SES, and Bedrock credits mean this costs me literally $0/month.
- Error handling matters for autonomous agents — Unlike apps where a user can retry, an always-on agent must handle failures gracefully. I built fallback responses so the agent always delivers something.
- Prompt engineering is an art — Getting Bedrock to consistently produce well-structured, creative content ideas required iterating on the prompt multiple times. Temperature and topP settings significantly affect output quality.
- The "always-on" mindset changes everything — Building something that works without you is a different design philosophy. You think about reliability, scheduling, and failure modes differently than a click-to-run app.
As a student with no prior AWS experience, going from zero to a fully deployed autonomous agent in one weekend was incredibly empowering. This is just the beginning.
Link to Repo
The repo includes:
-
lambda_function.py— Complete Lambda function code
-
trust-policy.json— IAM trust policy for Lambda
-
permissions-policy.json— IAM permissions (Bedrock + SES + Logs)
-
scheduler-trust-policy.json— EventBridge scheduler trust policy
-
scheduler-permissions.json— Scheduler invoke permissions
-
README.md— Full documentation with deployment instructions
Built with ☕ and curiosity during the AWS Builder Center Anniversary Weekend Challenge, July 2026.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article