Configure Your First Webhook
Webhooks enable external tools to automatically create alerts and incidents in AI SRE.
Create a Webhook
- Step by Step
- Interactive Guide
Create Integration
- Click on Integrations
- Click on New Integration
- Fill in the details for the webhook:
- You can select the type, Incident, Alert, Deployment, Build
- Select the Template type from the dropdown list
- Click on Save
Copy Webhook URL
Once the integration is saved, you will receive a URL that you can configure on the application with which you want the integration to happen. This step varies from tool to tool, and can be checked in the documentation of those applications.
Configure Payload
Next, click on Payload Configuration:
- You will get the default values of the payload configuration for the template you have selected
- You can wish to add more data from the configuration by clicking on the checkbox and extracting it
- Click on Next on the bottom of the page
Map Fields
You will be able to view the Mapped Fields which you have selected in the previous step:
- You can fill in the values on the mapped fields simply by dragging and dropping from the saved fields pane
Add Custom Fields (Optional)
You can also add any custom fields that you want in your integration payload:
- Just simply scroll down and select Add Field
- Fill the details of the custom field and hit Save
- Drag and drop the values from the saved fields to the custom field placeholder added. You can choose to manually add it or use the Data picker too
- Click on Next
Test Integration
You can now test the integration with the cURL command. The POST request contains the endpoint URL which will be used for the integration.
Save
Finally, click on Save on the top right. The integration is ready.
Send events from external tools, like alerts, builds, deployments, and config changes. Categorize them to track and respond effectively.
Next Steps
- Go to Create Runbooks to automate incident response workflows.
- Go to Configure Webhooks for detailed webhook configuration.