You can specify hooks to trigger certain actions upon certain events. To do so, head to your Application's Settings page and find the Outbound webhooks section. Click Add new webhook to open the modal form. Fill out the form and click on Create outbound webhook button.
When the Request method is selected as Post, you can specify the request payload. This field accepts a raw string that will be send to the request URL. You can use the following variables to customize the request payload.
| ||An ISO 8601 formatted time string. The time is computed when sending the webhook.|
| ||The unix timestamp. The time is computed when sending the webhook.|
| ||The application id.|
| ||The deployment id.|
| ||The endpoint to preview the deployment.|
| ||The endpoint to preview the deployment logs. You will need to be authenticated to visit this URL.|
| ||A string indicating the deployment status. It's either success or failed.|
Once a webhook is created you can test it by clicking on the ... > Trigger sample. The request status and body will be displayed in a modal.
|Request URL||The webhook URL of the channel|
|Request URL||Slack's webhook URL. Check out the documentation for more info.|