You can set up webhooks in Transposit to enable data to be received from external services.
Webhooks help you quickly identify and respond to incidents, requests, or any other operational event.
Connect to services like Datadog, Pagerduty, BigPanda, CircleCI, and any other service that provides support for webhooks.
Watch these quick screencasts for an overview of the steps you'll take below.
In the first video, you see how to integrate New Relic with Transposit, while the second is focused on ServiceNow.
Display the Webhooks. Go to Settings > Webhooks to display all your webhooks. When you have added one or more webhooks, the Webhooks page will look as follows.
Create a Webhook. Click New Webhook to begin defining a webhook.
In the Payload Editor, choose the payload sample of your choice or paste in any other webhook payload to be processed by Transposit.
Alternatively, click Click to copy below the Endpoint URL, to copy the endpoint URL. Register the URL in the technology from which you will be sending alerts, such as Pagerduty, and then send an alert from it. After sending the alert, click Refetch payload above to import the payload from the newly sent alert into the Payload Editor.
The editor is filled with the payload of your choice. Finetune it as needed.
Save Fields for Mapping. Click the plus icon in the left margin of a payload line to save that field for mapping in the next step.
You can always come back to this screen from the Webhooks page to edit or optimize further.
Assign Fields to Alerts. In the Map fields section, use drag and drop to assign a saved field from the pane on the left to the relevant alert field on the right. Alternatively, instead of using drag and drop, click Data, to select the extracted field you need.
Optionally, click Advanced to use values selected from the payload and to add simple logic to them to dynamically populate the value of the alert fields.
Save the Webhook. Click Save Webhook when you're happy with how you've set up your webhook.