Webhooks

Send request events to another system whenever a request is submitted, approved, rejected and more.

A webhook posts the request's data to a URL you choose, every time something happens to it. Use it to push approvals into an ERP, a data warehouse, or a script that files the paperwork for you.

Note: Webhooks are configured per service, and only app admins can change them.

Where to find them

Settings > Webhooks lists every service that has webhooks configured, with its status. Click a service to open its settings straight on the Webhooks tab.

Settings, Webhooks overview

You can also get there the usual way: Service settings > Webhooks, under Automation.

The events a request can send

EventWhen it fires
request.createdThe requester submits the form.
request.editedThe requester edits it before the final approval.
request.approvedThe last block signs off and the request is closed as approved.
request.rejectedAn approver rejects it.
request.forwardedAn approver delegates to someone else.
request.returnedAn approver returns it for edits.
request.resentThe requester resends it after a return.
request.invalidatedAn admin invalidates it.
request.removedThe request is deleted.

For each event you add one or more URLs. Every URL carries its own signing secret, sent as an X-Signature header, and can be limited with a condition such as {payload.status} == "approved".

A Recent deliveries list shows what was sent, with the response, and lets you retry or replay a delivery.

Before you start

The workspace needs a webhooks service wired by an administrator. Until then, the tab can't load its configuration and outgoing webhooks don't fire, even if subscribers are saved.

The Webhooks tab when the deployment has no webhooks service

Note: This service also has two neighbouring tabs for moving data: Exchanges sends records to another service or an external URL with a field mapping, and Bots posts events into a chat channel.