Testing Your Agent
Private checks in Playground and Agent Studio Test before a confirmed launch
Test before customers can hear the agent. Playground and Agent Studio → Test are private. A passing check is not a launch. Launch is a confirmed live activation on Deploy.
Two private checks#
| Check | Where | Use it for |
|---|---|---|
| A live private conversation | Playground | One real customer question, follow-ups, and the sources behind the reply |
| Saved checks | Agent Studio → Test | Questions and simulations you want to run again after changes |
Playground#
Open Playground in the agent sidebar. Ask something a customer would send, including the wording they actually use.
- The preview channel switches between Web Widget and Messenger. It changes how the private reply is presented. It does not message a customer.
- Sources shows the snippets used for the latest reply, when a reply used saved knowledge.
- Reply details explains how that reply was produced after you send a message.
- During setup, Looks good and Needs work record whether you trust the reply. Approving it does not enable customer replies.
Agent Studio → Test#
Open Agent Studio → Test.
| Tab | What it does |
|---|---|
| Answer tests | Runs saved customer questions against the agent. Add a question, the answer you expect, and the wording that must or must not appear |
| Conversation tests | Rehearses a longer customer situation or replays selected customer messages against the current agent |
| Run history | Shows earlier checks and whether results improved or got worse |
Add test writes a test yourself or drafts some for you. On Answer tests, Suggest from knowledge drafts tests from approved Q&A; on Conversation tests, Suggest from past chats drafts them from Learn from Chats. Review a draft before you activate it. To test a real conversation again, open it in the inbox and choose Make a test from its More actions menu. Run needed runs tests that are not already current. Automatic checks, when that card is shown, repeats saved tests on a schedule. A current passing test is skipped.
Add test → Generate tests, on the Conversation tests tab, drafts up to three tests for one Procedure, Workflow or Tool: its normal path, what happens when its Tool fails, and a hand-off. The checks and the Tool answers come from your setup; AI writes only what the customer says. Workflow tests follow the Workflow's buttons. Generating is free, up to 20 times a day for each agent. Each draft stays off until you review and activate it. You can also start from Generate tests in a Procedure's or Workflow's menu.
A quality check runs every test three times, because the same question can get a different reply. A test passes only when all three runs pass; its row shows how many runs passed, and its result lets you open each run. The whole check counts once against your plan's quality checks.
Fix a failing check in the source, guidance, or tool that owns it, then run the check again. Do not edit the expected answer just to make a wrong reply pass.
Scope and action checks#
Choose Whole agent when the test should use the normal customer agent. Use a narrower scope when you are checking a particular knowledge source, Procedure, or Workflow. Review which knowledge and tools the test is allowed to use before interpreting a pass.
For each Action under test, choose Must run, Must not run, Either way, or Asks for approval. You can supply an example successful answer, a failure such as service unavailable, or supported API responses. Use Fail if any other Action runs when an unrelated action would be a mistake. Set the handoff expectation when the scenario should involve a teammate.
These supplied answers let you test how the agent handles a result without carrying out the corresponding live provider change. A passing simulation does not prove the provider connected, the live action succeeded, or the channel delivered a customer reply.
Read and compare runs#
Open a result to review the transcript, Action inputs and results, expected behavior, and failure details. A plausible final sentence alone is not enough. Run history lets you compare saved runs so you can see improvements and regressions after a change.
Test a real conversation#
Open a conversation in the inbox and choose Make a test from its More actions menu, then pick one:
- Simulate a customer like this (the default): a simulated customer with the same goal, situation and language talks to your agent as it is now, and reacts to its replies.
- Replay these messages: resends the customer's exact messages, in order.
The draft comes with a good outcome taken from your correction of the agent's reply, your team's reply, or a reply rated good. With none of those, it is a best guess you should check. The editor says which one it used. Emails, phone numbers and handles, your business's included, are replaced with stand-ins before anything is saved; names and addresses are not, so check them. Text only: photos, voice notes and files are left out. Each conversation gets one test per choice; making it again opens the one you have. A simulated draft, or a replay with nothing to learn the outcome from, counts toward the same 20 drafts a day as Generate tests. The test is new; the original conversation is not changed.
What to try#
| Situation | A good result |
|---|---|
| A common question | The answer matches a current source |
| The same question in other words | The meaning stays the same |
| Something you never taught | The agent says it does not know, instead of inventing a price, date, or policy |
| A missing detail | It asks for the detail instead of guessing |
| A booking, order, or payment | The saved record matches the reply, not only the sentence |
| The wrong location | The hours, staff, or services match that location |
| A frustrated or off-topic message | Tone stays on brand, and handoff follows your escalation rule |
For a Filipino audience, try English, Filipino, and a mixed question. The reply should follow the customer, not switch language at random.
After a change#
Retrain sources that still need it, then repeat the private question and any saved test that covers the change. Watch Run history for a regression.
When the private checks look right, open Deploy and confirm the channel. Send one controlled customer message and read it in Activity → Inbox. Connecting an account, or finishing setup without that confirmation, leaves the agent off.