Table of Contents |
---|
Your dataFor the chatbot users who are not comfortable chatting with an automated chatbot. You can redirect them to the live agents using the Live Agent directive.
The Live Agent directive will integrate Orbita chatbot with third-party Live Agent plugins which will transfer the chat conversation to Live Agents.
The below example shows the steps to integrate the Orbita chatbot with Live Chat (https://www.livechat.com/).
Prerequisite
The Chatpage link from Live Chat. (https://my.livechatinc.com/settings/chat-page)
...
Live Agent Directive
You can trigger the Live Agent directive using the below code in a function node in the Experience Designer.
Code Block |
---|
if(!msg.payload.orbita) {
msg.payload.orbita = {};
}
msg.payload.orbita.directive = [
{
type: 'liveagent',
script: "This is the script from Function node",
directUrl: "https://direct.lc.chat/12314445/"
}
]
return msg; |
Related Articles
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|