Skip to main content

Slack Notifications

Receive a Slack message whenever a run finishes, with the run name, environment, results, the first failure and a link to the Investigation Hub. Notifications are sent for hosted runs, Playwright reporter runs and JUnit/Allure report uploads (POST /api/v1/reports). Local runs from a developer machine never notify.


Setup​

  1. Go to Settings → Connectors.
  2. Under the Slack card, paste your Slack Incoming Webhook URL.
  3. Select which execution statuses should trigger notifications:
    • PASSED
    • FAILED
    • ERROR
    • UNSTABLE
  4. Click Save Webhook.
  5. Click Send Test Message to post a sample message to the channel.

Only organization admins can change or test the webhook. The URL is stored encrypted (AES-256-GCM) and never returned.


Getting a Slack Webhook URL​

  1. Go to api.slack.com/apps and create a new app.
  2. Enable Incoming Webhooks in the app settings.
  3. Click Add New Webhook to Workspace and select the channel.
  4. Copy the webhook URL (format: https://hooks.slack.com/services/...). Agnox only accepts URLs in this format.

Notification Content​

Every message is a Block Kit message with:

PartContent
HeaderStatus and the run's title: its run name, else its run group, else its test folder
StatusPASSED, FAILED, ERROR or UNSTABLE
EnvironmentThe run's environment (development, qa, staging, production)
Resultspassed · failed · skipped counts, plus quarantined failures when there are any
SourceAgnox Hosted or External CI (reporter and report-upload runs)
Run / Group / DurationShown when the run has them
First failureFor a failing run: the first non-quarantined failed test and the first lines of its error. ANSI colour codes are removed and secrets redacted
View Investigation HubButton that opens the run in the execution drawer

Deliveries have a 10-second timeout and are tried up to 3 times (2 retries with backoff) on network errors, 429 and 5xx responses. A failed delivery is logged and never affects the run.


Other Connectors​

The Connectors settings page also has:

  • Jira — create tickets from the Investigation Hub; descriptions are sent as Atlassian Document Format (Jira →)
  • Linear — create Linear issues from the Investigation Hub or the Auto Bug modal (Linear →)
  • Monday.com — create board items from the Investigation Hub or the Auto Bug modal (Monday.com →)
  • Microsoft Teams — Adaptive Card notifications through a Teams Workflows webhook (MS Teams →)
  • Generic Webhook — signed execution.finished POST to any HTTPS endpoint (Webhooks →)
  • GitHub / GitLab / Azure DevOps / Bitbucket — personal access tokens for CI context and pull request comments

A Connected badge appears once credentials are stored. Admins get a Test Connection (or Send Test) button on Jira, Linear, Monday.com, the generic webhook, Slack and Teams.