Test Run: Simulate Your AI Agent on Real Tickets Before Going Live
The scariest moment in support automation is the first live reply. You have spent an afternoon writing instructions, wiring up tools, choosing a model — and now the only way to know whether the agent actually behaves is to point it at a real customer and hope. That is how teams end up with a confident, wrong answer sitting in a customer's inbox, and a thread on Reddit about how "the AI bot made it worse."
Test Run removes that gamble. From any agent's configuration page in Macha, you search for a real record — a live Zendesk ticket, an email, a document — select it, and the agent processes it in a private test conversation. You watch the whole thing happen: the reasoning streams in token by token, every tool call appears as it fires, and you see the exact reply the agent would send. Nothing touches the customer. Nothing posts back to the helpdesk. It is a dress rehearsal on the real stage, with the house lights off.
This post is a deep dive on how Test Run works, why simulating on real data beats testing on invented prompts, and where it fits in a sane go-live process. Macha is an AI agent layer that sits on top of the helpdesk you already run — Zendesk, Freshdesk, Gorgias, Front — so Test Run is about validating the agent's behaviour inside your existing stack, not migrating to a new one.
Why "type a question and see" isn't enough
Most builders let you chat with your agent in a sandbox. You type "Where is my order?", the agent answers, it looks great, you ship it. Then a real ticket arrives that reads: "hey so i ordered the blue one like 2 wks ago (order maybe #10432?) and my wife says it showed up damaged?? do i return it or do u just resend, also the tracking link is dead." Typos, two questions stacked into one, a half-remembered order number, an implicit refund-vs-reship decision. That is the input your agent has to survive — and a clean hand-typed prompt never tested any of it.
This is exactly what the testing literature has converged on. Guidance from teams who run these rollouts is consistent: pull 25–50 recent, real tickets that reflect your actual workload — "including everything: typos, missing context, frustrated customers, and tricky edge cases" — and aim for high accuracy on those before going live, not on a tidy demo script (Supportbench, StackAI). The broader pre-production pattern is offline evaluation on real/labelled tickets plus a shadow phase where the agent proposes and a human compares, before any staged rollout. Test Run is the first rung of that ladder: it lets you replay reality through the agent in seconds.
What Test Run actually does
Test Run lives on the agent configuration page, next to the instructions, tools, model, and triggers you have set up. There is no separate "test environment" to provision and no fixtures to write.
The flow is three steps:
- Search for a real record. Test Run gives you a search box that queries your connected systems for an actual entity — a Zendesk ticket by subject or ID, an email, a document. This works because of Macha's simulation schema: every tool and trigger across all 14 connectors defines a simulation property that tells the picker how to search for and format that entity. So whether the agent is triggered by a Zendesk ticket, a Slack mention, or a Shopify order event, the search-and-select experience is the same.
- Select one and run. Pick a record and the agent starts processing it as if it had just been triggered for real — same instructions, same tools, same model.
- Watch it think, live. The conversation streams over SSE (server-sent events), so the agent's reasoning, each tool call, and the final drafted reply appear in real time rather than as a single delayed block.
That live stream is the part that earns trust. You are not just grading the answer; you are watching the path to the answer. Did the agent call Get Order in Shopify before promising a delivery date, or did it hallucinate one? Did it look up the payment in Stripe before talking about a refund? Did it pick the right sub-agent to delegate to? On a real ticket, with real tool calls, you can see every decision.
Real tool calls, not mocked ones
This is the distinction that matters most. Macha agents do not just write text — they take actions: get an order, fetch a payment, search a Notion space, add a comment, update a ticket. Take the common "auto-resolve order status" pattern — on a live ticket the agent runs Get Ticket → Get Order (Shopify) → Add Comment → Update Ticket. In Test Run you exercise that whole chain against a real order, so you find out before go-live whether the agent reads fulfilment correctly, formats the tracking link properly, and writes a reply you would actually be happy to send. Read-heavy lookups run so you can verify them; write actions are where you watch most carefully, because those are the ones that would have touched the customer.
A sane go-live sequence with Test Run
Test Run is one tool in a rollout, not the whole rollout. Here is the sequence I would run for any new agent:
| Stage | What you do | What you're checking |
|---|---|---|
| 1. Build | Configure the agent (or describe it to the AI Agent Builder) — instructions, tools, model, sub-agents. | The agent exists and is wired to the right tools. |
| 2. Test Run — happy path | Replay 5–10 typical real tickets. | Does it call the right tools in the right order and draft a good reply? |
| 3. Test Run — edge cases | Deliberately pick your ugliest real tickets: typos, multi-question, angry, ambiguous, out-of-scope. | Does it stay in scope, ask for clarification, or escalate instead of guessing? |
| 4. Shadow | Let it draft on live tickets while a human sends. | Accuracy and tone at real volume, with a human in the loop. |
| 5. Go live, narrow | Enable auto-reply on one ticket type or a fraction of traffic. | Real-world outcomes before you widen the blast radius. |
Test Run owns stages 2 and 3 — the cheap, fast, zero-risk loop where most of your fixes happen. Tighten an instruction, re-run the same ticket, watch the behaviour change. Because you build and edit agents through conversation in Macha, the build → Test Run → tweak loop is tight enough to run a dozen times in an afternoon.
Watch-outs: where Test Run is not enough
Honesty matters more than hype here, so a few limits worth naming:
- It is a single-record rehearsal, not a benchmark. Test Run shows you how the agent handles one ticket at a time, in depth. It is not a bulk evaluation harness — if you want quantified behaviour across hundreds or thousands of historical tickets, that is a job for Macha Studies (bulk AI analysis), not Test Run. Use Test Run to understand behaviour, Studies to measure it at scale.
- It runs the real tools. Read actions (get order, get payment) genuinely execute so you can verify them — which is the point — but it means Test Run touches your connected systems. Write-style actions are where you watch closely; treat a Test Run like a real run for anything that mutates external state.
- Garbage tickets in, garbage confidence out. If you only Test Run on three clean tickets, you have tested almost nothing. The value is proportional to how representative and how nasty your chosen tickets are. Pick the ones that scare you.
- It costs credits, like any agent run. Each Test Run executes the model and tools, so it consumes credits the same way a live run does (credits are per AI action — 0.5–9 by model, with the default GPT-5.4 Mini at 1). This is rounding-error money against the cost of a bad live reply, but it is not free.
Where it fits in Macha
Test Run shipped alongside the AI Agent Builder and Sub-agents, and the three are designed to work as a loop: describe an agent in plain language and let the builder configure it, delegate specialist work to sub-agents, then Test Run the whole thing on real data before a single customer sees it. It is the validation step that makes "build an agent in five minutes" responsible rather than reckless.
Because Macha is a layer on top of your helpdesk, everything you validate in Test Run is the behaviour you will get in Zendesk, Freshdesk, Gorgias, or Front — the same tickets, the same tools, the same actions. You are not testing a toy; you are rehearsing production. Browse the use-case library for agent patterns worth rehearsing, or the docs for the full configuration reference.
FAQ
What can I run a Test Run on? A real record from your connected systems — a Zendesk ticket, an email, or a document. You search for it from the agent's config page and select one; the agent then processes it exactly as it would on a live trigger.
Does Test Run send anything to the customer or post back to my helpdesk? No. The reply is drafted in a private test conversation so you can review it. Nothing is sent to the customer and no comment is posted back. (Tools the agent calls to read data do execute against your connected systems, so you can verify the lookups are correct.)
How is this different from just chatting with my agent in a sandbox? A sandbox tests hand-typed prompts. Test Run replays real tickets — with the typos, missing context, and stacked questions that actual customers send — and runs the agent's real tool calls against real data, with the reasoning streamed live so you can see how it got there.
How is Test Run different from Studies? Test Run is a deep, single-record rehearsal you watch live. Studies is bulk AI analysis across thousands of records that produces a structured grid and report. Use Test Run to understand behaviour, Studies to measure it at scale.
Does Test Run cost credits? Yes — it runs the real model and tools, so it consumes credits like any agent run (per AI action, 0.5–9 by model, default 1). See the pricing page for details.
Try it
If you have ever shipped an agent and then refreshed the ticket queue with your stomach in a knot, Test Run is for you. Start a 7-day free trial, no credit card required, build an agent, search up your ugliest real ticket, and watch it rehearse before it ever goes live. The first time you catch a wrong answer in a sandbox instead of a customer's inbox, you will never ship without it again.
Written by Abbas (Customer Support & AI, Macha) · Reviewed by Ankeet Guha (Co-founder & CTO) · Published 2026-06-24 · Last updated 2026-06-24.
Resolve tickets automatically with AI agents
Macha's AI agents work on top of the help desk you already use — no code.
Shopify
Stripe
Slack
Notion
Google Workspace
Confluence

