This tutorial walks you through building a registry automation triggered by artifact metadata: when an artifact in your registry gets a specific alias (for example, production), Weights & Biases sends a POST request to your webhook. Use this pattern to notify downstream systems like deployment pipelines, paging services, or notification channels, whenever you promote a model to a known stage. This tutorial is intended for ML engineers and MLOps practitioners who manage model lifecycles in Registry.
Prerequisites
- A webhook configured in Team Settings.
- A Registry with at least one collection, or reuse an existing registry.
Create a registry automation
Set up a registry-scoped automation so that when an artifact in any collection in the registry gets a specific alias (for example, production), Weights & Biases sends a POST request to your webhook.
- Open the registry and click the Automations tab, then click Create automation.
- Choose the event An artifact alias is added. Enter an Alias regex that matches the alias you care about (for example, production or staging).
- Click Next step. Set Action type to Webhooks and select your webhook. If the webhook expects a payload, paste a JSON body and use payload variables such as
${artifact_collection_name} and ${artifact_version_string}.
- Click Next step. Give the automation a name and optional description, then click Create automation.
For more information, see Create a webhook automation (Registry tab).
Test the automation
To confirm that the automation fires end-to-end, trigger the configured event by adding the alias to an artifact version. Add the alias (for example, production) to an artifact version in the registry, using the W&B App or the public API. For example:
Within a short time, your webhook endpoint receives a POST with the payload you configured. You now have a working registry automation that fires whenever a matching alias is applied to an artifact in this registry.
Go further
To learn more about W&B automations beyond what this tutorial covers, see the following resources:
Last modified on September 30, 2026