pgDash Alerts

The built-in pgDash Alerts trigger initiates a flow when it receives a signal from a pgDash alert.

Add the pgDash Alerts trigger to the canvas

  1. Go to the Triggers tab in the palette, expand the App Triggers section, and drag the trigger onto the canvas.
  2. Double-click the trigger (or click the pencil icon).
  3. Set the authenticating user, and then copy the URL — you'll use this to set up the webhook in pgDash. Alternatively, you can create an integration user to use as the authenticating user.

  4. Click the Flood Control tab to edit the trigger's default flood control settings. For more information about these settings, see Trigger Flood Control.
  5. Click Done.
  6. On the flow canvas, connect the steps you want to run when xMatters receives a request to that URL.

You're now ready to configure pgDash to target the trigger.

Configure pgDash to send requests to the trigger URL

To have pgDash send alerts to the flow trigger, you need to configure a webhook and set it to use the trigger URL.

  1. Go to
  2. Select a server to configure the webhook on.

  3. Select Alerts from the left-hand menu.

  4. On the Notification Settings page, go to the Raise xMatters events field and paste the trigger URL you copied from the pgDash trigger in Flow Designer. Add the target names of any recipients you want xMatters to notify when the alert fires.
    • For example, if you want to notify Emma Pearson, Mary McBride, and the on-call members in the Monitor Team responsible for the service, you'd add ?recipients=epearson,mmcbride,monitor%20team to the URL.
    • You must URL-encode any special characters or spaces in the target names.

  5. Click Update to save your changes.

You're ready to use the webhook to trigger automated flows, including steps such as sending alerts and initiating incidents, though we always recommend testing before putting things into use.