> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-sdk-testing-latest.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# オートメーションチュートリアルの概要

> project の run 失敗時アラートまたは Registry alias のオートメーションを作成する方法を学びます。

W\&B Automations は、**イベント**が発生し、必要に応じて**条件**が満たされると、**アクション**が自動的に実行されるというパターンに従います。たとえば、次のようになります。

* run が失敗したとき (イベント) 、Slack チャンネルに通知する (アクション) 。
  <br />
  <br />
  ```mermaid theme={null}
  %%{init: {'flowchart': {'rankSpacing': 200;}}}%%
  flowchart LR
    Event[run の状態が Failed に変わる]
    Action[Slack 通知]
    Event --> Action
  ```
  <br />
* artifact に `production` エイリアスが追加されたとき (イベント) 、デプロイをトリガーするために webhook を呼び出す (アクション) 。
  <br />
  <br />
  ```mermaid theme={null}
  flowchart LR
    Event[Artifact エイリアスが追加されました]
    Action[Webhook]
    Event --> Action
  ```
  <br />

イベントと使用可能な条件は、[project](/ja/models/automations/automation-events#project) または [Registry](/ja/models/automations/automation-events#registry) をスコープとするオートメーションによって異なります。[Automation events and scopes](/ja/models/automations/automation-events) を参照してください。

このページでは、W\&B でオートメーションを作成する方法を示す 2 つのエンドツーエンドのチュートリアルへのリンクを掲載しています。各チュートリアルでは異なるシナリオを順を追って説明しているため、作成したい内容に合ったものを選んで進められます。詳しい手順については、チュートリアルを選択してください。

* **[project オートメーション チュートリアル](/ja/models/automations/project-automation-tutorial)**: run が失敗したときにアラートを送信します (Slack 通知) 。
* **[Registry オートメーション チュートリアル](/ja/models/automations/registry-automation-tutorial)**: alias (例: `production`) が artifact に追加されたときに webhook をトリガーします。
