Enabling cognitive routing of live chat requests
How cognitive routing of live chat requests work
In Live Chat, administrators can define support queues based on topic, region, or both and assign appropriate agents to the support queues. Learn how to define support queues for topics and support queues for topic and region in Setting up support queues in the Live Chat documentation.
In BMC Helix Virtual Agent, administrators must provide the Live Chat administrator key and company so that company-specific topics are populated in BMC Helix Virtual Agent. Application business analysts can add synonyms for the chat topics so that specific words are associated with a topic.
Support queues and automatic routing scenarios
The following table describes how automatic routing works in different scenarios:
Scenario | Automatic routing |
---|---|
| The live chat request is automatically routed to the appropriate topic-based support queue. |
| The live chat request is automatically routed to the topic-based support queue. |
| The end-user is prompted to select a topic before the live chat request is transferred to a live agent. You can disable the prompt for the end user to select a topic and automatically route the live chat request to the appropriate support queue. See To route live chat requests to a specific topic-based queue for details. |
Before you begin
The following table describes the products and the tasks that you must complete:
Product | Task |
---|---|
BMC Helix Virtual Agent | Ensure that you have enabled live chat. |
(You want live chat requests to be automatically routed to agents with subject expertise.) Live Chat | Ensure that you have the Live Chat administrator key and company name. |
(You want live chat requests to be routed to agents with subject expertise.) BMC Helix Innovation Suite | Ensure that you have configured the Chatbot Skill for which you want to configure the topics. |
(You want live chat requests to be routed to a specific topic-based queue.) | Based on your business requirement, decide which topic you want to use for routing live chat requests. If this topic is invalid or wrong, the request is routed to the General queue. Example: A company has its offices in multiple countries. All live chat requests that come to its HR chatbot from end users in India can be routed to the India-HR topic based queue. Live chat requests from other countries that do not have a dedicated topic-based queue are routed to the General queue. |
To route live chat requests to a subject expert agent
If you want live chat requests to be automatically routed to subject expert agents, perform the following tasks:
Task 1: To configure Live Chat Administrator Key and Company
As an administrator, configure the Live Chat Administrator Key and Company so that topics created in Live Chat are populated in BMC Helix Virtual Agent.
- Log in to BMC Helix Innovation Studio and navigate to the Administration tab.
- Select Configure My Server > Virtual Chat Configuration.
- Click Save.
Task 2: To add synonyms for the topics
As an administrator or application business analyst, add the synonyms for the topics so that when the end users uses one or more of the synonyms, the chat is automatically routed to an agent expert in the appropriate topic.
- Click the Workspace tab.
- Select the application in which you have created the chatbot for which you want to configure the topics.
Example: BMC Chatbot - Click the Chatbots tab and select the chatbot for which you want to configure the topics.
Example: IT Bot - Click the Live Agent Settings tab.
- From the Available Chat Topics list, select the topics for which you want to add synonyms and click
.
Example: Connectivity - In the Selected Chat Topics and Synonyms pane, click the topic that you selected in the previous step.
Example: Connectivity - In the Add/ Remove Chat Synonyms page, in Edit List, click Add Synonym and add words that are related to the Connectivity topic.
Example: Wiki, Access, Connection - Click Save.
- To publish the changes to the IBM Watson Assistant Skill, click Publish topics.
The changes are applied to the Chatbot Skill so that live chat requests are routed to the appropriate agent whenever the end user uses these synonyms in the chat conversation.
To route live chat requests to a specific topic-based queue
If you do not want to display topics to the end users before connecting to a live chat agent, but want to route the live chat request to a specific topic-based queue, you configure the Live Chat dialog nodes in IBM Watson Assistant Skill.
- Log in to your IBM Cloud account.
- Navigate to the IBM Watson Assistant Skill that is configured with BMC Helix Virtual Agent
- Click Dialogs and select the LiveAgentChat - Login node.
- In the Then set context section, add the following variable and its value:
- Variable—$bmc_custom_live_chat_topic
Value—"$currentTopic"
- In the Then set context section, add the following variable and its value:
- Add a new node between LiveAgentChat - Login node and LiveAgentChat - Display Topics node.
- Add the name of the node LiveAgentChat - Set Topic.
- To remove the list of topics displayed to the end users, in the Then set context section, remove the $sys_options variable and its value, as shown in the following image:
- To remove the list of topics displayed to the end users, in the Then set context section, remove the $sys_options variable and its value, as shown in the following image:
- Remove the existing response node.
- In The assistant should section, replace Wait for reply with Skip user input, as shown in the following image:
- Save and close the dialog.