Skip to content

Test Agent

The Test Agent page provides an interface for interacting with and testing AI agents. It allows users to select different versions of an agent, engage in a chat conversation, and simulate live agent transfers.

This page is your primary tool for verifying that the conversational flows you have built on the Intents, Prompts, and Actions pages work as expected.

Test Agent

How to Use the Test Agent

1. Select a Version to Test

At the top of the page, you will find a dropdown menu to select which version of the agent you want to test.

  • None (Default): This tests the agent's current, unpublished configuration. Use this option to test changes as you make them, before saving them as a formal version.
  • draft, development, test, live: Select one of these to test a specific, saved version of your agent's configuration. This is useful for comparing behavior or testing a stable version.

2. Start a Conversation

  • The chat window will display the agent's title, subtitle, and initial welcome message.
  • Use the chat input at the bottom of the page to type messages to the agent.
  • The agent will respond based on the intents and prompts you have configured.

3. Checking Variables

  • Check Variables: To assist in troubleshooting or understanding your Agent's behavior, you can check and view the agent's variable space during a conversation by clicking on Check Variables button and viewing the underlying fields.

3. Test a Live Agent Transfer

If your conversation flow leads to an intent that is configured to transfer to a live agent, the interface will automatically switch to a live chat simulation.

  • The agent will display a message indicating a transfer is in progress.
  • Your subsequent messages will be sent to the live agent queue.
  • To test the other side of the conversation, open the Live Agent page in a separate browser tab. From there, you can "accept" the chat and respond as a human agent. Your responses will appear back in this Test Agent window.

4. Ending or Resetting the Test

  • End Chat: Click this button to terminate the current conversation, including any live agent connection.
  • Reset Test: Click this button to start a completely new conversation. This clears the chat history and all session variables, giving you a clean slate.
  • Refresh: This button simply reloads the page with the current conversation state intact.