This tutorial walks you through building a project automation triggered by run status: when a run in your project transitions to Failed, W&B sends a Slack notification. This automation lets your team learn about failed runs in real time, so you can investigate and remediate them instead of discovering failures later.Documentation Index
Fetch the complete documentation index at: https://wb-21fd5541-docs-2632.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- A W&B project.
- A Slack integration configured in Team Settings.
Create a project automation
Set up a project-scoped automation so that when a run in the project transitions to Failed, W&B sends a Slack notification.- Open the project and click the Automations tab in the sidebar, then click Create automation.
- Choose the event Run state change. Set the state to Failed. Optionally add a run name or user filter to limit which runs trigger the automation.
- Click Next step. Set Action type to Slack notification and select the Slack channel.
- Click Next step. Give the automation a name (for example, “Run failure alert”) and an optional description, then click Create automation.
Test the automation
To confirm the automation is configured correctly, trigger it with a deliberately failed run. Create a run and log it to the project, explicitly marking it as failed:Go further
- Automation events and scopes for all project and registry event types.
- Create a Slack automation and Create a webhook automation for full UI and payload details.