> ## Documentation Index
> Fetch the complete documentation index at: https://docs.timothe.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Microsoft Teams ウェブフック連携

> Microsoft Teams ウェブフックでセッション通知を受け取る設定方法

[Microsoft Teams](https://www.microsoft.com/ja-jp/microsoft-teams/group-chat-software) の Incoming Webhook を使って、セッションイベントの通知を Teams チャンネルに送信します。

## 前提条件

Microsoft Teams で Incoming Webhook を作成し、Webhook URL を取得してください。

1. Teams チャンネルの **コネクタ** または **ワークフロー** を開く
2. **Incoming Webhook** を追加
3. 名前とアイコンを設定
4. **Webhook URL をコピー**（`https://xxx.webhook.office.com/webhookb2/...`）

## 設定

ダッシュボードの **インテグレーション** から新規作成し、タイプ「Microsoft Teams」を選択します。

| 項目          | 説明                                           |
| ----------- | -------------------------------------------- |
| Webhook URL | Teams の Webhook URL（`webhook.office.com` のみ） |

### イベント設定

イベントごとに通知の有効/無効とカスタムメッセージを設定できます。

| イベント                  | 説明              |
| --------------------- | --------------- |
| On Session Started    | セッション開始時に通知     |
| On Message Sent       | ユーザーメッセージ送信時に通知 |
| On Action Executed    | アクション実行時に通知     |
| On Session Summarized | セッション要約完了時に通知   |

各イベントで `message` フィールドにカスタムメッセージテンプレートを設定できます。
