Skip to content

Notifications

Markdown

A notification rule fires on a CEL condition that Loom evaluates each cycle. The model never decides to send one; it can only influence it through validated output fields the condition reads, such as out.severity.

notifications:
disk_critical:
when: "m.disk_pct_avg > 90"
severity: critical
message: "Fleet-average disk usage is critical."
cooldown: 1h
channels: [ops]
notification_channels:
ops:
transport: webhook
target: https://ntfy.sh/my-fleet
  • cooldown stops a rule from firing again too soon.
  • Every notification is stored first, then delivered, so none is lost if delivery fails.

Loom ships protocols, not vendors:

transport Delivers
stdout One line on standard output.
webhook One HTTP POST of the notification as JSON to target. Reaches Slack, Discord, ntfy, WhatsApp bridges or your own server.

A webhook may carry a secret_ref, sent as a bearer token. A rule that names no channel goes to the default one.