Workflow library
Choose a billing workflow with every boundary stated
Filter four sample paths, then inspect tools, stop rules and handoff evidence.
Matches the workflow name, its summary and its tools.
Risk level
4 workflows shown
Selected workflow
Refund request
Explain the charge, stop at the refund ceiling and hand over the researched case.
- Sample ticket
- ZD-4821
- Risk
- Human only
- Amount
- $70.97
- Approver
- Dana Okonjo · billing on-call
Close condition
Close only after Dana approves the $70.97 refund and replies.
Boundary matrix
Tools and rules
Sample frontend state. Connect these names to your own policy and tool layer.
| Permission | Tool | Rule |
|---|---|---|
| Allowed | stripe.subscriptions.retrieve | sub_1P7dK2 · Solo $39 to Studio $149 |
| Allowed | stripe.invoices.retrieve | in_9QtL4M · +$96.13 minus $25.16 |
| Allowed | docs.search | Billing policy §3 · refund ceiling $50 |
| Denied | stripe.refunds.create | $70.97 exceeds the $50 ceiling by $20.97 |
Example run
Sample frontend state
Ordered fixtures show why this path closes or stops. No tool executes here.
Sample ticket received
Priya asks about the $70.97 proration charge
SuccessPolicy denied the refund
Billing policy §3 stops a refund above $50
Policy deniedResearch handed over
Dana receives the invoice, arithmetic, policy and draft
Escalation
Handoff contract
Evidence for a person
Evidence attached
- in_9QtL4M · $70.97 · 12 Mar
- +$96.13 minus $25.16 over 20 of 31 days
- Billing policy §3 · $50 ceiling
- Reply drafted for Priya Raghunathan
Owner
Dana Okonjo · billing on-call
Billing review queue
Recovery
Dana approves, edits or declines the refund from the researched brief.
Buyer checklist
What you must wire
- Sample
Invoice reads
The fixture uses in_9QtL4M
- Configured
Policy rule
The $50 ceiling matches Relay's sample
- Frontend only
Approval action
Connect your queue and refund executor
Put Relay on the billing queue
Connect Stripe and one helpdesk, approve its first 50 replies, then let it send.
- No card to start
- You approve its first 50 replies
- Cancel any month