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
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
- Click Menu > Orchestration > AI Studio > Agentic Virtual Agents.
- (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.
- To open an AI agent, click the agent’s tile. The Agent profile view opens.
- Select the Configuration tab.
- Under Start Context, click Add. The right pane expands.
- 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.
- Click Create.
- Add as many starting variables as needed for your agent.
Define exit behavior
- Under Session end in the Configuration tab, configure the following options:
- In the Exit response field, enter the message that the agent sends when the participant ends the interaction or if an error occurs.
- 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.
- 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.
- Click Save.
Navigating the agentic virtual agent profile
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.
[NEXT] Was this article helpful?
Get user feedback about articles.