About request-triage
Data is fictional.
All tour operators, requests and quotes in this app are made up for demonstration. Any resemblance to real companies is coincidental. Bokun is a real booking platform and is mentioned only as an integration clients talk about.
What it is
A small tool that turns a pile of client requests into a ranked list of themes and a requirement doc for the top one. It shows the whole path from “what clients said” to “what we build next and how we’ll know it worked”. Every number on the board can be traced back to the requests behind it.
Who it’s for
- Product managers and founders of booking software for tour operators.
- Anyone who gets feature requests from many clients across support, sales and email and has to decide what comes first.
- Teams that want prioritisation decisions to be explainable: which clients asked, how much it hurts, and how hard it is to build.
How it works
- 1
Collect
Client requests from tour operators arrive by call, ticket and email. Each request records the operator, their country, their size (bookings per month), the channel and the client's own words.
- 2
Group by meaning
An LLM groups the requests into themes by what clients need, not by the words they use. Requests that match no other request stay unclustered.
- 3
Score
Each theme gets a pain rating (1–3) and an effort rating (S/M/L), each with a one-sentence reason. Code then computes score = operators asking × pain × log₁₀(total bookings) ÷ effort weight.
- 4
Prioritise
Manual overrides go first: a product decision can place a theme in a column regardless of its score, with a written reason and a first step. The remaining themes follow the score and fill Now (1 theme), Next (up to 3) and Inbox. Requests outside themes are routed to support, put on the backlog or left unclustered.
- 5
Specify
The top theme gets a full requirement doc: problem with client quotes, who is affected, user story, scope, Given/When/Then criteria, Definition of Done, a 30-day success metric and open questions.
Built with Next.js 15 (App Router), TypeScript and Tailwind CSS. Pages are prerendered as static HTML.
The prompt
This exact prompt produced data/triage.json. The model wrote the grouping, problem statements and the pain and effort ratings. A script computed the counts and scores.
Read /data/requests.json. Group requests into themes by meaning (not keywords). For each theme output: id, name, one-line problem statement, requestIds, operatorsAsking, totalBookings, pain (1–3, with a one-sentence reason), effort (S/M/L, with a one-sentence reason). List requests that don't fit any theme separately as "unclustered". Compute score = operatorsAsking * pain * log10(totalBookings) / effortWeight (S=1, M=2, L=3). Save to /data/triage.json, sorted by score. Also save the exact prompt you used to /data/PROMPT.md.
Source: data/PROMPT.md
Decisions log
My product decisions
Manual calls made on top of the score, by Szymon.
P-001Bokun sync moved to Now despite rank #2— Szymon
- Why:
- Overbookings, refunds and duplicate bookings hurt the operators' own guests and cost them money right now. The score ranks it #2 only because effort is L – it doesn't capture that kind of risk.
- Decision:
- Manual override: Bokun sync reliability goes to Now. First step: quick fix this week – stop duplicate bookings from re-delivered Bokun webhooks (REQ-021). Then the full sync work. Guide payouts (#1 by score, spec ready) is next up.
P-002REQ-019 excluded from triage— Szymon
- Why:
- It's a support case (account recovery), not a product need.
- Decision:
- Routed to support and marked "Routed to support – not a product need" instead of unclustered.
P-003Japanese localisation goes to the backlog with low priority— Szymon
- Why:
- One request isn't enough evidence, but it's a signal worth tracking.
- Decision:
- REQ-012 is marked "Backlog · low priority". Revisit if more operators ask.
Technical decisions (prototype)
How the prototype is built.
D-001No database: data lives in JSON and Markdown files
- Why:
- This is a prototype of the triage workflow. Saving changes and letting several people edit are out of scope.
- Decision:
- Requests, triage output, requirements and decisions are files in /data, read at build time. Every page is prerendered as static HTML. We revisit this when the UI needs editing.
D-002Group requests by meaning with an LLM, and keep the result as a file
- Why:
- Clients describe the same need in different words, so grouping by keywords misses most of the overlap.
- Decision:
- An LLM grouped the requests into themes and rated pain and effort, using the prompt in data/PROMPT.md. The result is saved in data/triage.json, which is the single source of truth for themes. Raw requests are never edited.
D-003Rank by a transparent score, not by request count
- Why:
- A loud operator sending many tickets shouldn't outrank a need shared by many operators, and one very large operator shouldn't dominate either.
- Decision:
- score = operatorsAsking × pain × log10(totalBookings) ÷ effortWeight (S=1, M=2, L=3). Each operator is counted once per theme. log10 dampens the effect of operator size. Arithmetic is done by code, judgments by the model.
D-004Board columns are derived from the ranking
- Why:
- A status workflow (New → Done) doesn't say what to build first.
- Decision:
- Columns follow the ranking (#1 Now, #2–4 Next, rest Inbox), unless a theme has a manual override – then it goes to its override column first.
D-005Full requirement docs are Markdown files
- Why:
- A requirement doc is long text (quotes, scope, Given/When/Then) that people review and edit as text.
- Decision:
- The top theme has a full doc in data/requirements/<themeId>.md, rendered on /requirement/[themeId]. The other themes fall back to the short notes in requirements.json.
Limitations
- Read-only. Changing anything means editing the files in /data and redeploying. You can't edit, re-triage or comment in the UI.
- The grouping and the pain and effort ratings were produced once by an LLM and saved. They are judgment calls, not computed facts, and a new run could produce different results.
- The dataset is tiny (22 requests) and the score has never been checked against real outcomes. Total bookings stands in for impact; it doesn't measure revenue.
- Only the top theme has a full requirement doc. The others have short notes.
- No accounts or permissions. Everything is public.
- Country flags are emoji, so Windows shows them as letter codes (e.g. IS, GB).