AWS Builder Center
Weekend Productivity Challenge: Ticket Triage & Prioritization Assistant

Weekend Productivity Challenge: Ticket Triage & Prioritization Assistant

Created a ticket and prioritization assistant as a productivity tool over the weekend

Vision & What the App Does

Support and ops teams don't usually run out of tickets, they run out of a way to tell which ticket actually matters right now. A shared backlog treats a critical outage and a minor typo fix as equally important the moment they both land in the queue, and by the time someone manually sorts through them, the urgent one has already been sitting too long.
I built a Ticket Triage & Prioritization Assistant to solve that specific problem. You paste a ticket or upload a CSV of several, and the system classifies each one by urgency, category, and business impact using Amazon Bedrock, then runs a separate, deterministic scoring step that combines that classification with how much time has elapsed against a target response window. The result is a ranked queue, highest priority first, with a clear breach flag on anything that's overdue and a visible reason for every ranking.
It's built for support, product ops, or implementation teams managing a shared queue where "what do I look at first" is a real daily question, not a hypothetical one.

How You Built It

I worked through this in phases: the database schema first, then AI classification, then a separate deterministic scoring layer, then an API to wire everything together, then the frontend. The single decision that shaped everything else was keeping classification and scoring as two distinct steps. Bedrock decides what a ticket is, urgency, category, impact. Plain code decides where it ranks, using a fixed formula and a persisted breakdown of every component score. That separation means any ranking can be explained after the fact instead of trusted blindly.
The hardest real obstacle wasn't a design decision, it was a deploy. My AWS SAM deployment got blocked by a permissions error on a CloudFormation transform that persisted even with full administrator access attached, and even after adding an explicit policy targeting that exact action and resource. I ruled out every standard explanation systematically: user policy, permissions boundary, group policy, account-level service control policy. None of them were the cause. Rather than keep chasing an increasingly rare edge case, I converted the stack to raw CloudFormation instead of SAM's shorthand syntax, which never invokes the blocked mechanism at all. The deploy succeeded cleanly afterward, confirmed by the absence of a specific IAM capability flag that's only required when a transform is actually in play.
Two other decisions worth naming: batches are capped at 25 tickets processed with a concurrency pool of 5, sized specifically to stay under API Gateway's 30-second timeout even accounting for Bedrock's slower response times. And one ticket failing classification never takes down the rest of a batch, I proved this live by deliberately pointing the system at an invalid model ID and confirming the batch still returned successfully with only that ticket marked as failed.

AWS Services Used / Architecture Overview

  • Amazon Bedrock (Nova Lite) classifies each ticket's urgency, category, business impact, and recommended action
  • AWS Lambda runs the classification and scoring logic (an orchestrator function) and the ranked-queue reads (a query function)
  • Amazon DynamoDB stores tickets, with a Global Secondary Index sorted by priority score for instant ranked reads with no in-app sorting required
  • Amazon API Gateway (HTTP API) exposes upload and query endpoints with CORS enabled for the browser frontend
  • AWS CloudFormation defines all of the above as infrastructure as code

A browser-based React frontend, hosted on Vercel, calls the API directly. The full request path: frontend to API Gateway to a Lambda that classifies via Bedrock and writes to DynamoDB, with a second Lambda reading the ranked results back out through the DynamoDB index.

What You Learned

The biggest technical lesson was architectural: explainability has to be designed in from the start, not bolted on. Keeping AI judgment and deterministic scoring separate, and persisting the full score breakdown on every ticket, meant I could always answer "why did this rank here" with a real number, not a shrug.
The biggest process lesson was about debugging discipline. When the deploy kept failing for a reason that made no sense given the permissions attached, the fix wasn't trying things faster, it was eliminating possible causes systematically, one layer at a time, until the actual scope of the problem was clear. And when that process ruled out every standard explanation, the right call was switching approaches entirely rather than continuing to chase a diminishing-returns problem.
One honest limitation worth naming: the classification step leans toward one category more often than I expected in testing. It doesn't affect scoring or ranking correctness, but it's a real, specific thing I'd tighten with more time, better prompt examples for the category boundaries.
The scoring design itself isn't theoretical for me. The SLA-risk calculation mirrors the same severity-based triage judgment I used managing a real ticket backlog with a defined response-time SLA in a previous product role, just expressed as deterministic code instead of a manual process.

Link to App or Repo

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