quiet robot

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.

View as Markdown

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 glanceNotes
CategorySafety
ShapeAn AI choice with four ways
PlanFree and up
Needs a Claude keyYes
Limits it comes with1 loop, 900 seconds, $0.10
Support inbox triage, as it is on the canvas.Read the ticket (Run command), Sort the ticket (AI choice), Refund this customer? (Approval), Record the refund (Run command), No refund (Output), Draft a bug report (Run command), Draft a reply (Ask AI), Save the draft (Run command), Ignore spam (Output). Arrows: Read the ticket to Sort the ticket; Sort the ticket to Refund this customer? on refund; Sort the ticket to Draft a bug report on bug; Sort the ticket to Draft a reply on how-to; Sort the ticket to Ignore spam on spam; Refund this customer? to Record the refund on Approved; Refund this customer? to No refund on Denied; Draft a reply to Save the draft.refundbughow-tospamApprovedDenied>_ RUN COMMANDRead the ticket◆ AI CHOICESort the ticketrefund · bug · how-to · spam✋ APPROVALRefund this customer?>_ RUN COMMANDRecord the refundno internet⚑ OUTPUTNo refund>_ RUN COMMANDDraft a bug reportno internet✦ ASK AIDraft a reply>_ RUN COMMANDSave the draft⚑ OUTPUTIgnore spam
Support inbox triage, as it is on the canvas.
The Support inbox triage recipe open in the builder, ready to run.
The recipe in the builder. It needs your Claude key before it can run.

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

NotesTypical1 in 10 runsAt most
Sandbox time$0.0002$0.0020$0.04
Claude, on your key$0.0003$0.0025the run's spend limit
How long it takes19 secondsabout 3 minutes900 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.

  • Agent PlaygroundQuickstart: build and run your first flow
  • Agent PlaygroundBlocks
  • Agent PlaygroundRecipes
  • SandboxesQuickstart: your first sandbox
  • SandboxesMCP server
  • SandboxesAPI reference