Skip to main content

Builder - Sandbox

Test your AI Employee's conversation flows in real time from the Sandbox chat window in the Builder.

The Sandbox is a chat window in the Builder that lets you test conversation flows in real time. Use it to verify skill scripts, check event handling, and confirm persona behavior before deploying to production.

Open the Sandbox

  1. On the Projects page, click Manage on a project to open it. On the earlier Projects layout, open a flow in the Flow Designer instead.

  2. In the header bar, click Sandbox: Off.

The button text changes to Sandbox: On and the Sandbox window opens on the right side of the screen.

To close the Sandbox, click Sandbox: On again, or click the close icon in the Sandbox window.

Configure Agent Control

Before testing, select the agent persona the AI Employee will use during the conversation.

  1. In the Sandbox panel, locate the Agent row.

  2. Click Link persona to open the persona selector.

  3. Search for and select a persona from the dropdown. Only personas linked to agents are shown.

  4. Click Save.

The selected persona name appears next to the Agent label.

Note: Changing the agent persona clears the previously selected agent actor.

Configure User Control

The User Control section defines who the simulated user is during testing.

Select a user persona

  1. In the Sandbox panel, locate the User row.

  2. Click Select persona and choose an existing persona.

  3. Click Save.

Create a new user persona

  1. Click the + icon next to the User row.

  2. Enter a Name for the persona.

  3. Optionally enable Create actor (enabled by default) to create an actor at the same time.

  4. If creating an actor, fill in the Integration, Connector, and External Id fields.

  5. To auto-generate a random External Id value, click the refresh icon next to External Id.

  6. Click Create and apply.

Select a user actor

After selecting a user persona, the Actor row becomes active.

  1. Click Select actor and choose an existing actor from the list.

  2. Click Save.

Create a new user actor

  1. Click the + icon next to the Actor row.

  2. Select an Integration and Connector.

  3. Enter or auto-generate an External Id.

  4. Click Create and apply.

Important: You must select a user actor before sending messages. If no actor is selected, the message input displays: "To start conversation, please select a user's actor."

Warnings

When you open the Sandbox from the Flow Designer, it checks for unsaved and unpublished changes.

  • Unsaved changes: If you have modified skill scripts that have not been saved, a yellow notification appears: "You have unsaved scripts. Please save them before you can test the flow."

  • Unpublished changes: If the flow has been saved but not published since the last change, a yellow notification appears: "You have unpublished changes. Please save and publish them before you can test the flow."

Testing workflow

Follow this sequence to test a flow:

  1. Open Sandbox: Click Sandbox: Off to open the Sandbox window.

  2. Configure personas: Select or create agent and user personas with actors.

  3. Send a message: Type in the message input and press Enter to send. The AI Employee's reply appears in the Sandbox window.

Review the conversation in the Sandbox window. To start a fresh conversation, click the Refresh Chat button.

Did this answer your question?