Learn how to create and configure webhooks to integrate your rotations with external tools and automate workflows.
- All Slack workspace users.
Webhooks allow you to integrate Rotation App with your other tools by automatically triggering actions when rotation events occur.
Common use cases include:
- Syncing the on-call user with incident management platforms like PagerDuty or Incident.io
- Updating task management tools like Linear or Jira
- Notifying monitoring services like BetterStack
- Triggering custom workflows in your own systems
For example, when the on-call user changes in Rotation App, a webhook can automatically update the corresponding on-call schedule in PagerDuty to keep both systems in sync.
How to create a rotation webhook?
- Go to Rotation App’s Home tab
Learn where to find Rotation App’s Home tab. - Find the rotation you want to add a webhook to
- Open the Rotation Webhooks dialog
Open the rotation menu and select 🪝 Webhooks.
This will open the Rotation Webhooks dialog where you can view, edit, and manage all webhooks configured for this rotation. - Open the Add Webhook dialog
Select the ➕ New Webhook button to start adding a new webhook. - Fill in the webhook details
- Give your webhook a name: This will help you identify the webhook in the list of webhooks.
- Insert the webhook URL: The endpoint to call when the webhook is triggered.
- Select the webhook events: Choose the events that will trigger the webhook. Learn more about the webhook events in the Rotation Webhook events article.
- Add a request header (optional): Select Add header to send a header, like an API key, with every request. Learn more in Secure your webhook with a request header.
- Submit the form
Select the Add button to add the webhook.
Secure your webhook with a request header
Anyone who knows your webhook URL can send requests to it. To make sure a request really comes from Rotation App, you can have the webhook send a header with a secret value, and set your endpoint to reject requests without it. Each webhook can send one header.
- Open the Add Webhook or Edit Webhook dialog
- Select Add header in the Request Header section
- Fill in the header
- Header Name: The name your endpoint expects, for example
AuthorizationorX-Api-Key. - Header Value: The secret value, for example
Bearer my-secret-token. When editing a webhook that already has a header, leave this field empty to keep the saved value, or type a new one to replace it.
- Header Name: The name your endpoint expects, for example
- Save the webhook
The header value is hidden once saved and can’t be viewed again, so keep a copy where your endpoint is configured.
Rotation App sends the header with every event, and with test events from the 🧪 Test option. If your endpoint is an automation platform or an API gateway, set it to require the same header name and value.
To stop sending the header, open the Edit Webhook dialog, select Remove header, and save the webhook.
Learn more about the webhook events in the Rotation Webhook events article.