Integration Examples with Workflows

This page provides examples of how to integrate workflows with different notification systems and external services.

Slack Notification

This workflow sends a simple Slack message when triggered:

workflow: 
  id: slack-notification
  description: Send Slack notification for alerts
  triggers:
    - type: alert
  actions:
    - name: slack-notification
      provider:
        type: slack
        config: '{{ providers.slack_webhook }}'
        with:
          message: "Alert: {{ alert.alertname }} - Status: {{ alert.status }}"

Slack with Rich Formatting

This workflow sends a formatted Slack message using Block Kit:

PagerDuty Integration

This workflow creates a PagerDuty incident:

Opsgenie Integration

This workflow creates an Opsgenie alert:

  • Alias is used to group identical events together in Opsgenie (alias key in the payload)

  • Severities must be mapped to Opsgenie valid severities (priority key in the payload)

  • Tags are a list of string values (tags key in the payload)

Jira Ticket Creation

This workflow creates a Jira ticket using webhook integration:

Multiple Actions

This workflow performs multiple actions for the same alert:

Last updated