---
title: Warming up to Webhook
description: Here, we discuss what is involved in setting up the ProTop Portal to communicate with a Webhook-enabled system (aka Scripted REST API)
---

[Skip to content](https://help.wss.com/warming-up-to-webhook#main-content)

English

Show submenu for translations

[Questions? Comments?](https://help.wss.com/kb-tickets/new?hsLang=en)

![ProTop-helpnb.png\]](https://help.wss.com/hs-fs/hubfs/ProTop-helpnb.png?height=39&name=ProTop-helpnb.png)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [Questions? Comments?](https://help.wss.com/kb-tickets/new)
- [Download ProTop](https://protop.com/download)

[Download ProTop](https://protop.com/download)

 Ask me anything. Go ahead.

- There are no suggestions because the search field is empty.

1. [ProTop Knowledge Base](https://help.wss.com/?hsLang=en)
2. [ProTop Portal Alerts Dashboard](https://help.wss.com/protop-portal-alerts-dashboard?hsLang=en)

# Warming up to Webhook

## Here, we discuss what is involved in setting up the ProTop Portal to communicate with a Webhook-enabled system (aka Scripted REST API)

This approach can test communications from ProTop Portal Alert Responses and your Webhook-enabled application (i.e. ServiceNow). As we do not have a working Webhook API we will use the dummy/test website webhook.site to create, test, and validate the creation of webhook based alert response service on the ProTop Portal.

Start by pointing your browser to webhook.site.  It requires no registration or login for testing purposes. It will provide a unique URL for your testing that lasts 7 days.  Copy the URL you see displayed there (*not* the URL in the address bar).

#### Setup

Create a new alert response service in your ProTop Portal by clicking the Alert Responses icon in the left side menu:

![](https://help.wss.com/hs-fs/hubfs/image-png-Jul-28-2023-05-19-22-2117-PM.png?width=153&height=166&name=image-png-Jul-28-2023-05-19-22-2117-PM.png)

Then click the Manage Alert Response Services button:

![](https://help.wss.com/hs-fs/hubfs/image-png-Jul-28-2023-05-15-41-2139-PM.png?width=338&height=183&name=image-png-Jul-28-2023-05-15-41-2139-PM.png)

And finally, click the Create Alert Response Service button and select Webhook from the dropdown:

![](https://help.wss.com/hs-fs/hubfs/image-png-Jul-28-2023-05-22-05-9204-PM.png?width=205&height=163&name=image-png-Jul-28-2023-05-22-05-9204-PM.png)

The form to create a Webhook service appears on the right:

![image.png](https://help.wss.com/hs-fs/hubfs/undefined-Sep-21-2023-01-20-50-4038-PM.png?width=638&name=undefined-Sep-21-2023-01-20-50-4038-PM.png)

 

Give your service a name.

Paste the URL you obtained from [webhook.site](http://webhook.site/) into the URL field.

Now ...

### Test 1:

HTTP Method - set it to POST and click the TEST button at the bottom of the form. You see the Webhook Test Result pop-up that looks something like this:

![image.png](https://help.wss.com/hs-fs/hubfs/undefined-Sep-21-2023-01-20-49-1361-PM.png?width=545&name=undefined-Sep-21-2023-01-20-49-1361-PM.png)

There is not much going on here as there is no response body. You will get a response body when testing an actual webhook configuration set up to send a response. This pop-up is telling us the URL is valid.

Check the output of the test on the left of the webhook.site.  The most recent output link is at the top left; when clicked, it will display details on the right. This output is just a validation that a round trip occurred:

![image.png](https://help.wss.com/hs-fs/hubfs/undefined-Sep-21-2023-01-20-50-1112-PM.png?width=688&name=undefined-Sep-21-2023-01-20-50-1112-PM.png)

#### Test 2:

Add the query string.  The template can be found under the info link. Click “i” in the circle (the red box here)

![image.png](https://help.wss.com/hs-fs/hubfs/undefined-Sep-21-2023-01-20-49-9485-PM.png?width=220&name=undefined-Sep-21-2023-01-20-49-9485-PM.png)

Here is the template:   

```
title={notificationTitle}&myQueryParam=abc&text={notificationText}
```

Copy and paste the template into the Query String Template field and modify it to make it yours.

Click the TEST button at the bottom. The same screen as above will display on the portal but the most recent test result on the webhook.site will now show your query strings (bottom left):

![image.png](https://help.wss.com/hs-fs/hubfs/undefined-Sep-21-2023-01-20-49-3573-PM.png?width=688&name=undefined-Sep-21-2023-01-20-49-3573-PM.png)

#### Test 3:

Add headers. Use the example shown in the box:  

```
Content-Type=text/plain,Authorization=Bearer 4321 
```

Press the TEST button. Again you will see the same pop-up on the portal.  

Check the most recent test output on webhook.site, headers now appear in the upper right quadrant:

![image.png](https://help.wss.com/hs-fs/hubfs/undefined-Sep-21-2023-01-20-50-6241-PM.png?width=688&name=undefined-Sep-21-2023-01-20-50-6241-PM.png)

#### Test 4:

And finally, we add a payload. The payload template can be found under the info link. Click “i” in the circle (the red box here)

![image.png](https://help.wss.com/hs-fs/hubfs/undefined-Sep-21-2023-01-20-51-0443-PM.png?width=220&name=undefined-Sep-21-2023-01-20-51-0443-PM.png)

Copy the string under Template variables in request payloads at the bottom of the popup.

 

Here is the template:

```
{ "myPayloadParameter": "Hello from ProTop", "notificationSbj": "{notificationTitle}", "msg": "{notificationText}" }
```

Paste it into the payload template field in the form and edit it to make it yours.

Press the TEST button.  Again, we see the same pop-up on the portal.

Check the last test results (top left) on [webhook.site](http://webhook.site/).  

It should look something like this. See Raw Content at the bottom of this image:

 

![image.png](https://help.wss.com/hs-fs/hubfs/undefined-Sep-21-2023-01-20-49-5730-PM.png?width=688&name=undefined-Sep-21-2023-01-20-49-5730-PM.png)

#### Dynamic variable substitution

The template values *notificationTitle* and *notificationText* are replaced in the query strings and or the payload (if used) with the values in the portal for the page alert that triggered this webhook alert response.

Example:  For this alert response service:

![image.png](https://help.wss.com/hs-fs/hubfs/undefined-Sep-27-2023-08-14-30-7439-PM.png?width=612&name=undefined-Sep-27-2023-08-14-30-7439-PM.png)

And this alert response definition based on the above service:

 

![image.png](https://help.wss.com/hs-fs/hubfs/undefined-Sep-27-2023-08-14-30-1007-PM.png?width=688&name=undefined-Sep-27-2023-08-14-30-1007-PM.png)

When this PAGE alert arrives at the portal:

![image.png](https://help.wss.com/hs-fs/hubfs/undefined-Sep-27-2023-08-14-30-2808-PM.png?width=468&name=undefined-Sep-27-2023-08-14-30-2808-PM.png)

This webhook message is sent to the URL:

![image.png](https://help.wss.com/hs-fs/hubfs/undefined-Sep-27-2023-08-14-30-4618-PM.png?width=688&name=undefined-Sep-27-2023-08-14-30-4618-PM.png)

 

NotificationTitle and notificationText are dynamically replaced when the webhook is triggered.

However, for Query strings and/or Payload, you CAN add other fixed field value pairs in the definition, like the values you might use to create a ticket from the body of an email.

- [Getting Started](https://help.wss.com/getting-started?hsLang=en)
- [ProTop Real-Time (RT) Monitoring](https://help.wss.com/protop-real-time-rt-monitoring?hsLang=en#main-content)

    - [Panel Details](https://help.wss.com/protop-real-time-rt-monitoring?hsLang=en#panel-details)
- [ProTop Portal Alerts Dashboard](https://help.wss.com/protop-portal-alerts-dashboard?hsLang=en#main-content)

    - [Default Alerts](https://help.wss.com/protop-portal-alerts-dashboard?hsLang=en#default-alerts)
- [ProTop Portal Trends Dashboard](https://help.wss.com/protop-portal-trends-dashboard?hsLang=en)
- [Advanced Alerting Configuration](https://help.wss.com/advanced-alerting-configuration?hsLang=en)
- [Alertable Metrics](https://help.wss.com/alertable-metrics?hsLang=en)
- [Web Portal Administration](https://help.wss.com/web-portal-administration?hsLang=en)
- [Release Notes](https://help.wss.com/release-notes?hsLang=en#main-content)

    - [Dashboards](https://help.wss.com/release-notes?hsLang=en#dashboards)
    - [Web Portal](https://help.wss.com/release-notes?hsLang=en#web-portal)
- [Troubleshooting](https://help.wss.com/troubleshooting?hsLang=en)
- [devOps](https://help.wss.com/devops?hsLang=en)
- [DBA](https://help.wss.com/dba?hsLang=en)
- [WSS Internal](https://help.wss.com/wss-internal?hsLang=en)
- [WSS](https://help.wss.com/wss?hsLang=en)
- [Health Check](https://help.wss.com/health-check?hsLang=en)
- [Reports](https://help.wss.com/reports?hsLang=en)

[![OpenEdge Experts - White Star Software](https://help.wss.com/hs-fs/hubfs/logoWSS_H-2.png?width=600&height=225&name=logoWSS_H-2.png "OpenEdge Experts - White Star Software")](https://www.wss.com?hsLang=en)

ProTop Knowledge Base

Copyright © 2026, White Star Software Inc.