For Merge Queue webhook events (
pull_request.* and pull_request_batch.*), see the Merge Queue webhooks reference.Supported Events
Trunk lets you create custom workflows with event-triggered webhooks. Flaky Tests events are named with atest_case prefix. You can find all the events that Trunk supports in the event catalog:
Webhook Events | trunk.io - Svix
test_case.monitor_status_changed
Emitted when a monitor activates or resolves for a test case.
v2.test_case.status_changed
Emitted when a test case changes status (e.g., becomes flaky or is resolved), as triggered by a monitor.
test_case.investigation_completed
Emitted when an AI-powered flaky test analysis finishes for a test case.
You can also find guides for specific examples here: