Transferring Virtual Agent conversations to a live agent
Summarize
Summary of Transferring Virtual Agent conversations to a live agent
ServiceNow’s Virtual Agent supports seamless transfer of conversations to live agents, enhancing customer support by enabling smooth escalation from automated chat to human interaction. Transfers can occur automatically due to errors, via scripted triggers, user manual requests, or during interactions with Large Language Models (LLM).
Show less
Key Features
- Automatic Transfer on Errors: Conversations automatically route to live agents when unrecoverable errors occur, ensuring continuous support without interruption.
- Script-Based Transfer: Using the
vaSystem.connectToAgent()method within topic scripts, admins can programmatically trigger transfers based on conditions such as urgency or impact. ThevaSystem.isLiveAgentAvailable()method checks agent availability before transfer. - Manual Transfer Options: Users can manually select “Contact Live Agent” from Contact Support options, or enter commands like "Hi" or "agent" in messaging integrations to request a live agent.
- Live Agent Transfer in LLM Conversations: Users interacting with LLM-based topics can request live agent assistance through natural language statements, which triggers a transfer.
- Agent Chat Settings: Administrators configure routing, queue assignment, and user messages during transfer within Agent Chat settings, tailoring the handoff experience.
Transfer Behavior and Interfaces
- Agent Workspace: Conversations route automatically to qualified agents based on chat service channel and queue configurations. Agents receive chat assignments in their inbox, and users continue chatting in the Virtual Agent interface.
- Connect Support: Conversations route to specified chat queues. Agents accept queue assignments to join chats, with users continuing in the Virtual Agent interface.
- Agent Availability: Transfers occur only if a live agent is available; otherwise, users receive a “no agents available” message.
User Sentiment Analysis
When enabled, sentiment analysis applies to both Virtual Agent and live agent conversations, storing insights in the Interaction Insights table to help improve customer experience and support quality.
Practical Considerations for ServiceNow Customers
- Ensure Agent Chat is activated and properly configured to enable live agent transfers.
- Use scripting to intelligently route complex or high-priority cases to live agents.
- Configure chat queues and assignments aligned with your support team’s skills and schedules.
- Leverage sentiment analysis to monitor and improve support effectiveness.
- For messaging integrations, educate users on commands to request live agent help.
Manage live chat support, including the chat support interface used when a Virtual Agent conversation is transferred to a live agent.
Conversations in Virtual Agent are transferred to a live agent in several ways. This transfer happens automatically when an unrecoverable error occurs, but it can also be triggered by a script in a topic, when a user manually selects that option, or when a user inputs the request during an LLM conversation.
- Automatic transfer to a live agent when an error occurs
- When a conversation encounters an error, the conversation automatically transfers to a live agent. Note:If you don't plan to use Agent Chat, be sure to deactivate it in the Agent Chat settings. For more information, see Setting up Agent Chat.
- Automatic transfer to a live agent that is triggered by a script in a topic
In situations where you want a support agent to handle the conversation, you can create a script in your topic that uses the vaSystem.connectToAgent() method. This method triggers a transfer to a live agent. This option can be useful for conversations involving negative customer sentiment, high priority requests, or requests outside the scope of your topic process. For example:
(function execute() { if (vaInputs.urgency == 1 && vaInputs.impact == 3) if(vaSystem.isLiveAgentAvailable()) { vaSystem.connectToAgent() } })()This script action control transfers the conversation to a live agent based on the incident impact and user urgency. The script uses the vaSystem.isLiveAgentAvailable() method as follows:- In Agent Workspace, the vaSystem.isLiveAgentAvailable() method checks the queue schedule and whether agents are online.
- In Connect Support, the vaSystem.isLiveAgentAvailable() method only checks the queue schedule.
Note:The vaSystem.isLiveAgentAvailable() method only checks whether agents are online, regardless of their skill set.- Manual transfer to a live agent using the Contact support option
- You can choose the Contact support option and then select Contact Live Agent to transfer the conversation to a live agent.Note:Users running a Virtual Agent messaging integration must enter the command Hi or agent to access the live agent transfer option. If your environment isn't configured for live agents, the agent command doesn't work. For more information, see Integrating Virtual Agent with messaging apps.
Figure 1. Contact Support options in Virtual Agent - Manual transfer to a live agent in LLM conversations
-
In a Virtual Agent conversation using LLM topics, you can enter a statement such as I need to talk to a live agent, transfer me to a live agent, or other similar statements. The LLM then turns your chat over to an available live agent.
How Virtual Agent conversation transfers work
For a user engaged in a Virtual Agent conversation, the switch to a live agent is a seamless transfer. When a transfer is triggered, either automatically or by a user manually, the conversation is automatically routed to the appropriate chat support interface, based on your Agent Chat settings. In Agent Chat settings, admins also define the general messages that users see during live agent transfers.
If you're using Agent Workspace, the conversation is automatically routed and assigned to an available live agent. If you're using Connect Support, the conversation is routed to the chat support queue that you specify.
- Transfer to a live agent in Agent Workspace
- If you're using Agent Workspace, the Virtual Agent conversation is automatically transferred to a qualified available agent, based on the Chat service channel configuration and the queues that the agent supports, as defined in Advanced Work Assignment.
For the user, the conversation with the agent continues in the Virtual Agent (client) interface. In Agent Workspace, the chat assignment appears in the agent's inbox. When an agent accepts the assignment, the agent joins the conversation and interacts with the user.
- Transfer to a live agent in Connect Support
If you're using Connect Support, the virtual agent conversation is routed to the appropriate chat support queue. For the user, the conversation with the agent continues in the Virtual Agent client interface. In Connect Support, the agent accepts the queue with the transferred user to join the conversation and interact with the user.
In earlier releases, admins used the Chat Setup form to assign the default chat queues for Customer Service Management, HR Service Delivery, and IT Service Management or a global queue to which Virtual Agent conversations were automatically routed if default queues weren’t assigned. These queues, which admins defined in Connect Support, are stored in the Chat Queues [chat_queue] table. If you're using Connect Support as the fulfiller interface and must change chat settings, see Setting up Agent Chat for details.
User sentiment
When configured, user sentiment analysis is performed on Virtual Agent and live agent conversations. The user sentiment is stored in the Interaction Insights [sys_cs_interaction_insight] table. For details, see Interaction Insights table.