quiet robot

Recipe: Draft replies to support emails

Goes through the inbox one email at a time and drafts a friendly reply from your help pages. A person reads them before any is sent. What it does, when to use it, how to make it yours, and what a run costs.

View as Markdown

Goes through an inbox one email at a time and drafts a short, friendly reply to each from your help pages. When every email has a draft, a person reads them and marks them ready to send. Nothing is sent from the sandbox.

At a glanceNotes
LevelEveryday
CategoryCustomers
ShapeA loop over the inbox, then a person
PlanFree and up
Needs a Claude keyYes
Limits it comes with6 loops, 900 seconds, $0.25
Draft replies to support emails, as it is on the canvas.Open the inbox (Run command), Any email left? (Decide), Draft a reply (Ask AI), File the draft (Run command), Read the drafts (Approval), Mark them ready (Run command), Keep as drafts (Output). Arrows: Open the inbox to Any email left?; Any email left? to Draft a reply on Yes; Draft a reply to File the draft; File the draft to Any email left?; Any email left? to Read the drafts on No; Read the drafts to Mark them ready on Approved; Read the drafts to Keep as drafts on Denied.YesNoApprovedDenied>_ RUN COMMANDOpen the inbox◆ DECIDEAny email left?✦ ASK AIDraft a reply>_ RUN COMMANDFile the draft✋ APPROVALRead the drafts>_ RUN COMMANDMark them ready⚑ OUTPUTKeep as drafts
Draft replies to support emails, as it is on the canvas.
Try it nowSimulateRun

Opens it in the Playground as a flow of your own. Simulate shows what a run costs. Run asks before it starts.

The steps

StepBlockWhat it does
Open the inboxRun commandSaves four sample customer emails and the shop's help pages.
Any email left?DecidePicks the next email without a draft. No when every email has one.
Draft a replyAsk AI, TextClaude drafts a reply using only the help pages. Refunds, and anything the pages don't cover, get "a person will follow up today".
File the draftRun commandSaves the draft next to the others, then goes back for the next email.
Read the draftsApprovalA person reads the drafts, then approves to mark them ready to send, or denies to keep them as drafts.
Mark them readyRun commandLists the replies ready to send.

When to use it

  • Your inbox gets the same kinds of questions every day.
  • You want replies drafted in your voice from your own help pages, and a person to press send.
  • You want one loop that works through a list, one item at a time.

Run it

The quick way: choose Try it now under the drawing. It opens the recipe in the Playground as a flow of your own, after you sign in if you aren't yet. Simulate opens it and shows the forecast, and Run opens it and asks before it starts, with what the run will likely cost. From the dashboard instead:

  1. In the dashboard sidebar, open Agent Playground → Recipes and find Draft replies to support emails. Choose Everyday to filter the list. 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 on the Secrets page. The builder offers Add a key… in the step's key list 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 loop runs four times, once per email: Any email left?, Draft a reply, File the draft. Then the run waits at Read the drafts. Open File the draft in any loop to find its draft.

Make it yours

  1. Replace the sample emails in Open the inbox with yours: export them from your help desk into support/inbox/, one file per email.
  2. Replace support/help.md with your real help pages, and change the signature in the prompt.
  3. Raise the loop limit to the most emails you expect in one run (up to 50).
  4. Start it every morning with a Schedule trigger.

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.002$0.002$0.01
Claude, on your key$0.004$0.02the run's spend limit
How long it takesabout 2 minutesabout 3 minutes900 seconds

A typical run uses $0.0016 of sandbox time, so about 610 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.25 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
  • InsightsAll posts