# Pulsetic の Webhook を Pocket Alert に連携する方法

> 数ステップで Pulsetic の Webhook を接続する手順

*18.06.2024*

<!-- source: https://pocketalert.app/ja/blog/how-to-integrate-pulsetic-webhooks-into-pocketalert -->

[//]: # '# Pulsetic の Webhook を Pocket Alert に連携する方法'

## 新しい Webhook を作成する

![create webhook](https://cdn.pocketalert.app/guides/monitoring-tools/webhook-create.gif)

1. [Webhooks](https://pocketalert.app/webhooks) ページに移動します
2. 「Create」ボタンをクリックします
3. フォームに次の情報を入力します
   - **Name**: Webhook の名前
   - **Application**: Webhook を紐付けるアプリケーション
   - **Device**: Webhook を紐付けるデバイス
   - **Message**: Webhook がトリガーされたときに送信するメッセージ
4. 「Create」ボタンをクリックします
5. Webhook の URL をコピーします

**メッセージでは \* を指定して JSON をすべて取得し、必要なパラメータを確認してください。**

## Webhook を [Pulsetic](https://pulsetic.com/?fpr=pocketalert) に追加する

![pulsetic add webhook](https://cdn.pocketalert.app/guides/monitoring-tools/pulsetic-webhook.gif)

1. [モニター](https://app.pulsetic.com/monitors?fpr=pocketalert)のセクションに移動します
2. 「...」をクリックし、メニューから「Alerts」を選択します
3. 「Webhooks」タブをクリックします
4. Pocket Alert からコピーしたリンクを貼り付けます
5. 「Save」ボタンをクリックして変更を適用します
6. 「Send Online Request」または「Send Offline Request」をクリックして、動作を確認します

## 最終設定

Pulsetic で Webhook を設定すると、Pocket Alert アプリにメッセージが表示されます。

たとえば、次のコードを使用できます。

![webhook update](https://cdn.pocketalert.app/guides/monitoring-tools/pulsetic-webhook-update.png)

```json
Url: %monitor.url%
Status: %alert_type%
```

変数の詳細は、[Webhook 設定](https://info.pocketalert.app/api/webhooks/settings.html)をご覧ください。

## Pocket Alert アプリでのメッセージの例

![messages](https://cdn.pocketalert.app/guides/monitoring-tools/pulsetic-webhook-messages.png)

---

![message](https://cdn.pocketalert.app/guides/monitoring-tools/pulsetic-webhook-message.png)

## まとめ

このガイドでは、Pulsetic の Webhook を Pocket Alert アプリに連携する方法を説明しました。新しい Webhook の作成、Pulsetic への Webhook の追加、Pocket Alert アプリでのメッセージの活用方法を確認しました。また、Pocket Alert アプリでのメッセージの例も紹介しました。このガイドがお役に立てば幸いです。ご不明な点がございましたら、お気軽にお問い合わせください。サポートいたします。ご覧いただきありがとうございました。
