> ## Documentation Index
> Fetch the complete documentation index at: https://www.voiceflow.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Simulation editor

> A simulation lets AI play the user for a conversation segment. It has its own scenario, success criteria, and maximum conversation turn count.

## Overview

<a id="how-it-works" />

<a id="when-to-use-it" />

A simulation lets AI play the user for a conversation segment. It has its own scenario, success criteria, and maximum conversation turn count. Those controls are available in the **Simulation** element of the shared editor.

<a id="use"></a>

## When to use it

Exercise an outcome across different generated user messages.

Use simulations to exercise an outcome across generated user messages: incomplete information, follow-up questions, or different ways of requesting the same help. Use scripted turns when the exact input sequence is the subject of the check.

<a id="model"></a>

## How it works

Define the simulated scenario, success criteria and turn limit.

| Control | Purpose |
| --- | --- |
| Describe simulated user scenario | Describes who the simulated user is, their goal, and how they interact. |
| Success criteria | Defines what counts as a successful outcome. |
| Max. conversation turns | Bounds the generated conversation. |

The native workspace is currently labeled **Tests**. A saved conversation can contain a simulation alone or alongside scripted turns. Both use the conversation’s [starting context](/docs/platform/rehearsal/context/events) and the shared run controls.

<a id="example"></a>

## Example

Test how the agent handles a customer without an order number.

Describe a customer who wants delivery information but does not know their order number. Define success as the agent asking for the information needed to locate the order. The simulation can generate different replies while evaluating that outcome.

### Next steps

- [Scenarios and success criteria](/docs/platform/rehearsal/simulations/scenarios)
- [Turn limits](/docs/platform/rehearsal/simulations/turn-limits)
- [Simulation results](/docs/platform/rehearsal/simulations/results)
- [Run the conversation](/docs/platform/rehearsal/runs/running)
