> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trunk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Flaky Tests: Webhooks for status changes

> We’re excited to announce the addition of webhooks for flaky tests, designed to help you automate your workflows for better handling of flaky tests.

We’re excited to announce the addition of webhooks for flaky tests, designed to help you automate
your workflows for better handling of flaky tests. The new `test_case.status_changed` event triggers
whenever a test's status changes (healthy ↔ flaky ↔ broken). This makes it easier to track and
respond to flaky tests as they show up.
[View the docs and example usage here.](https://docs.trunk.io/flaky-tests/webhooks/github-issues-integration)

<img src="https://mintcdn.com/trunk-4cab4936/Q0FYmvzYiNeEZWhS/assets/changelog/flaky-tests-webhooks-for-status-changes-b4hln2.png?fit=max&auto=format&n=Q0FYmvzYiNeEZWhS&q=85&s=859703b27afc1df654d7eccd39d196ea" alt="" width="5600" height="3000" data-path="assets/changelog/flaky-tests-webhooks-for-status-changes-b4hln2.png" />

With this update, you can automate actions to react to flaky tests in a way that suits you best. For
instance, you can create tickets in project management tools (e.g. Jira, GitHub, Linear) and ensure
they are automatically assigned to the right project and team. You can also automatically send
notifications (e.g. in Slack, Discord, and Microsoft Teams) to the right engineers with the most
relevant information, such as failure reasons and trace logs. This helps teams respond quickly,
triage issues, and resolve flaky tests efficiently.
[Explore our webhook guide to get started](https://docs.trunk.io/flaky-tests/webhooks).
