---
title: Recipe: Support inbox triage · Agent Playground docs
description: 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.
url: https://www.quietrobot.ai/docs/playground/recipes/support-triage
---

# 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 | |
|---|---|
| **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 |

```flow
{"title": "Support inbox triage, as it is on the canvas.", "nodes": [["ticket", "run", "Read the ticket"], ["sort", "choice", "Sort the ticket", "refund · bug · how-to · spam"], ["approve", "approval", "Refund this customer?"], ["refund", "run", "Record the refund", "no internet"], ["denied", "end", "No refund"], ["issue", "run", "Draft a bug report", "no internet"], ["reply", "model", "Draft a reply"], ["saved", "run", "Save the draft"], ["spam", "end", "Ignore spam"]], "edges": [["ticket", "sort"], ["sort", "approve", "refund"], ["sort", "issue", "bug"], ["sort", "reply", "how-to"], ["sort", "spam", "spam"], ["approve", "refund", "Approved"], ["approve", "denied", "Denied"], ["reply", "saved"]]}
```

<figure class="shot">
  <img class="art-light" src="/docs/playground/recipes/support-triage-light.webp" alt="The Support inbox triage recipe open in the builder, ready to run." width="1440" height="900" loading="lazy">
  <img class="art-dark" src="/docs/playground/recipes/support-triage-dark.webp" alt="" width="1440" height="900" loading="lazy">
  <figcaption>The recipe in the builder. It needs your Claude key before it can run.</figcaption>
</figure>

## 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

1. 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.
2. Choose **Use this recipe**. It becomes a flow of your own, so changing it never changes the recipe.
3. If you haven't yet, [save your Claude key](https://www.quietrobot.ai/docs/playground/ai-steps#add-your-claude-key) under **Policies → Secrets**. The builder offers **Go to Secrets** if it's missing.
4. Choose **Simulate** to see the forecast, then **Run**.
5. 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

1. Edit the ticket in **Read the ticket** to try other kinds, and add your own help pages.
2. 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`.
3. Change the choices in **Sort the ticket** to fit your inbox (2 to 6 choices), and give each its own path.
4. Keep the **Approval** on refunds. Send drafted replies back to your help desk as drafts for a person to send.
5. 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.

| | 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.

## Related

* [Tutorial 5: Add AI to a flow](https://www.quietrobot.ai/docs/playground/tutorials/ai-steps)
* [Tutorial 6: Run a flow on its own](https://www.quietrobot.ai/docs/playground/tutorials/triggers)
* [Safety recipes](https://www.quietrobot.ai/docs/playground/recipes/safety)
* [All recipes](https://www.quietrobot.ai/docs/playground/recipes)
