How to test a scenario in Scenario Builder?
Scenario Builder is a new module that replaces Scenario Dialog. This guide helps you run a scenario to verify it works, view run history, and use the chat preview.
When you need it
- You need to verify the scenario works correctly after changes.
- You want to see how the dialog looks for the bot user.
- You need to find an error in the logic or node configuration.
What you need to know
- Full run — the scenario runs from the beginning (Start Node). During execution you can interact via the chat preview.
- Run history (Runs) — the left panel stores history of all runs. For each run you can see executed nodes and status.
- Chat preview — a widget that shows the dialog in real time during the test. You can send messages and see bot responses.
- Test single action — for Action nodes you can test the action without running the full scenario (see Use action in scenario).
Before you start
You are logged in with integrator or administrator rights. You have an open scenario in Scenario Builder. The scenario is saved (no critical validation errors).
Step-by-step instructions
1. Run the scenario
- In the top toolbar, click «Run» or «Test».
- The system validates the scenario. If there are errors — the run is blocked and an error list is shown.
- After successful validation, a new run is created. The execution indicator is displayed (running, success, error).
2. Interact via chat preview
- During execution, open the chat preview (if it does not open automatically).
- The chat widget shows bot messages and lets you send a response (text, buttons).
- Send a message — the scenario continues execution according to its logic.
3. View run history
- In the left panel, find the «Runs» section.
- Select a run from the list — information about executed nodes and status is displayed.
- You can view execution logs if the run ended with an error.
4. Stop execution (optional)
- During execution, click «Stop» in the toolbar.
- Execution is interrupted; the state is saved in run history.
5. Save changes after testing
- If you found changes needed during the test — make them in the scenario.
- Click «Save» or
Ctrl+S(Mac:Cmd+S). - Run the test again to verify.
Related materials
- View version history
- Use action in scenario — test a single action in Node Inspector
- Scenario Builder hub