AWS Builder Center

Weekend Productivity Challenge: Brain Dump Triage

A personal AI tool that turns a messy brain dump into prioritized projects, tasks, and the one thing to do first, built on AWS Lambda and Amazon Bedrock (Nova 2 Lite).

Vision & What the App Does

I usually have too many things in my head at once. Across a handful of side projects and day-job work, my "todo list" lives half in my notes app, half in my head, and half in a vague sense of dread. The problem isn't that I don't know what to do — it's that everything arrives as one undifferentiated blob, and I can't see which item actually matters right now.
So I built Brain Dump Triage. You open one text box, dump everything on your mind exactly as it comes out — deadlines, half-formed ideas, chores, that bug that keeps failing — and hit one button. The app hands it to an AI and gives you back something you can actually act on:
  • Do this first — the single highest-impact next action.
  • Projects — related items grouped into themes, even when you didn't label them.
  • Tasks — each tagged high / medium / low urgency with a one-line reason.
  • Someday / Maybe — ideas worth keeping but not worth acting on today.
  • Needs clarifying — anything too vague, handed back to me as a question.
From the user's side it's deliberately boring: paste, click, read. The value is that the messy-in / structured-out step happens in about three seconds instead of the twenty minutes I'd otherwise spend re-sorting my own brain.


How I Built It

I gave myself the weekend, so my main decision was to keep the moving parts to a minimum. One AI call, no database, no build step. The frontend is a single  index.html  with vanilla JavaScript — no framework, nothing to compile. The backend is a single AWS Lambda function.
The key design choice was making the model return structured JSON instead of prose. If it just wrote paragraphs back, I'd have a nicer-looking notes app and nothing more. So the system prompt pins down an exact JSON shape (projects, tasks, urgency,  one_thing , and so on), and the frontend renders that shape directly into cards and colored priority dots.
The biggest snag was exactly what you'd expect from an LLM: it occasionally wrapped the JSON in a markdown code fence even after I told it not to. Rather than fight the prompt forever, I added a small guard in the Lambda that strips a fence if it sees one and slices out the  { ... }  before parsing. Cheap insurance, and the app stopped throwing errors on those runs.
The bigger challenge was authentication. My first plan was a public Lambda Function URL — one command, public HTTPS, CORS, no API Gateway. It deployed fine, then every request came back  403 Forbidden . The resource policy was textbook-correct, so I dug in: my AWS account lives under an Organization with a guardrail that blocks public, unauthenticated Lambda URLs. That's a sensible security control, and rather than try to defeat it, I leaned into it. I dropped the public URL entirely and made the Lambda IAM-authenticated, then wrote a ~60-line local proxy ( serve_local.py ) that serves the page and invokes the function with my own AWS credentials. For a personal productivity tool that's arguably the right design anyway — there's no public endpoint to secure, and the only person who can call it is me.

AWS Services Used / Architecture Overview

Architecture: browser to a local proxy that invokes an IAM-authenticated Lambda, which calls Amazon Bedrock Nova 2 Lite via the Converse API

Browser (index.html)
│ POST /api { text }
▼
Local proxy (serve_local.py) ── aws lambda invoke (IAM) ──┐
▼
AWS Lambda ── Converse API ──▶ Amazon Bedrock (Nova 2 Lite)
(IAM-authenticated, no public URL) returns structured JSON
  • Amazon Bedrock (Amazon Nova 2 Lite) — the AI that reorganizes and prioritizes the dump. I used the Bedrock Converse API, which gives a clean system/messages interface and works nicely with Nova.
  • AWS Lambda — the serverless backend. It has no public endpoint; it's invoked with my AWS credentials via a small local proxy, so nothing is exposed.
  • IAM — a least-privilege role for the function:  bedrock:InvokeModel  plus basic Lambda logging, nothing else.
Everything runs comfortably inside the AWS Free Tier. A whole deploy is one script: it creates the IAM role, packages the code, and pushes the function.

What I Learned

Two things stuck with me. First, the Bedrock Converse API is genuinely easy to get started with — a system prompt, a messages array, and an inference config was the entire integration, and Nova 2 Lite is fast and cheap enough that the round trip feels instant. Second, I learned to read an AWS  403  as information rather than an obstacle: the Organization guardrail that blocked my public URL was telling me something true about how this account should be used, and the IAM-authenticated design I ended up with is simpler and safer than what I'd originally planned.
The bigger lesson was less about AWS and more about scope. The temptation was to add accounts, history, a database, a nicer UI. The version that actually shipped in a weekend does exactly one thing — turn a mess into a plan — and that focus is the reason it works.
If you want to try it, the full source is in the repo linked at the top. Clone it, point the AWS CLI at your own account, run the deploy script, and you have your own private brain-dump triage in a couple of minutes.
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