Service Now Event Integration using Webhook / Rest API Action

Service Now Event Integration using Webhook / Rest API Action


Steps to perform in Service Now

1) Login to your ServiceNow Instance(dev*****133.service-now.com)
2) Search for the Rest API Explorer and open it
3) In the Rest API Explorer page choose the Namespace and API Name with the proper API version. For example, I have selected the below.



4) Under the Request Body, add the required parameters for the API, and the JSON payload for the added fields will be constructed automatically.



Steps to configure Service Now event in Applications Manager

1) Login to Applications Manager with Admin users credentials
2) Go to the Admin tab. Click Actions -> Create Webhook/Rest API Action
3) Please copy paste the Http URL displayed in the Service Now Rest API Explorer page to the Rest API Actions page in APM. Please make sure all the values in the URL's are replaced.
4) Choose POST for Form Submission Method and Payload Type as JSON.
5) Copy paste the JSON values displayed in the Service Now Rest API Explorer page to the Rest API Actions page in APM.
Sample JSON : 
{ "records":
[
     {
     "source":"$MONITORNAME",
     "event_class":"$HOSTNAME",
     "resource":"$HOSTIP",
     "node":"$URL",
     "metric_name":"$ATTRIBUTE",
     "type":"$MONITORTYPE",
     "severity":"$SEVERITYASNUMBER",
     "description":"$RCAMESSAGE",
     "additional_info":{  
      'scom-severity':'$SEVERITY',
      'metric-value':'$ATTRIBUTEVALUE',
      'os_type':'$MONITORTYPE'
      }
      }     
   ]
}
6) For the Request Headers field use below two headers
            Accept       application/json
            Content-Type       application/json
7) Choose Authentication Method as Basic/NTLM and provide valid Username and Password.




If you face any issue, please reach out to our support with the screenshot of the error obtained to appmanager-support@manageengine.com along with the latest Support Information File (SIF) from Applications Manager with print all logs enabled for analysis.

                  New to ADSelfService Plus?

                    • Related Articles

                    • Integrating PagerDuty with Applications Manager using Webhook

                      Using Webhook, you can now integrate PagerDuty with Applications Manager and receive real-time alerts on incidents right into your PagerDuty instance.  Step 1: Configuring PagerDuty Open the required PagerDuty instance to which Applications Manager ...
                    • Integrate Jira Service Management (Cloud) with Applications Manager using Webhook

                      Using Webhook, you can now integrate Jira Service Management (Cloud) with Applications Manager and receive real-time alerts on incidents right into your Jira instance.  Follow the steps given below to integrate Jira service (Cloud) with Applications ...
                    • Integrating Telegram with Applications Manager using Webhook

                      Telegram is a cloud-based instant messaging, video telephony and VoIP service with end-to-end encryption. Users can send messages and exchange photos, videos, stickers, audio and files of any type in Telegram. Using Webhook, you can now integrate ...
                    • Integrating Jira Service Management (On-Premise) with Applications Manager using Webhook

                      Using Webhook, you can now integrate Jira Service Management (On-Premise) with Applications Manager and receive real-time alerts on incidents right into your Jira instance.  Follow the steps given below to integrate Jira service (On-premise) with ...
                    • REST API Monitor - FAQS

                      1. What should I do when Basic Authentication fails in REST API monitor? Verify if the credentials provided in the Applications Manager are correct. Try if sending username and password in Authorization request header works Get an BASE-64 encoded ...