Skip to main content

Configure the start and exit behavior of an agentic virtual agent

Series: Create an agentic virtual agent

Previous suggested step: Connect an agentic virtual agent to a knowledge fabric configuration

Next suggested step: Set guardrails for an agentic virtual agent

Feature coming soon: Agentic virtual agents

You can provide any starting context that helps the agentic virtual agent at the start of an interaction. Then, define how the agent behaves when ending a session on the Configuration tab.

The start context originates from the Architect Virtual Agent flow. For example, if the flow author wants to pass some Participant Data to the agentic virtual agent. 

Configure starting context

  1. Click Menu > Orchestration > AI Studio > Agentic Virtual Agents.
  2. (Optional) To search for a specific agent, start typing the name of the agent in the search box. As you type, the matching agents are shown.
  3. To open an AI agent, click the agent’s tile. The Agent profile view opens.
  4. Select the Configuration tab. 
  5. Under Start Context, click Add. The right pane expands. 
  6. In the right pane, enter these details:
    • Name: The name of the variable. For example, “customer_name”.
    • Type: The data type of the variable.
    • Description: A short description about the variable.
  7. Click Create.
  8. Add as many starting variables as needed for your agent.

Define exit behavior

  1. Under Session end in the Configuration tab, configure the following options:
    1. In the Exit response field, enter the message that the agent sends when the participant ends the interaction or if an error occurs.
    2. Turn the Escalate to agent toggle on or off. When it is enabled, the AI agent transfers the interaction to a human agent if the participant requests to speak to a human agent. 
    3. If you turn the Escalate to agent toggle on, the Escalation response field appears. In this field, you can enter the message that the agent sends while it transfers the interaction to a human agent.
  2. Click Save.
Note: The exit instructions are not mandatory requirements but recommendations for the agent. They are not delivered verbatim but are paraphrased based on the conversational context.

The profile contains the following sections and a preview widget:

You can switch to any of the sections of the agentic virtual agent while creating a new agent, editing an existing agent, or viewing an agent. Any incomplete section is indicated by the icon preceding the section name. You can save an agent with an incomplete section but you cannot publish the agent until all sections are complete.

After you have completed all necessary sections of the agent setup, you can click Publish to publish the flow.