The webhook event is a generic event which provisions a unique URL for your automation. This URL can be used to trigger the automation from an external source. For example, you can trigger an automation with a Slack or Sentry event by defining the Block’s webhook URL as the webhook endpoint in the respective service.

Webhook URLs can be obtained from the automation’s installation page in the dashboard.

@on("webhook")
def automation(input):
    pass

The argument passed to your automation’s entrypoint is the raw webhook payload.