description |
---|
Use webhooks to automate custom flaky test workflows |
Trunk provides webhooks for you to build custom integrations to automate workflows, like notifying your team when a test becomes flaky or automatically creating tickets to investigate flaky tests. Trunk already provides a Jira integration, and more are planned. Webhooks lets you build custom integrations for use cases that are not supported out of the box.
Svix powers webhooks for Trunk. You'll be using Svix to configure webhooks and you should familiarize yourself with the Svix App Portal docs to learn more.
Trunk lets you create custom workflows with event-triggered webhooks. Flaky Test events are named with a test_case
prefix. You can find all the events that Trunk supports in the event catalog:
{% embed url="https://www.svix.com/event-types/us/org_2eQPL41Ew5XSHxiXZIamIUIXg8H/#test_case.status_changed" %}
You can also find guides for specific examples here:
Send a Slack Message | slack-integration.md | |||
Create a GitHub Issue | github-issues-integration.md | |||
Send a Microsoft Teams Message | microsoft-teams-integration.md | |||
Create a Linear Issue | linear-integration.md |