Skip to content

Slack

DataLoris posts to Slack through an incoming webhook: a URL that lets an app post into one channel.

  1. Go to api.slack.com/apps, click Create New App → From scratch, name it DataLoris and pick your Slack workspace.
  2. In the app settings, open Incoming Webhooks and switch Activate Incoming Webhooks on.
  3. Click Add New Webhook to Workspace, choose the channel that should receive alerts and click Allow.
  4. Copy the webhook URL. It looks like https://hooks.slack.com/services/T000/B000/XXXX.

A webhook posts to one channel. To alert several Slack channels, create one webhook (and one DataLoris channel) per Slack channel.

  1. Open Alert channels and click New channel.
  2. Choose Slack, give it a name such as #data-alerts, and paste the URL into Webhook URL. Only https://hooks.slack.com/… URLs are accepted.
  3. Click Send test. A test message should appear in Slack within seconds.
  4. Attach the channel to a suite: open the suite, Channels tab, Attach channels, pick a minimum severity and save.

Open the channel in DataLoris and check its Delivery log.

Status / error Fix
FAILED with invalid_token, no_service or 404 The webhook was revoked or the app removed. Create a new webhook and update the channel.
FAILED with channel_is_archived The Slack channel was archived. Create a webhook for another channel.
RETRYING Slack rate-limited or had an error. DataLoris retries for about 30 minutes.
No alert at all Check that the channel is attached to the suite and that its minimum severity is not higher than the incident’s.