Configuring the live chat dialog nodes in IBM Watson Assistant Skills
You must configure the LiveAgentChat – Login dialog node as shown in the following image:
Task 1: To configure the LiveAgentChat – Login node
- Log in to your IBM Cloud account.
- Navigate to the IBM Watson Assistant Skill that is configured with BMC Helix Virtual Agent, and take the backup of the skill.
- Click Dialogs > select the node that is configured for live chat.
For example, LiveAgentChat node. - Rename the live chat node from LiveAgentChat to LiveAgentChat – Login.
In the JSON editor, you should see the following text:
Important: The messages in blue text are the default messages. You can modify the messages to suit your business requirements.- Save and close the JSON editor.
Task 2: To create a LiveAgentChat - No Topics node
In the LiveAgentChat - No Topics node, in the JSON editor, replace the existing text with the following text:
Important: The messages in blue text are the default messages. You can modify the messages to suit your business requirements.- Save and close the JSON editor.
Task 3: To create a LiveAgentChat - Display Topics node
- Navigate to the LiveAgentChat – Login node.
- Create a child node and name it as “LiveAgentChat - Display Topics”.
- Specify the following condition for If bot recognizes setting:
$result != "" and $virtualChatTopics .contains('label') == true
See the following screen capture: - Open the JSON editor for Then respond with setting.
Replace the existing text with the following text:
- Save and close the JSON editor.
Task 4: To create a LiveAgentChat - Topic Selection node
- Navigate to the LiveAgentChat - Display Topics node.
Create a child node and name it as “LiveAgentChat – Topic Selection”.
See the following image:
Specify the following condition for If bot recognizes setting:
$virtualChatTopics .contains('label') == true
Open the JSON editor for Then respond with setting and replace the existing text with the following text:
Important: The messages in blue text are the default messages. You can modify the messages to suit your business requirements.
- Save and close the JSON editor.
Task 5: To create a LiveAgentChat - Error node
- Navigate to the LiveAgentChat – Login node.
- Create a child node and name it as LiveAgentChat - Error.
- Specify the following condition for the If bot recognizes setting:true
- Open the JSON editor for the Then respond with setting.
Replace the existing text with the following text:
- Save and close the JSON editor.
Post configuration tasks
After you manually update the Live AgentChat - Login dialog nodes in the IBM Watson Skill, you can configure BMC Helix Chatbot for enabling live chat. Once configured, you can verify that the topics, that are configured in Live Chat, are displayed in the chatbot conversation.