Set up alerts in Discord

   This article has been moved!

We've recently updated our support center articles - Please bear with us while we make the transition. This article can now be found here!

You can have notifications from Hudu posted in your Discord server.

Overview

With Hudu, you can create alerts for expirations and monitored website alerts. You can use email to receive these alerts, but you can also use Webhooks to send to outside services. In this case, we will setup Discord to receive the messages.

Prerequisites

Before starting, you should create the workspace and channel (within that workspace) that you want messages to arrive in.

Instructions

  1. Go to your server and click on Server Settingsmceclip0.png
  2. Click on Webhooks and then click Create Webhookmceclip1.png
  3. Edit the newly generated Webhook: mceclip2.png
  4. Copy the generated url and paste into Hudu.

 

Example Payloads

In order to have a message in your Discord, you will need to deliver a payload. Here are some examples:

Single Expiration

{"content": "Expiration alert: $COMPANY_NAME - $RECORD_NAME. View: $HUDU_URL."}

Expirations

{"content": "There are *$EXPIRATIONS_COUNT* expirations expiring within *$TRIGGER_DAYS* days. View: $EXPIRATIONS_HUDU_URL."}

Websites

{"content": "*$WEBSITE_NAME* appears to be down. View: $WEBSITE_HUDU_URL"}

Testing Webhooks

We provide a way to test your Webhooks. Navigate to Admin -> Alerts and click on Test Webhook. Note: we are only testing your connection and payload, not your variables, so sample variables will be filled in. 

mceclip0.png

 

 

Was this article helpful?
0 out of 0 found this helpful