> ## 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.

# ZoomInfo 連携

> ZoomInfo と連携してセッションデータを自動同期する方法

セッションデータを [ZoomInfo](https://www.zoominfo.com) に自動送信します。セッション終了時に、訪問者のメールアドレスやセッション内容を Webhook 経由で ZoomInfo に送信します。

## 前提条件

* ZoomInfo アカウント

## ZoomInfo 側の設定

### Webhook の作成

1. ZoomInfo で Workflows を開く
2. 新しいワークフローを作成し、Webhook トリガーを追加
3. 表示される **Webhook URL** をコピー

## Turnint ダッシュボードでの設定

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

| 項目          | 説明                     |
| ----------- | ---------------------- |
| Webhook URL | ZoomInfo の Webhook URL |

## 送信されるデータ

セッション終了時に以下の JSON が ZoomInfo に送信されます。

| フィールド         | 型              | 説明                                  |
| ------------- | -------------- | ----------------------------------- |
| `email`       | string         | セッション中に取得した訪問者のメールアドレス              |
| `sessionId`   | string         | セッション ID                            |
| `sessionLink` | string         | ダッシュボードのセッション詳細リンク                  |
| `agentId`     | string         | エージェント ID                           |
| `workspaceId` | string         | ワークスペース ID                          |
| `summary`     | string \| null | セッションの要約                            |
| `userContext` | object         | セッションに渡されたユーザーコンテキスト                |
| `messages`    | array          | セッション中のメッセージ一覧（`role` と `text` を含む） |
| `timestamp`   | string         | 送信日時（ISO 8601 形式）                   |

<Info>
  メールアドレスがセッションコンテキストに含まれない場合、データは送信されません。
</Info>
