When to use transformations
Use a transformation to suppress webhook deliveries you don’t need to act on. Two common cases:Example: Skip passed runs and Turbo CI
The handler below cancels delivery for both categories above.webhook.cancel = true stops delivery entirely. The event is dropped, so no HTTP request is made to your endpoint.
How to apply a transformation
- Go to Webhooks and click the webhook you want to configure.
- Open the Advanced tab.
- Toggle Enable transformation on.
- Click Edit transformation and paste your handler function.
- Save.
Tip: Changes take effect immediately on the next event. Test with a manual run before relying on it in production.