AWS Builder Center

Weekend Productivity Challenge: AI Task Prioritizer

Dump your messy to-do list into one box and let Amazon Bedrock (Nova) re-rank everything by urgency × impact in a single click, with a one-line reason for each. A tiny, fully serverless build on Lambda, API Gateway, and DynamoDB.

Vision & What the App Does

Honestly, this challenge landed at the perfect moment. Lately I've been juggling a pile of projects and tasks all at once, and I ended up falling behind, not because the work was too hard, but because nothing was prioritized. Everything sat in one undifferentiated heap and I kept spending energy just deciding what to touch next. So when I read the prompt, the idea for this app basically wrote itself: build the exact thing I personally needed this week.
Every to-do list I've ever kept has the same problem: everything looks equally important when it's just a flat list of text. "Water the office plants" sits right next to "Fix the production bug crashing checkout," and my brain has to re-triage the whole thing every single time I look at it. The mental overhead of deciding what to do next is often bigger than the tasks themselves.
AI Task Prioritizer fixes exactly that. You dump your tasks into a single box, no due-date pickers, no tags, no projects, no ceremony. Then you press one button: 
✨ Prioritize with AI.
Amazon Bedrock (Nova Lite) reads your list and, for each task, estimates an urgency score (1–5) and an impact score (1–5), multiplies them into a single priority score (1–25), and writes a one-line justification. The list instantly re-sorts so the highest-leverage work floats to the top, with the #1 task highlighted.
From a user's perspective the whole loop is: type a few tasks → click Prioritize → get an ordered list with reasoning like "Critical bug affecting revenue" (score 25) above "Social obligation, low impact" (score 4). Check off what's done, delete what's stale. There's no sign-up, each browser gets its own private list, so you can try it in five seconds. It's deliberately a tool that does one thing well.

How You Built It

I gave myself one rule for the weekend: start simple and deploy early. I picked the "task prioritizer" idea from the challenge prompt because the AI value is obvious and the surface area is tiny.
The whole thing is a single AWS Lambda function that serves both the static frontend (one HTML page, one CSS file, one JS file, embedded in the deployment package) and the JSON API. Same-origin means zero CORS headaches. The frontend is vanilla JS, no framework, no build step, which kept iteration fast.
The one real challenge I hit was infrastructure, not code. My first instinct was a Lambda Function URL (the cheapest possible public entry point). It deployed fine, but every request returned  403 Forbidden . After checking the resource policy (which was correct) I realised the AWS account sits under an Organization with a Service Control Policy that denies  lambda:InvokeFunctionUrl . Rather than fight the guardrail, I put an API Gateway HTTP API in front of the same Lambda, it uses the  execute-api  action, which the SCP allows, and its v2 payload format is identical to a Function URL, so I didn't change a single line of Lambda code.
For the AI call I used the Bedrock Converse API, which gives a clean, model- agnostic request shape. I send a system prompt that pins the exact JSON schema I want back, pass the tasks as JSON, and parse the response defensively (slicing between the first  [  and last  ] ) before persisting scores to DynamoDB. Everything is defined in Terraform, so the entire stack stands up (or tears down) with one command.

AWS Services Used / Architecture Overview

Browser (vanilla JS, localStorage client-id)
│ HTTPS
▼
API Gateway (HTTP API) ──► AWS Lambda (Node.js 22, arm64)
│ serves HTML/CSS/JS + JSON API
├──► Amazon DynamoDB (tasks, on-demand)
└──► Amazon Bedrock — Nova Lite (Converse API)
CloudWatch Logs · IAM least-privilege role

  • Amazon Bedrock (Nova Lite): the AI brain; scores urgency × impact and explains each ranking.
  • AWS Lambda: single function serving the frontend and the API.
  • Amazon API Gateway (HTTP API): public, throttled entry point.
  • Amazon DynamoDB: on-demand table storing tasks per client-id.
  • IAM + CloudWatch: least-privilege role (Bedrock InvokeModel + this one table only) and logs.
All serverless, all pay-per-use, comfortably inside the Free Tier for personal use.

What You Learned

Three takeaways. First, the Bedrock Converse API is a joy, a consistent interface across models meant I could prototype against Nova Lite in minutes, and a strict "return only JSON" system prompt made the output trivial to consume. Second, org guardrails are a design input, not a bug, discovering the Function-URL SCP pushed me to API Gateway, which is arguably the better production choice anyway (throttling, future auth, WAF). Because HTTP API's payload mirrors Function URLs, the migration cost was zero. Third, "one Lambda serves everything" is an underrated pattern for weekend-sized apps: no separate frontend host, no CORS, one thing to deploy, one thing to delete.
The biggest surprise was how good the prioritization felt on messy, real-world lists. Giving the model the simple urgency × impact framing produced rankings I actually agreed with, and the one-line reasons made me trust it.
But testing it on my own real tasks also taught me where AI prioritization has limits, and that turned out to be the most valuable lesson. Two things stood out. First, the model doesn't know today's date, so a task due "Wednesday" (two days away) and one due "next Tuesday" (over a week away) can get the same urgency, it reasons from the tone of the words, not the actual calendar distance. Second, it tends to under-weight quiet caregiving tasks (e.g., buying supplies for an elderly family member) that matter more than their plain wording suggests. The fix is easy, feed the model the current date and nudge it to weigh deadline proximity and human-care tasks, but the deeper takeaway is that AI prioritization is a great first pass, not a final verdict. It clears the mental fog of a flat list in one click; you still bring the context only you have. That human-in-the-loop framing is how I'll keep building AI tools going forward.

Link to Repo & Demo

  • Demo video:  https://youtu.be/JGWxEv2I2yA , watch me add a messy list and hit Prioritize with AI to see it re-sort by urgency × impact in one click.
The full stack is Terraform in the repo, so anyone can  terraform apply  it into their own AWS account (Bedrock Nova region required).
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article