Can I integrate third party chatbot into servicenow chat window?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-02-2017 01:29 AM
Can I integrate third party chatbot into servicenow chat window?
- Labels:
-
Instance Configuration
-
Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-02-2017 05:06 AM
The short answer is - yes. It requires some scripting to wire the bits together on ServiceNow's side, but it can be done.
chrisc. did this for a PoV with Watson's conversation service recently. Perhaps he can provide some details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-02-2017 10:27 PM
Hi
Can you suggest some syntax or some sample code for integrate such requirement of chatbot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-05-2017 10:00 PM
Hi,
I tried the following client script to call the third party API onLoad of the form, but it gives the following error.
Access to Script Include https://bot.api.ai/609835b0-450c-43d0-b73a-e236b2376829 blocked from scope: x_87414_demo_appli
function onLoad() {
//Type appropriate comment here, and begin script below
var ga= new GlideAjax('https://bot.api.ai/609835b0-450c-43d0-b73a-e236b2376829');
ga.getXML(HelloWorldParse);
function HelloWorldParse(response) {
var answer = response.responseXML.documentElement.getAttribute("answer");
alert(answer); }
}
Please suggest what I am doing wrong.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2017 05:44 AM
When using GlideAjax, you specify the name of the script include, not the path.
Ex:
var ga = new GlideAjax('MyScriptInclude');