Test a mission with test runs

Run a mission against a test contact before it reaches customers, read the transcript and outcome, and fix the goal or procedure until it behaves.

Working draft. These docs are illustrative: names, endpoints and examples describe the intended behaviour and can change before launch.

A test run is a trial of a mission that does not contact real customers. You choose a contact and a signal, the mission runs, and you read what the agent would have said and how the run ended. Use test runs before you publish a mission and after every change to its goal.

Open Missions, select a mission and open the Test runs tab.

Start a test run

  1. Select New test run.
  2. Choose a Test contact. Create one with a name, an email address and any attributes your conditions use, such as plan set to trial.
  3. Choose the Signal to simulate. For a custom event, fill in sample properties.
  4. Choose how the contact replies: I will reply myself or Scripted replies.
  5. Select Run.

You should see the run open with the first message the agent would send, marked Test.

Reply as the customer

With I will reply myself, the run works like the Playground. You type the contact's answers and the agent continues. Try the cases that matter:

  • A cooperative reply that reaches the goal.
  • A refusal, such as "Not interested".
  • An unrelated question, to see whether the agent stays on the goal or answers it.
  • No reply at all, to see what the mission does when it waits.

With Scripted replies, you write the contact's messages in advance, one per line. Scripted runs are repeatable, so you can run the same script after each change.

Read the result

Each test run shows:

Part What it tells you
Transcript The messages sent and received, with the procedure and sources used.
Signal Which signal and conditions started the run.
Actions Actions the agent called. In a test run these are recorded, and live systems are not changed.
Outcome Achieved, Not achieved or Needs review.

Outcomes are explained in outcomes.

Note: Test runs never send real messages to real contacts. Check the Actions list to see which steps a live run would take in your connected systems.

Fix what you find

  1. Open the transcript and find the first message that went wrong.
  2. If the tone or goal was unclear, edit the goal in Mission config.
  3. If the agent handled a situation badly, adjust a procedure.
  4. Select Run again on the same test run.

Repeat until the outcomes match what you expect. When the results are stable, publish the mission and watch the first live runs closely.

Something unclear or missing? Tell us and we will fix the page.