workflow:
  id: complex-conditions-monitor-cel
  name: Complex Conditions Monitor (CEL)
  description: Monitors alerts with complex conditions using CEL filters.
  triggers:
    - type: alert
      cel: (source.contains("datadog") && severity == "critical") || (source.contains("newrelic") && severity == "error")
  actions:
    - name: notify
      provider:
        type: console
        with:
          message: "Critical Datadog or error NewRelic alert: {{ alert.name }}"
