
Weekend Annoying Task Challenge: SmartDigest AI
SmartDigest AI is a fully autonomous, AI-powered weekly digest agent that collects 50+ newsletters and RSS feeds, uses Amazon Bedrock Nova to intelligently summarize and prioritize every article, and delivers one clean weekly digest via email and web dashboard — completely hands-free, every Monday morning.



SmartDigest AI is an AI-powered content curation agent that runs completely on its own — no buttons to click, no apps to open, no feeds to scroll through. Every single Monday at 6:00 AM UTC, while I'm still starting my week, this agent wakes up, collects articles from 50+ RSS feeds and newsletters, uses artificial intelligence to analyze, summarize, and prioritize every single piece of content, and delivers a single, clean, beautifully formatted digest straight to my email inbox and a live web dashboard.
The Problem It Solves
Every week, knowledge workers like me waste 30-60 minutes scanning through dozens of newsletters, RSS feeds, blog subscriptions, and tech updates trying to find what actually matters. We subscribe to AWS blogs, Hacker News, DEV Community, TechCrunch, Reddit threads, Python updates, and more. By Monday morning, our inboxes are flooded with unread content. Our RSS readers show 100+ unread items. We skim everything because we're afraid of missing something critical — yet we retain almost nothing.
This weekly ritual wastes productive hours and leaves us mentally drained before the workweek even begins. SmartDigest AI eliminates that friction entirely. By the time I open my inbox on Monday morning, a beautifully formatted, AI-prioritized summary is already waiting for me.
What Triggers It
The agent is triggered by Amazon EventBridge Scheduler using a cron expression (cron(0 6 ? * MON *)) that fires at 6:00 AM UTC every Monday — rain or shine, holidays included. It never misses a week.
What It Does On Its Own
Once triggered, the agent autonomously performs these steps:
Fetches articles from all configured RSS feeds (AWS Blog, Hacker News, DEV Community, TechCrunch, Reddit r/aws, Python Blog, and more) using the feedparser library
Deduplicates content by generating unique hashes for each article URL, ensuring no article is processed twice
Stores raw articles in Amazon DynamoDB with metadata (title, description, source, category, timestamp)
Sends each article to Amazon Bedrock (Nova Micro model) which uses AI to generate a concise 2-3 sentence summary, assign a priority score, and extract relevant topic tags
Prioritizes content into three actionable tiers:
🔴 Must Read — Breaking news, critical updates, actionable information you cannot afford to miss
🟡 Worth Knowing — Informative content that adds value but isn't urgent
🟢 Optional — Nice-to-have background reading for when you have spare time
Generates a weekly digest document with all articles sorted by priority
Delivers the final digest via Amazon SES directly to my email AND uploads it to an S3-hosted web dashboard
How It Reports Back
The agent sends a beautifully formatted email with a subject line like "🧠 Your SmartDigest: 3 must-reads this week". The email includes priority-coded sections with color indicators, concise AI-generated summaries for each article, clickable source links, topic tags for quick scanning, and statistics showing how many articles were processed across each priority tier — all composed in a clean, scannable format by the Nova AI model.
Instead of spending an hour scanning 50+ articles, I spend 5 minutes reading one curated digest. Zero noise. One digest. Every Monday.
How I Built It
Development Process
I started by identifying the core value proposition: the best productivity tool is one you never have to open. With that philosophy, I designed the agent to be completely autonomous from day one — no dashboard to check, no button to press, no manual trigger needed.
My development process followed these steps:
Planning the architecture — I mapped out which AWS services would handle each responsibility (scheduling, compute, AI processing, storage, notifications, frontend)
Building the feed collector — I wrote a Python Lambda function to pull articles from multiple RSS feeds using feedparser, with proper error handling and deduplication logic
Integrating Amazon Bedrock — This was the AI brain of the agent. I crafted a detailed prompt that instructs the Nova Micro model to analyze each article, generate a summary, assign a priority level, and extract topic tags in structured JSON format
Building the digest generator — I wrote logic to compile all summarized articles into a priority-sorted weekly digest document
Setting up delivery — I configured Amazon SES for email delivery and S3 for the web dashboard, with a Lambda function that generates beautiful HTML
Infrastructure as Code — I wrote a complete SAM template (template.yaml) so the entire stack can be deployed with a single command
Frontend dashboard — I built a clean web interface where I can view past digests, manage feed sources, and trigger on-demand generation
Key Decisions
Chose Amazon Nova Micro over larger models because it's fast, cost-effective, and more than capable for text summarization and classification tasks
Used SES instead of SNS for richer HTML email formatting with priority-coded sections, color indicators, and clickable links
Built with three separate Lambda functions (Collector → Summarizer → Delivery) for clean separation of concerns and independent error handling
Used DynamoDB on-demand billing — three tables that cost nothing 99% of the time and scale automatically during the Monday morning burst
Added fallback responses — if any RSS feed fails or Bedrock returns malformed JSON, the agent still generates a useful digest rather than crashing
Event-driven async chaining — each Lambda invokes the next asynchronously, preventing timeout cascades
Challenges & Solutions
Challenge 1: RSS Feed Format Inconsistency
Every RSS feed is different. Some use <description>, others use <summary>. Some embed full HTML with images and scripts, others provide plain text. Some have dates in RFC 822 format, others use ISO 8601, and some have no dates at all.
Solution: Used the feedparser Python library which handles 95% of format variations automatically. For remaining edge cases, I built a clean_html() function that strips all HTML tags and truncates content to 2000 characters, ensuring clean text reaches the AI model regardless of source format.
Challenge 2: Bedrock Response Parsing
The Nova Micro model has a specific request/response format. Additionally, it occasionally returns responses that aren't perfectly formatted JSON — sometimes adding explanatory text before or after the JSON block, or using slightly different key names.
Solution: Used the Converse API with the correct messages array format and inferenceConfig containing maxTokens, temperature, and topP parameters. Implemented a two-tier parsing strategy: first attempt strict JSON parsing, then fall back to extracting what's available and assigning safe defaults (medium priority, truncated text as summary).
Challenge 3: Priority Score Calibration
In my first tests, the AI marked 80% of articles as "high priority" — making the prioritization completely useless. If everything is urgent, nothing is.
Solution: Rewrote the prompt with explicit, mutually exclusive criteria:
High = "Only if it requires immediate action OR is breaking news that changes how you work"
Medium = "Informative and valuable, but no immediate action needed"
Low = "Background knowledge, tutorials, or roundups you can read anytime"
Adding these precise definitions reduced high-priority articles to a realistic 15-20% of the total.
Challenge 4: Git and Deployment
As a builder pushing to GitHub and deploying with SAM, I encountered path issues, authentication challenges, and folder structure decisions.
Solution: Learned about Git initialization in the correct directory, personal access tokens for GitHub authentication, SAM guided deployments, and how to structure a multi-Lambda project for clean deployment.
AWS Services Used / Architecture Overview
Services Used
AWS Service
Purpose
Free Tier
Amazon Bedrock (Nova Micro) AI text generation — summarizes articles and assigns priority scores Free tier credits
AWS Lambda (Python 3.12) × 3 Serverless compute — Feed Collector, AI Summarizer, Digest Delivery 1M free requests/month
Amazon EventBridge Scheduler Cron trigger — wakes the agent every Monday at 6 AM UTC Free
Amazon DynamoDB × 3 tables Storage — feeds config, raw articles, generated digests 25GB free storage
Amazon S3 Static website hosting — frontend dashboard 5GB free storage
Amazon SES Email delivery — sends the formatted weekly digest 62,000 free emails/month
Amazon API Gateway REST API — frontend communicates with backend 1M free calls/month
AWS SAM / CloudFormation Infrastructure as Code — deploys everything Free
Amazon CloudWatch Logs Monitoring and debugging 5GB free/month
Architecture Overview
┌─────────────────────────┐
│ Amazon EventBridge │
│ Scheduler │──── Triggers at 6:00 AM UTC every Monday
│ cron(0 6 ? * MON *) │
└───────────┬─────────────┘
│
▼
┌─────────────────────────┐
│ AWS Lambda #1 │
│ (Feed Collector) │
│ │
│ ┌─────────────────┐ │ ┌────────────────────┐
│ │ fetch_rss_feeds()│───┼────▶│ RSS Feed Sources │
│ └─────────────────┘ │ │ (50+ feeds) │
│ │ └────────────────────┘
│ ┌─────────────────┐ │ ┌────────────────────┐
│ │ store_articles() │───┼────▶│ DynamoDB │
│ └─────────────────┘ │ │ (Articles Table) │
│ │ └────────────────────┘
│ ┌─────────────────┐ │
│ │ trigger_next() │───┼──── Async invoke Lambda #2
│ └─────────────────┘ │
└─────────────────────────┘
│
▼
┌─────────────────────────┐
│ AWS Lambda #2 │
│ (AI Summarizer) │
│ │
│ ┌─────────────────┐ │ ┌────────────────────┐
│ │ get_pending() │───┼────▶│ DynamoDB │
│ └─────────────────┘ │ │ (Read Articles) │
│ │ └────────────────────┘
│ ┌─────────────────┐ │ ┌────────────────────┐
│ │ summarize_with_ │───┼────▶│ Amazon Bedrock │
│ │ bedrock() │ │ │ (Nova Micro) │
│ └─────────────────┘ │ └────────────────────┘
│ │
│ ┌─────────────────┐ │ ┌────────────────────┐
│ │ generate_digest()│───┼────▶│ DynamoDB │
│ └─────────────────┘ │ │ (Digests Table) │
│ │ └────────────────────┘
│ ┌─────────────────┐ │
│ │ trigger_next() │───┼──── Async invoke Lambda #3
│ └─────────────────┘ │
└─────────────────────────┘
│
▼
┌─────────────────────────┐
│ AWS Lambda #3 │
│ (Digest Delivery) │
│ │
│ ┌─────────────────┐ │ ┌────────────────────┐
│ │ generate_html() │───┼────▶│ Amazon S3 │
│ └─────────────────┘ │ │ (Web Dashboard) │
│ │ └────────────────────┘
│ ┌─────────────────┐ │ ┌────────────────────┐
│ │ send_email() │───┼────▶│ Amazon SES │
│ └─────────────────┘ │ │ (Email Delivery) │
│ │ └────────────────────┘
└─────────────────────────┘
┌─────────────────────────┐
│ Amazon API Gateway │
│ (REST API) │◀──── Frontend Dashboard
│ │ (S3 Static Site)
│ GET /digest/latest │
│ GET /feeds │
│ POST /feeds │
└─────────────────────────┘How the Agent is Triggered
The agent uses Amazon EventBridge Scheduler with a cron expression. Every Monday at 6:00 AM UTC, EventBridge automatically invokes the Feed Collector Lambda function. No manual intervention is needed — the agent runs 52 weeks a year, completely hands-free.
Once triggered, the pipeline flows automatically:
⏰ 6:00 AM UTC Monday — EventBridge fires the scheduled event
📡 Feed Collector activates → fetches all RSS feeds → parses new articles → stores in DynamoDB → invokes AI Summarizer (async)
🤖 AI Summarizer activates → retrieves pending articles → sends each to Bedrock Nova → receives summary + priority + tags → generates weekly digest → invokes Delivery (async)
📬 Digest Delivery activates → generates HTML → uploads to S3 dashboard → sends email via SES
✅ Done — Digest arrives in inbox by ~6:05 AM UTC
The entire infrastructure is defined in a single template.yaml file using AWS SAM, making it reproducible and deployable with just two commands: sam build and sam deploy --guided.
What I Learned
This weekend challenge taught me several valuable skills and concepts:
- Amazon Bedrock Integration I learned how to call Amazon Bedrock's Nova models from Lambda using the boto3 client and the Converse API. Understanding the message format, inference configuration (temperature: 0.3, topP: 0.9, maxTokens: 500), and response parsing was a key learning. The Nova Micro model is impressively fast and capable for text summarization and classification tasks — processing each article in under 2 seconds.
- Event-Driven Architecture Building an agent that runs on its own taught me the power of event-driven design. Instead of building a UI and waiting for user input, I designed a system that delivers value proactively. This mindset shift — from reactive to proactive — is something I'll carry into every future project. The best tools work for you while you're away.
- Serverless Best Practices I learned about Lambda timeout configuration (300s for collector, 900s for summarizer), environment variable management for configuration, IAM policy scoping for Bedrock, DynamoDB, SES, and S3, and how to structure a multi-Lambda project for SAM deployment. The key insight: each function should do one thing well.
- Infrastructure as Code Writing the SAM template taught me how to define Lambda functions, EventBridge rules, DynamoDB tables, S3 buckets, API Gateway endpoints, and all IAM permissions in a single YAML file. The sam deploy --guided experience made deployment approachable and repeatable. I can tear down and redeploy the entire stack in under 3 minutes.
- Prompt Engineering for Structured Output Getting AI to return consistent, parseable JSON required explicit format specification, mutually exclusive category definitions, concrete examples of each priority level, and a fallback parsing strategy. The biggest lesson: AI needs clear, precise instructions — vague prompts produce inconsistent results.
- Error Handling & Resilience I built the agent with graceful degradation — if one RSS feed fails, the agent still processes all others. If Bedrock returns malformed JSON, a fallback parser assigns safe defaults. If SES fails, the S3 dashboard still gets updated. This resilience-first approach ensures the agent never completely fails, even when individual components have issues.
- The "Always-On" Philosophy The biggest takeaway: the best tools work for you while you're away. This challenge pushed me to think beyond traditional request-response applications and build something that creates value autonomously, silently, and reliably — 52 weeks a year without a single click.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article