Your conversational AI application can connect to external systems or services by making HTTP requests. The Send an Http Request activity contained within UI Builder makes this possible and has support for the following methods:

This activity is available from the Access External Resources menu in UI Builder and can be added like any other activity.

In this article you'll learn how to make a POST and a GET request to ServiceNow and output the data in your conversational AI application.

<aside> đź’ˇ

Below are pre-built dialogs that include the activities discussed in this article. You can download them and import them into UI Builder:

</aside>

Example_dialog_ServiceNowPost_export.zip

Example_dialog_ServiceNowGet_export.zip

Sending a POST Request to ServiceNow

A POST request to ServiceNow is an API call that sends data to a ServiceNow instance to create or update records in the system. This is typically done using ServiceNow’s REST API (/api/now/table/{table_name}) to interact with tables like Incidents, Requests, Users, or Custom Tables. The request includes a payload (usually in JSON format) containing the necessary data for the new or updated record.

Integrating your Zammo chatbot with ServiceNow using POST requests allows for automation, efficiency, and streamlined service management.