...
Code Block |
---|
if(!msg.payload.orbita) {
msg.payload.orbita = {};
}
msg.payload.orbita.directive = [
{
type: 'liveagent',
script: "",
directUrl: "https://direct.lc.chat/12314445/"
htmlContent:"",
}
]
return msg; |
Usage | Required or not | Description |
---|---|---|
| Required | The type should be set to |
| Optional if | You can integrate the chatbot with a third-party plugin using a JavaScript code. |
| Optional with | You can integrate the chatbot with a third-party plugin using a URL. |
| Optional | You can bind any instruction text before redirecting the chatbot user to the third-party live agent plugin. |
The third-party plugin will load within the chatbot when triggered as shown in the sample screenshot below.
...