Generic Webhook
Configuring Webhook Integration in groundcover
In groundcover, go to Integrations → Destinations.
Click on Webhook Integration

Fill in a Webhook name
Fill Webhook details
Select an HTTP method:
GET/POST/PUT/DELETEEnter your URL
Optional: Add Authentication headers, you can either add
basic authuser and password, or anAPI Key. (Can't do both)Optional: Add custom headers, by adding key and value pairs
Optional: Add a custom payload
Note that the payload should be a JSON format, but can be used with Jinja2 formatting in order to render different payloads for different if/else conditions, see example below.

Optional: Test the connection-
This will send a notification similar to the notification that will be send by monitors with
[TEST] Notification from groundcoverin the title to differentiate from 'real' notifications.
Save.
Webhook Custom Payload Examples
Concatenating multiple variables into a single string
For an issue with 'cluster:prod' and 'workload:sensor', the above will be translated into: "channel_name": "prod - sensor"
Using if/else conditions for custom payloads:
Use jinja2 formatting in order to define the conditions to meet and the content to send
Or alternatively just use the conditions for part of the json:
Last updated
