Skip to main content

Configure Your First Webhook

Webhooks enable external tools to automatically create alerts and incidents in AI SRE.

Create a Webhook

Create Integration

  1. Click on Integrations
  2. Click on New Integration
  3. 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:

  1. You will get the default values of the payload configuration for the template you have selected
  2. You can wish to add more data from the configuration by clicking on the checkbox and extracting it
  3. 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:

  1. 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:

  1. Just simply scroll down and select Add Field
  2. Fill the details of the custom field and hit Save
  3. 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
  4. 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.


Next Steps