Support inbox triage
Screen, route and prioritize every incoming support message, and hand refund requests to their own flow.
Scenario paths
Pick a predefined path to highlight it through the chain. No model is called; outcomes are illustrative.
- Steps
- Endpoints
- Page the team's on-call
- Team priority queue
- Team standard queue
- Refund request resolution
- General inbox
- Human triage
What each endpoint means
Page the team's on-call · Human review
A person is paged with the message and the team that owns it.
Team priority queue · Automated
Placed at the top of the owning team's queue.
Team standard queue · Automated
Placed in the owning team's normal queue.
Refund request resolution · Handoff
Continues in the refund chain with the same message.
Continues in Refund request resolutionGeneral inbox · Automated
Filed for a weekly sweep; no product team is interrupted.
Human triage · Human review
A support lead reads it and routes it by hand.
Steps
Stop off-topic mail before a team choice is forced onto it.
- In scopeSupport ticket routing
- UnclearHuman triage
- Out of scopeGeneral inbox
Question, inputs and notes
Asks:Is this message asking for help with one of the products or services in `supported_products`?
Receives
- Inputmessage
- Inputsupported_products
- Support ticket routingChoice
Pick the owning team.
- Billing teamRefund request detection
- Technical teamAccount teamShipping teamTicket urgency
- Needs a personHuman triage
Question, inputs and notes
Asks:Which team should handle this support message?
Receives
- Inputsubject and message
- From step 1Confirmation that the message is in scope
Branches
- Billing team: Billing messages are checked for a refund request first.
Move refund requests out of the billing queue and into the refund flow.
- Refund requestedRefund request resolution
- No refund requestUnclearTicket urgency
Question, inputs and notes
Asks:Does the customer ask for money back, a refund, a reversed charge, or a credit for a payment?
Receives
- Inputmessage
- From step 2Team: billing
Branches
- No refund request, Unclear: Stays with billing; an agent can still offer a refund.
- Ticket urgencyScore
Choose the queue inside the owning team.
- Page on-callPage the team's on-call
- Priority queueTeam priority queue
- Standard queueTeam standard queue
- Unclear urgencyHuman triage
Question, inputs and notes
Asks:How soon does this message need a response from the support team?
Receives
- Inputmessage
- From step 2Owning team, for context
About this chain
Goal and input
Every message ends in exactly one place: a team queue, on-call, the refund flow, a general inbox or a person.
The message as it arrived and the products your team supports.
- subject
- Email subject or form title.
- message
- The customer's message.
- supported_products
- Products or services your team covers.
How it runs
- The scope, team, refund and urgency questions all read the same message, so they can be asked in one request. The chain shows how code combines the answers, not the order of API calls.
- Every branch ends somewhere specific. Unclear and low-confidence answers have their own destination instead of being rounded to the nearest option.
Sources (4)
Primary documentation this chain builds on.
- SourcedTypeSafe docs · DocumentationQuick start
- SourcedTypeSafe docs · PatternCompanion Noul
- SourcedTypeSafe docs · PatternRouting by confidence
- SourcedTypeSafe docs · PatternSpeculative fan-out