workflow:
  id: severity-change-monitor
  name: Severity Change Monitor
  description: Tracks alert severity changes and provides detailed notifications about severity level transitions.
  triggers:
    - type: alert
      severity_changed: true
  actions:
    - name: echo-test
      provider:
        type: console
        with:
          # "The severity has changed from warning to info (it has decreased from last alert)"
          message: "The severity has changed from {{ alert.previous_severity }} to {{ alert.severity }} (it has {{ alert.severity_change }} since last alert)"
