Overview
This guide shows how to manage webhook integrations using the Webhooks section in Sift’s Manage Workspace.Instructions
Create a webhook (with the option to test it)
To create a webhook with the option to test it before saving it:Only users with an Admin or Editor roles can create webhooks. To learn more, see Role-based access control (RBAC).
- Click your profile icon, which shows the first initial of your account name.
- Select Manage.
- In the Manage navigation menu, click Webhooks.
- Click Create webhook.
- In the Webhook name box, enter a name for the webhook.
-
In the Trigger event type list, select a trigger event type.
To learn about available trigger event types, see Trigger event types.
- In the Destination URL box, enter the destination (target) URL.
- Click Next.
-
Optional: Configure custom HTTP headers.
- Click + Add header
- In the Key list, select an HTTP header.
- In the Value box, enter the corresponding value for the HTTP header key.
- In the Payload config template list, select a payload configuration template for the trigger event type.
-
Edit/create the payload body.
To learn about webhook payloads, see:
-
Optional: Test webhook.
- Click Test webhook.
- When you click Test webhook, Sift sends a webhook using your configured payload to the specified destination URL and display the exact response received from the target system.
- Sift does not retain logs generated from test webhook executions.
- When you click Test webhook, Sift sends a webhook using your configured payload to the specified destination URL and display the exact response received from the target system.
- Click Test webhook.
- Click Save.
Edit a webhook (with the option to test the edits)
To edit a webhook and test its edits:- Click your profile icon, which shows the first initial of your account name.
- Select Manage.
- In the Manage navigation menu, click Webhooks.
- In the Webhooks table, click the webhook to edit.
- Click Edit.
- Edit the webhook.
- Optional: Test the edits.
- Click Test webhook.
- When you click Test webhook, Sift sends a webhook using your configured payload to the specified destination URL and display the exact response received from the target system.
- Sift does not retain logs generated from test webhook executions.
- When you click Test webhook, Sift sends a webhook using your configured payload to the specified destination URL and display the exact response received from the target system.
- Click Test webhook.
- Click Save.
Archive a webhook
To archive a webhook:- Click your profile icon, which shows the first initial of your account name.
- Select Manage.
- In the Manage navigation menu, click Webhooks.
- In the Webhooks table, click the webhook to archived.
- Click More options.
- Click Archive.
- In the Archive webhoo pop-up box, click Archive.
Unarchive a webhook
To unarchive a webhook:- Click your profile icon, which shows the first initial of your account name.
- Select Manage.
- In the Manage navigation menu, click Webhooks.
- In the Webhooks table, click Show archived
- In the Webhooks table, click the webhook to unarchived.
Configure a webhook for a Rule
To configure a webhook for a Rule:- Before proceeding, ensure that the webhook you intend to configure for the Rule has already been created. If it hasn’t, create a webhook first. To learn more, see Create a webhook (with the option to test it).
- Webhooks configured for a Rule are triggered only as part of live Rule evaluations and are not executed during historical evaluations. To learn more, see Overview.
- In Sift, click .
- Click the Rules. tab.
- In the Rules table, click the Rule you want to configure a webhook for.
- Click Edit.
- In the Webhook card, click + Configure webhook.
- In the Webhooks table, select the Rule you want to configure a webhook for by clicking its name.
- Click Select.
- Click Save.
- Click Publish.
View a webhook’s logs
To view a webhook’s logs:To learn about a log’s generation and retention policy, see Log generation and retention policy.
- Click your profile icon, which shows the first initial of your account name.
- Select Manage.
- In the Manage navigation menu, click Webhooks.
- In the Webhooks table, click the webhook whose logs you want to view.
- Click the Logs tab.
Generate the webhook signing key
To generate the webhook signing key:- Click your profile icon, which shows the first initial of your account name.
- Select Manage.
- In the Manage navigation menu, click Webhooks.
- Click Generate key.
Obtain (that is, copy) the webhook signing key
To obtain (that is, copy) the webhook signing key:This section assumes the steps in the following section have been applied: Generate the webhook signing key.
- Click your profile icon, which shows the first initial of your account name.
- Select Manage.
- In the Manage navigation menu, click Webhooks.
- Click Copy.