How to setup your first webhook
Paradime’s webhook system supports JSON payloads to your application’s endpoint URL when your webhook is triggered. Paradime supports the below events for Bolt runs:bolt.run.started— Triggered when a Bolt run is startedbolt.run.completed— Triggered when a Bolt run is completed. This can be a run that has failed or succeeded.
Examples of JSON payloads
An example of a webhook payload for a completed run:
Thebolt.run.completed event provide all the data required to see the details of the execution for a schedule. This event also enables you to query additional metadata for each dbt™️ command using a pre-populate graphql endpoint provided in the fields:
api_query- this endpoint will allow you to query and extract for each command in the schedule the raw console logsresource_query- this endpoint will allow you to query and extract for each command the relate resources generated by the execution of the command, for example therun_results.jsonor themanifest.json
See Also: bolt-api.md
An example of a webhook payload for a started run:
Webhook Payload Transformations
Payload transformations let you filter or modify webhook events before they are delivered. The transformation runs inside Paradime — if you cancel the event, no request is sent to your destination.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 — 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.