Skip to content

Notification Channels

Whiskers has two separate notification surfaces, and this page covers the first:

  • Tenant channels: notifications for your operations team — Slack, Microsoft Teams, a generic HTTP webhook or e-mail. Routing rules decide which event goes to which channel. This page.
  • The user bell: in-app notifications for a person (the decision on a quota request, a run moved to the background finishing, announcements). No rules needed; the relevant person is resolved from the event.

Channels and rules live under Observability → Notification Channels / Notification Routing / Notification History in the admin panel. Defining them requires observability:notification:write; sending a test message requires observability:notification:send_test.

1. Define a channel

Notification Channels → New Channel; fields depend on the type:

Type Fields
Slack The incoming webhook address issued by Slack
Microsoft Teams The Teams channel's incoming webhook address
HTTP webhook Your own endpoint; optional auth_token (sent as Authorization: Bearer …) and extra headers (JSON)
E-mail (SMTP) SMTP server, port, security (STARTTLS 587 · SSL/TLS 465 · none, internal network only), sender address, recipients, optional username/password

Webhook addresses and the SMTP password are stored encrypted and never shown again. After saving, try the channel with Send test message; the result lands in the history flagged as a test.

A channel name is unique within your organisation: a second channel with the same name cannot be created, and the existing channel is not affected by the attempt. To change a channel's address or password, edit that channel.

Addresses that are not accepted

The webhook address and the SMTP server are checked when saved and on every delivery. The platform's own services, localhost and the cloud metadata address can never be targets: the registration is rejected with 422, and at delivery time the attempt shows up in the history as failed with an "egress denied" error. Internal network addresses (an internal SMTP relay, an internal webhook) are allowed.

The body sent to an HTTP webhook is fixed:

{"subject": "…", "text": "…"}

For the e-mail channel the Recipients list is the operations mailbox. The same channel is also used for user-facing e-mails (see below); in that case the recipient is the user who owns the event, not the list.

2. Write a routing rule

The Notification Routing page keeps all rules in one form; Save replaces the whole list. Each rule has three parts:

Event pattern. One of three forms:

  • an exact event name, e.g. agent.execution_failed
  • a prefix, e.g. quota.*
  • everything: *

Other wildcard shapes (such as agent.execution_*) are saved but never match any event. The form suggests common events; the list is not closed, an event name not on it can be typed as well.

Suggested event When it occurs
agent.execution_failed An agent run ended with an error
agent.awaiting_human A run is waiting at an approval gate
agent.published / agent.deprecated An agent was published / deprecated
agent.exposure_requested / agent.exposure_approved Request / approval to expose an agent on the Public API
quota.threshold_crossed / quota.exceeded Quota warning threshold crossed / quota exhausted
quota_request.created / quota_request.decided New quota request / request decided
mcp_server.discovery_failed Tool discovery from an MCP server failed
knowledge_source.synced A RAG source was synchronized (result in the payload)
knowledge_base.reembedded A knowledge base was re-embedded
llm_provider.updated LLM provider configuration changed

Prefixes: agent.* · quota.* · quota_request.* · knowledge_source.* · knowledge_base.* · mcp_server.* · tool.*.

Condition. Narrows by the event's content: key=value, comma means AND. Examples: status=failed · scope=tenant, decision=rejected. If the key is absent from the event the rule does not match; for OR add a second rule. Empty means unconditional. There are no comparison operators; a deliberate simplicity, real needs are met with equality.

Template. Three named templates exist: quota_threshold, quota_request_new, agent_failure. Left empty, the default template is used: the event name plus every field of the event, one per line. Editing template text is not possible today.

Cut the noise from the start

Piping every event into one channel with * makes the channel unreadable; an unread channel is no better than none. Start with narrow events (agent.execution_failed, quota.exceeded, mcp_server.discovery_failed) and narrow further with conditions (knowledge_source.synced + status=failed).

3. Watch the history

Notification History lists recent deliveries with event, channel and status (sent · failed · pending); test messages are flagged. The error text of a failed row separates two causes: a configuration problem (authentication, mailbox, rejected address) or a network problem (DNS, connection). A failed delivery is retried automatically three more times (1, 2 and 4 minutes apart); if all fail, a single "failed" row lands in the history. After fixing the problem, verify with Send test message.

Notifications that go to users

Some events go to a person instead of a channel and need no rule:

  • A quota request approved / rejected / applied / failed to apply → lands in the requester's bell.
  • A run moved to the background ("notify me") finished or failed → lands in the bell of the user who started it and, if the tenant has an enabled e-mail channel, that user receives an e-mail. The e-mail carries only a link, never the agent output; an e-mail failure does not block the bell.
  • Announcements: an administrator can send a free-text announcement as a bell notification to the whole tenant, selected groups or users (the Announcements page).
  • An approval step waiting and a request to expose an agent → land in the bell of the people who can approve; a newly published agent can be announced to the audience that has access.
  • A scheduled task completed, failed or was paused (with the reason) → to the task's owner — see Scheduled Tasks.
  • Reports: a file prepared in the background is ready or could not be prepared, a scheduled report arrived or a schedule was paused — see Usage and Reports.
  • Rooms: being mentioned in a room, the room budget running out, the room about to expire or expired, a closed room about to be deleted — see Rooms.
  • Conversations archived automatically for inactivity, a new version of a bound skill being published, avatar allowance renewed.

Ordinary chat turns do not reach the bell or e-mail, because the user waiting on screen already sees the result; this is deliberate.

Troubleshooting

  • Rule exists, nothing arrives. Check the pattern form first (only an exact name, prefix.* or *), then the condition: if the key is absent from the event the rule never matches. No row in the history means the rule did not match; a "failed" row means a channel problem.
  • Test succeeds, real events do not arrive. The rule, not the channel, is the problem; temporarily clear the condition and try again.
  • "egress denied". The address resolves to a platform service, localhost or the metadata address; fix the address.
  • E-mail "no recipients configured". The channel has no recipients; it fails explicitly because a recipient-less channel would otherwise do nothing silently.
  • Deleting a channel. Routing rules bound to it stop working; move the rules to another channel or delete them. The channel's stored secrets (webhook URL, SMTP password) are deleted too.