Get a Free Trial

Webhook Notifications in Web Monitor

Webhook for a Web Monitor

Web Monitor offers a powerful way to stay informed about website changes. By using a webhook, you can receive instant notifications whenever a monitor task detects a change. A webhook is simply a URL on your web application that Web Monitor can call. This call triggers any processing you've set up to handle the notification.

To use this feature, provide Web Monitor with the appropriate webhook URL. When a change is detected, Web Monitor will append the following query parameters to your URL:

  • id - the unique identifier of the web monitor that detected the change.
  • name - the name you assigned to the web monitor.
  • url - the original URL that is being monitored by the task.

For instance if your web hook is https://www.example.com/web-hook/ and you are monitoring https://www.anotherwebsite.com/ with a web monitor task the web hook call will look something like this.

https://www.example.com/web-hook/?id=232424242&name=My+Monitor&url=https%3A%2F%2Fwww.anotherwebsite.com%2F

How to add GrabzIt to Slack?

To add GrabzIt's Web Monitor to Slack you need to add a Slack webhook to the web monitor you want to get notifications from.

  1. Create a Slack App: Go to the Slack API dashboard and click Create New App, then select From scratch. You will be prompted to give it a name (e.g., "GrabzIt Alerts") and choose the workspace where you want it to live.
  2. Enable Incoming Webhooks: Once the app is created, locate the settings menu on the left side. Click on Incoming Webhooks and toggle the switch at the top to On.
  3. Authorize the App and Pick a Channel: Scroll down to the bottom of the same page and click the Add New Webhook to Workspace button. Slack will prompt you for permission and ask which specific channel (e.g., #website-alerts) the bot should post to.
  4. Copy the Webhook URL: After selecting a channel, you will be redirected back to the Incoming Webhooks page. A new webhook URL will now appear in your list. The URL will look something like this:
    https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX