Setting up ITSM
The ServiceNow and Kbot Live Chat integration allows users interacting with Konverso Kbot for Snow virtual agent to log issues or make requests in the ServiceNow ITSM system. This page describes how to set up the ITSM configuration.
Prerequisites
You can optionally create a service account for Konverso Kbot for Snow virtual agent with access to
sys_choice
table. This would allow the agent to retrieve display names of the statuses and categories of issues or requests. Make sure you grant proper permissions for such API requests.To manage issues and requests you must set up the
snow_portal_url_suffix
parameter. To learn more about it, see the Setting up the portal link page.
Konverso Kbot for Snow virtual agent setup
General configuration
To process incidents and demands, make sure the ticket_url
variable in your Konverso Kbot for Snow virtual agent configuration is set. This variable’s value must be assigned to the ServiceNow instance URL, starting with https://
:
ticket_url = https://my-company.service-now.com
ServiceNow service account
If your ServiceNow environment does not allow users to log in using OAuth2.0, you can leverage the service account functionalities. For example, creating a service account helps to make Kbot available in Microsoft Teams.
To learn more about it, see the Service account page.
Incidents
To process incidents, make sure that the Incident intent is enabled and available in your Konverso Kbot for Snow virtual agent configuration.
View the list of additional settings for access options of logging issues. You can add these settings in DevOps > Deployment > ServiceNow Configuration if you need to redefine default values.
Parameter | Description | Sample |
---|---|---|
| Contains the mapping of |
|
| Specify |
|
| Specify |
|
Requests
To process requests, make sure that the Search ServiceNow catalog intent is enabled and available in your Konverso Kbot for Snow virtual agent configuration.
View the list of additional settings for access options of a service catalog. You can add these settings in DevOps > Deployment > ServiceNow Configuration.
Parameter | Description | Sample |
---|---|---|
| A comma separated list of |
|
| Contains the mapping of |
|
| Specify |
|
| Specify In addition to the standard syntax supported in Snow, you may use the special keyword |
|
Testing
Healthcheck
Once the ITSM is configured, you can use the Test button to see whether the portal is available and the service account that you are using is valid.
Creating an incident/request
You can test incidents or requests in the chat. Note that you must have a ServiceNow user with access to the portal.
Incident
In the chat, click the Quick Ticket Management button, then select Submit an incident.
Request catalog
To test the catalog search functionality, run the following command in the chat: #do Search ServiceNow catalog:: <requested item>
.
Typically, the found item is returned and displayed in the chat. You can view the item or click it to open it in ServiceNow and create a request for it.
Managing issues and requests
In the chat, click the Quick Ticket Management button, then select List my tickets. The bot displays the complete list of incidents and requests with the current status.
All user’s records from the tables that are defined in snow_request_sys_class_names
and snow_incident_sys_class_names
will be queried. The filters that are defined in the related variables are used. See the table of variables above.
Troubleshooting
If the ITSM configuration is invalid, the Healthcheck displays an error. In this case, follow the recommendations given in the error message.
If the dialog in the chat seems strange and you do not get expected replies, you can turn on the debugging. To do so, run the following command:
#debug on
and repeat the scenario to see the details. When you have finished the debugging, you can turn off the debugging functionality by typing#debug off
.