Workflow Examples
Slack Webhook Message on Specific Monitor
This workflow is triggered by issue with filter of alertname: Workload Pods Crashed Monitor
. Which means only issues created by the monitor named "Workload Pods Crashed Monitor" will trigger the workflow, in this example we use a slack message action using labels from the issue.
Send Only Firing Alerts
In some cases, you may want to avoid sending resolved alerts to your integrations—this prevents incidents from being automatically marked as “resolved” in tools like PagerDuty.
To achieve this, you can add a condition to your action that ensures only firing alerts are sent. Here’s an example of how to configure it in your workflow:
This configuration uses an if condition to check that the alert’s status is firing before executing the PagerDuty action - line 8.
Slack Webhook Message on Issue
This workflow is triggered by an issue and uses the slack_webhook
integration to send a Slack message formatted with Block Kit. For more details, see Slack Block Kit.
Create Jira Ticket Using Webhook
See Jira Webhook Integration for setting up the integration
Get your Issue Type ID from your Jira, see: https://confluence.atlassian.com/jirasoftwarecloud/finding-the-issue-type-id-in-jira-cloud-1333825937.html
Get your project id from you Jira, see: https://confluence.atlassian.com/jirakb/how-to-get-project-id-from-the-jira-user-interface-827341414.html
Replace in this workflow these by using your values: <issue_id>, <project_id>
Replace in this workflow <integration_name>
based on your created integration name.
Last updated