Table of Contents | ||
---|---|---|
|
For 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.
...
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; |
type: The type should be set to liveagent
script: You can integrate the chatbot with a third-party plugin using a JavaScript code.
directUrl: You can integrate the chatbot with a third-party plugin using a URL.
The third-party plugin will load within the chatbot when triggered.
...
Related Articles
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|