Agent Playground
Recipe: Support inbox triage
Claude sorts a support ticket into refund, bug, how-to or spam; refunds wait for a person and how-to gets a drafted reply. What it does, when to use it, how to make it yours, and what a run costs.
Has Claude sort a customer support ticket into refund, bug, how-to or spam, and takes a different path for each. Refunds always wait for a person, how-to questions get a drafted reply, bugs get a bug report, and spam is ignored.
| At a glance | Notes |
|---|---|
| Category | Safety |
| Shape | An AI choice with four ways |
| Plan | Free and up |
| Needs a Claude key | Yes |
| Limits it comes with | 1 loop, 900 seconds, $0.10 |
When to use it
- A shared inbox or help desk where every message needs sorting before anyone can act.
- You want AI to do the sorting and drafting, and people to make the decisions that cost money.
- A form on your website should start the flow for each new message (with a webhook trigger).
Run it
- Open Agent Playground in the dashboard and find Support inbox triage under Start from a recipe. In the builder, Recipes in the toolbar lists them too.
- Choose Use this recipe. It becomes a flow of your own, so changing it never changes the recipe.
- If you haven't yet, save your Claude key under Policies → Secrets. The builder offers Go to Secrets if it's missing.
- Choose Simulate to see the forecast, then Run.
- When the run waits for a person, approve or deny it from the banner, from Approvals, or from the approval email.
What you'll see: The sample ticket is sorted and the run takes that choice's path. Open Sort the ticket to see the choice Claude made, and the tokens and cost (a fraction of a cent). On the how-to path, Draft a reply writes a short answer using only what the help pages say, and Save the draft keeps it. It isn't sent.
Make it yours
- Edit the ticket in Read the ticket to try other kinds, and add your own help pages.
- Load real tickets: export them from your help desk, or start the flow from a Webhook trigger and read the ticket from
.qr/trigger.json. - Change the choices in Sort the ticket to fit your inbox (2 to 6 choices), and give each its own path.
- Keep the Approval on refunds. Send drafted replies back to your help desk as drafts for a person to send.
- Keep the line in the prompt that tells Claude to treat the ticket as text to sort, not as instructions.
What a run costs
These are the builder's own forecast for the recipe as it comes, with its limits, rounded. Simulate shows the same numbers for your version, and they change as you change the flow.
| Notes | Typical | 1 in 10 runs | At most |
|---|---|---|---|
| Sandbox time | $0.0002 | $0.0020 | $0.04 |
| Claude, on your key | $0.0003 | $0.0025 | the run's spend limit |
| How long it takes | 19 seconds | about 3 minutes | 900 seconds |
A typical run uses $0.0002 of sandbox time, so about 4,200 runs cost $1, and every plan includes $5 of usage a month. The time includes a person taking a minute or two to answer the approval. The clock, and the sandbox, keep running while the run waits. Claude is billed by Anthropic to your own key, at their usual prices. The run counts it toward its spend limit, so it can't overspend, but we don't charge you for it. At most is the most a run could cost with these limits: it stops at $0.10 or 900 seconds, whichever comes first.