Skip to content

Slack Notifications

Flakiness.io can send daily alerts to Slack when test failures or regressions are detected. Notifications run at 9 AM in the project’s timezone and are only sent when there are issues to report.

There are two ways to connect Slack: Incoming Webhooks (recommended) and Workflow Triggers.

Incoming Webhooks are the simplest way to get Flakiness.io notifications in Slack. They post rich, formatted messages directly to a channel.

  1. In Slack, go to Your Apps and create a new app (or use an existing one).

  2. Enable Incoming Webhooks and click Add New Webhook to Workspace. Choose the channel where you want notifications.

  3. Copy the webhook URL (it looks like https://hooks.slack.com/services/T.../B.../xxx).

  4. In your Flakiness.io project, go to Settings and paste the webhook URL in the Slack Notifications section.

That’s it. Flakiness.io will send formatted messages with links to the dashboard whenever failures are detected.

Use a Workflow Trigger when you want Slack’s Workflow Builder to control how the notification is delivered. This is useful when:

  • Your workspace doesn’t allow custom apps or Incoming Webhooks.
  • You want to route, format, or enrich the notification using Slack’s Workflow Builder (e.g. post to different channels based on conditions, add emoji reactions, mention specific people).
  1. In Slack, open Workflow Builder and create a new workflow. Choose “Starts with a webhook” as the trigger.

  2. Add a variable named text with type Text to the webhook trigger. This is the variable Flakiness.io will populate.

    Flakiness.io sends the following JSON body to the trigger URL:

    {
    "text": "..."
    }
  3. Add a “Send a message” step to the workflow. In the message content, insert the text variable.

  4. Publish the workflow and copy the trigger URL (it looks like https://hooks.slack.com/triggers/T.../xxx).

  5. In your Flakiness.io project, go to Settings and paste the trigger URL in the Slack Notifications section.