# Test a Slack Webhook Notification in Cloud

*Applies to: Patch My PC Cloud*

You can test a Slack webhook notification from Patch My PC (PMPC) Cloud both at the time it is created and afterward.

### Testing a Slack webhook notification at the time of creation

1. Follow the [Create a Slack Webhook Notification](https://docs.patchmypc.com/patch-my-pc-cloud/manage/manage-settings/manage-cloud-notifications/create-a-slack-webhook-notification-in-cloud) process.
2. Once you have entered and saved the webhook URL, click the small envelope beside the webhook URL (![](https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2Fxf8HI9He9w4GO5gATVFh%2Fimage.png?alt=media\&token=7e292d89-fcce-4f5a-8a2c-bc779c834575)) to send a test message.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FtCEMSCPdhcwsVMhUNALW%2Fimage.png?alt=media&#x26;token=dd32396a-35c1-4bc2-8687-ae71d64705ef" alt="Clicking the small envelope beside the Webhook URL to send a test message." width="563"><figcaption></figcaption></figure>

The portal will send a test Slack notification and display the **Success - Test webhook has been sent** notification.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FlgbSn341M2qB0WPlD75H%2Fimage.png?alt=media&#x26;token=32b25c0a-01b2-4a53-999e-63ed7d06c355" alt="&#x22;Success - Test webhook has been sent&#x22; notification" width="563"><figcaption></figcaption></figure>

If your Slack webhook is valid, the test message appear as a notification and in the configured Slack channel:

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FxjK3UbV31aMpv7ClcPLG%2Fimage.png?alt=media&#x26;token=407aecfb-e155-4d23-915a-dbd1aec59adf" alt="" width="260"><figcaption></figcaption></figure>

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FqvxtFjcOLvP7dU8Qvsle%2Fimage.png?alt=media&#x26;token=d051bf4b-f228-4e5c-a0fa-62fb20b0aeec" alt="Slack channel notification" width="563"><figcaption></figcaption></figure>

### Testing a Slack webhook notification after it has been created

1. Follow the [Modify a Notification](https://docs.patchmypc.com/patch-my-pc-cloud/manage/manage-settings/manage-cloud-notifications/modify-a-cloud-notification) process and select the relevant Slack notification you want to test.
2. Click the small envelope beside the webhook URL (![](https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2Fxf8HI9He9w4GO5gATVFh%2Fimage.png?alt=media\&token=7e292d89-fcce-4f5a-8a2c-bc779c834575)) to send a test message.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FDEoDIlH3HIDcTe8OzE4A%2Fimage.png?alt=media&#x26;token=8d83da0f-a2bf-43da-b2e4-5b91427ec745" alt="Clicking the small envelope beside the Webhook URL to send a test message." width="563"><figcaption></figcaption></figure>

The portal will send a test Slack notification and display the **Success - Test webhook has been sent** notification.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2Fvkog2qrIzrypKh87PVXt%2Fimage.png?alt=media&#x26;token=83016d14-8ce0-4c29-b23f-efd23312f304" alt="&#x22;Success - Test webhook has been sent&#x22; notification" width="563"><figcaption></figcaption></figure>

If your Slack webhook is valid, the test message appears as a notification and in the configured Slack channel:

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FxjK3UbV31aMpv7ClcPLG%2Fimage.png?alt=media&#x26;token=407aecfb-e155-4d23-915a-dbd1aec59adf" alt="" width="260"><figcaption></figcaption></figure>

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FqvxtFjcOLvP7dU8Qvsle%2Fimage.png?alt=media&#x26;token=d051bf4b-f228-4e5c-a0fa-62fb20b0aeec" alt="Slack channel notification" width="563"><figcaption></figcaption></figure>
