7. Notifications
7. Notifications
OPSAIMS keeps you informed through an in-app inbox and, optionally, email and team channels.
The Bell and the Inbox
You have one inbox, whatever the number of workspaces you belong to. Items from every workspace sit in the same list, and each carries a chip with the name of its workspace (the chip is left out while you only belong to one). Platform staff also see Platform items, which belong to no workspace. When you leave a workspace, its notifications no longer show in your inbox, and they come back if you are added to it again.
The bell in the top bar shows your unread count (capped at "9+"). Click it to open the Inbox panel. Each item has a severity stripe on its left edge (grey for info, green for success, amber for warning, red for critical), a title, an optional body, the workspace chip and the time.
- The four tabs: All, Unread, Needs you and Archived. The Unread tab carries the count. The arrow keys move between tabs.
- Needs You: on All, the first three items that wait for a decision are pinned at the top under Needs You, with Show all to jump to the tab. An item needs you when it is critical, or when it has an Acknowledge button, and you have not acknowledged it yet.
- Mark all read is at the top of the panel; each item also has Mark read / Mark unread.
- Open inbox at the bottom opens the full page. The gear next to it opens Notification Settings in a side sheet, without leaving the page you are on.
- Toasts: when a new warning or critical item arrives while the panel is closed, a toast shows it (at most three at a time), with Open, or Acknowledge if it needs a decision.
- How fresh the count is: the count refreshes when you open the panel and after your own actions. Automatic refresh every 30 seconds, while the tab is visible and you are active, switches on at go-live and stops after 10 minutes without activity (a click, a key press or scrolling).
Archive and Acknowledge
Archive moves an item out of the list into Archived; Move to inbox puts it back. A critical item cannot be archived until someone has pressed Acknowledge on it: the Archive button is greyed out with a tooltip until then.
Snooze
Snooze hides an item until a time you choose, and brings it back as unread, sorted by the time it woke up. The presets use your own timezone and quiet hours (Preferences, below):
| Preset | Wakes up |
|---|---|
| Later today | in 3 hours, rounded up to the next quarter hour. Offered only if that is still today. |
| Tomorrow | tomorrow at 08:00 |
| Next week | next Monday at 08:00 (on a Monday, the Monday after) |
| Pick a date and time | your own time, between 5 minutes and 90 days from now |
A time that falls inside your quiet hours moves to the end of the quiet hours. Snoozed items show in the Snoozed view of the inbox page.
Snoozing a critical item also pauses its escalation. Workspace admins are alerted only if the item is still unread and unacknowledged 30 minutes after it wakes up. Marking a critical item unread makes it eligible for escalation again, because it still waits for an acknowledgement. An item escalates at most once.
Keyboard Shortcuts
Click an item or tab into the list, then:
| Key | Does |
|---|---|
j | next item |
k | previous item |
x | select or deselect the item (inbox page) |
e | archive |
r | mark read or unread |
s | open the snooze menu |
Enter | open the item's link |
? | show these shortcuts |
The keys are ignored while you type in a field and when Ctrl, Cmd or Alt is held. Each action is read out by screen readers.
The Inbox Page
Open it with Open inbox, or at /notifications. It is one centred column:
- The header says how many items need you and how many are unread. Channels (workspace administrators; it opens Admin ▸ Notifications ▸ Channels) and the settings button (Notification Settings) sit on the right.
- The views are one tab bar: Needs you, Unread, All, Snoozed and Archived. Needs you, Unread and Snoozed show their count; All and Archived show none. The Needs you count is red whenever something waits for you. The page opens on Needs you while it has items, and on All when nothing needs you. On a phone the bar scrolls sideways.
- The toolbar: the search (titles and bodies; characters such as
%and_are searched for literally), Filters, Select and Mark all read. Filters opens a small panel with Category (Onboarding, Licensing or Trace), Severity (Info, Success, Warning or Critical) and Workspace (one of your workspaces with its unread count, or Platform for platform staff). The button shows how many filters are on. - Active filters show as chips under the toolbar, such as "Workspace: udo". The × on a chip removes that filter; Clear filters removes them all.
- Needs your decision comes first in the All view: one card per item that waits for you, with its severity, workspace, category and time (and "escalated" once it was escalated to the workspace administrators), its text, and the actions on the card: Acknowledge (or the notification's own action), an Open button named for what it opens (such as Open allocation or Open channels) and Snooze. Critical cards have a red border, warnings an amber one. When nothing needs you, the section is one line. The Needs you view shows only these cards.
- Everything else is one list grouped by day: Today, Yesterday and Older. Each row shows a dot in the severity colour (grey once read), the title (bold while unread), the workspace and category, and the time. Click or tap a row to open it.
The time is a clock time in your own language and timezone: "07:58" for today, the weekday and time ("Thu 16:20") for yesterday and the six days before, and the date for anything older. Point at it to see how long ago it was ("2 hours ago").
Row actions. With a mouse, Mark read, Archive and Snooze float in at the right of a row when you point at it or move the keyboard focus into it; they take no space otherwise. On a touch screen or in a narrow window, each row has a More actions button (⋯) instead, with Mark read (or Mark unread), Archive and Snooze, which opens the snooze times; a tap anywhere else on the row opens the item.
The view, the filters and the search stay in the address bar, so a reload or a shared link shows the same list. Select turns on selection mode: each row then shows a box to tick (a tap on the row ticks it too), and the bulk bar appears. Pressing x on an item also selects it and turns selection mode on. Press Select again to leave selection mode; this clears the selection. The bar offers Select all loaded, Mark read, Mark unread, Archive and Snooze (Move to inbox in the Archived view, with no Snooze). Switching to another view ends selection mode. If your selection contains an unacknowledged critical item, the rest are archived, the critical one stays, and a toast tells you so. The line at the bottom lists the keyboard shortcuts.
What Generates a Notification
Every notification comes from a definition: one entry per event that notifies, kept in code, that says who is told, what they read, how serious it is and which channels it uses by default. Seventeen events notify today, grouped into eight categories: Onboarding, Licensing, Trace, Processes, Assessments, Members, Legal and Security.
| Category | Event | Severity | Mandatory |
|---|---|---|---|
| Onboarding | "Welcome to OPSAIMS" when your workspace is provisioned | success | no |
| Licensing | "Licence activated" when an entitlement is granted | success | yes |
| Licensing | A licence request, sent to platform staff (a Platform item) | info | yes |
| Licensing | A licence allocation request (inbox only) | warning | yes |
| Licensing | A licence contract ends in 30 days, and again in 7 days, with no renewal scheduled: the tenant admins, by inbox, email and the licence chat channel | warning | yes |
| Licensing | A licence contract lapsed, 14 days after its term ended without a renewal: the tenant admins, by inbox, email and the licence chat channel | warning | yes |
| Trace | An invitation to a Trace task-recording campaign | info | no |
| Trace | The removal of that invitation | info | no |
| Processes | A process version is published: the other processAIMS members of the workspace, not the publisher (inbox only) | info | no |
| Processes | A process version comes back from cold storage, or a process is restored from an archive file: the other processAIMS members, not the person who restored it (inbox only) | info | no |
| Processes | A Twin was minted: "process has a new Twin (level n)", sent to the person who minted it and to the tenant's admins (inbox only). It is filed under the workspace the Twin was minted in for everyone who is a member of it | success | no |
| Assessments | "Lens finished: …" when a Lens, Score, Forge or Mining run you started finishes, to you only: one item per run, and one for a pass over several processes (inbox only, no email) | success | no |
| Members | Someone was invited to your organisation (tenant admins, except the person who invited them; inbox only) | info | no |
| Members | Someone joined, by accepting an invitation or by single sign-on (tenant admins; inbox only). Someone who was already a member of the workspace does not "join" again | info | no |
| Members | Someone was removed from your organisation or from a workspace (tenant admins, except the person who removed them; inbox only) | info | no |
| Legal | "Document has changed: please review and accept" when a legal document you must accept gets a material new version. A document every user accepts tells every user; a document the tenant accepts tells each tenant's admins. People with no workspace get the email only | warning | yes |
| Security | "Your password was changed" when your password is reset, or when you set a new password on your existing account while accepting an invitation. Only you are told, never an admin. The email goes at once, even during your quiet hours | warning | yes |
Mandatory notices are legal, security and licence notices. Nobody can switch them off: not a member, not a workspace admin. Their In-app and Email show as Required in the preferences and the workspace policies, and cannot be changed there. Each still uses only the channels it has: a licence allocation request, for example, goes to the inbox and sends no email.
Licence expiry notices. The tenant admins hear about a licence contract that ends without a renewal three times: 30 days and 7 days before its term ends, and when it lapses. The days are counted from the contract's term end. Access does not stop on that day: the contract runs on for 14 grace days, and only then lapses back to the Community plan. A renewal that is scheduled or already running stops the notices. If the term end moves, the count starts again from the new date. A contract first seen less than 7 days before its end gets the 7-day notice only. Trials get no notices. The licence chat channel belongs to a workspace, so a contract with no workspace gets no chat post: its admins still get the inbox item and the email. A chat post is in English, the shared channel's language; the inbox item and the email are in each admin's own language.
There's also a critical severity used for escalations (e.g. an unread critical item that needs attention gets re-notified). Critical items skip quiet hours and the throttle (below).
Preferences & quiet hours (per user)
Under Notifications ▸ Preferences (also linked from the admin nav, and opened in a side sheet by the bell's gear or the inbox page's Preferences button), each user controls their own delivery:
- For every category, toggle delivery In-app and/or Email independently. (By default everything is on; turning a switch off opts you out of just that category+channel.) Licensing shows both as Required: licence notices are mandatory and always reach you.
- Quiet hours — enable a daily window with a start, end, and timezone. During quiet hours, non-urgent emails are held and delivered afterwards as a single digest at your quiet-end time. In-app notifications are never delayed, and critical emails always come through immediately — quiet hours never hold them.
The Notification Catalogue (Platform)
Platform staff open Platform ▸ Messages ▸ In-app to see every definition in a table: category, severity, whether it is On, its In-app, Email and Chat channels, when it was Last sent and its Failures (7 days). Staff with the manage right change a notification without a deploy:
- The switch turns a notification off for the whole platform. Off means nothing at all: no inbox row, no email and no chat post. Legal, security and licence notices cannot be switched off, and their switch is locked.
- The channel switches replace the definition's default channels. A channel the platform turns off cannot be turned back on by a workspace or a member. A channel can only be turned on if the notification can use it: email needs an email template.
- The edit sheet (click a row) also sets a throttle in minutes (1 to 1440) and an unread fallback in minutes (5 to 1440). Leave a field empty to use the definition's own. A throttle set here applies even to a notification that has none of its own: each person then gets at most one email of it per window. The digest window is shown but not in use yet: a deferred email goes out when quiet hours end.
- Reset to default removes the override, so the notification follows its definition again.
- Copy opens the existing text editor for the subject and body in each language. Every change is written to the audit log.
How a Notification Is Routed
For each person who should get a notification, OPSAIMS decides channel by channel, in this order. The first rule that speaks wins:
- The platform switch. Off means nothing is sent, even if the notice is mandatory.
- The platform channels replace the definition's channels. They are a ceiling: the steps below can switch a channel off, never on.
- A workspace lock (see Workspace Policies) decides that category and channel for every member.
- The member's own preference (see Preferences).
- The workspace default, when its cell is not locked.
- The definition's default.
Mandatory notices skip steps 3 to 5 for the inbox and the email, so a lock or a preference cannot switch them off. Chat is a workspace target, not personal, so a workspace can still switch it off.
After that, quiet hours turn an immediate email into a digest, and the throttle drops the email of a notification that repeats inside its window. Critical notices skip both. The inbox row is never throttled.
If OPSAIMS cannot read the rules while it routes (a database error), it keeps the inbox row, sends no optional email (only mandatory or critical notices still get one) and makes no chat post. An optional email or a chat post dropped this way is not sent later and is not in the delivery log; the error is logged and the inbox row still carries the notice. If only the throttle cannot be read, the notification is sent without it.
An email can also have no inbox row: when the inbox is routed off for a person but the email is on, the email still goes through the delivery log, so it is retried there and sent once, even when the same event arrives twice. A chat post belongs to the workspace, not to anyone's inbox item, and is logged the same way.
Workspace Policies (Workspace Admin)
Under Admin ▸ Notifications ▸ Policies (/admin/notifications; the old /notifications/policies leads there), a workspace administrator sets, for every category and channel (In-app, Email, Chat):
- On or Off, the workspace default. Each member can still change it in their own preferences.
- Locked. A locked cell decides for every member, and their preference no longer counts. Use it for a notice the whole workspace must get, or must not get.
- Not available is shown for personal categories that never go to a shared chat channel.
- Chat channels lists the channels that receive each category, with a link to Channels.
- Retention is the number of days to keep notifications, from 30 to 730 (365 by default). The setting is saved now; it applies when the retention job runs, which is a later phase.
Mandatory notices ignore the policies for the inbox and the email: you cannot lock or switch them off. Only workspace administrators open this page; a member who tries gets an access-denied page, and policy changes are audited.
Delivery Chips
Under an inbox item, a row of delivery chips shows what happened to that item's email: "Email sent", "Email failed, retrying", "Email at 08:00" (a digest waiting for its time) or "Email skipped". The chips tell you whether the same news also reached your mailbox. They show no addresses or links. Chat posts belong to the workspace, so they are not shown under one person's item; platform staff see them in the delivery log.
The Delivery Log (Platform)
Platform ▸ Messages ▸ Deliveries lists every email and chat post sent outside the inbox, newest first, with filters for Channel, Status and Workspace (or Platform). Each row has the time, the notification, the channel, the status, the number of attempts, the next attempt and a short error. The target is never an address: an email is stored as a hash.
| Status | Means |
|---|---|
| Queued | Waiting to be sent, or waiting for its next retry. |
| Sending | A send is in progress. |
| Sent | The provider accepted it. |
| Failed | The last attempt failed and another is scheduled. |
| Dead | Eight attempts failed. OPSAIMS stops. |
| Skipped | Cannot succeed, so OPSAIMS stopped without retrying. The Reason column says why: the content could not be read, the template is switched off, there is no workspace, the chat channel was deleted, disabled or needs a new URL. (A person who was erased is skipped the same way once erasure is wired up.) |
Retry. A failed delivery is tried again on its own: up to eight attempts, waiting 10 seconds, 20, 40 and so on, doubling up to a 5 minute maximum. Retries run from a queue (notification-deliveries) and a sweep catches whatever the queue missed. After the eighth failure the status is Dead. Use Retry on a failed or dead row (or tick several and use Retry selected) to send it once more; the retry is audited. Each channel retries alone, so a failing Slack post never sends the email a second time. Rows that are still waiting, failed or dead keep their content, encrypted, so a retry can send it; sent and skipped rows hold none. Click a row for its details.
Unread Fallback
A notification can work as inbox first, email if unread: the email waits, and goes only if the inbox item stays unread. It starts when a fallback is set (by the definition, or in minutes in the catalogue's edit sheet), the person got an inbox item, no email went out straight away or into the digest, and the email was off only because of the definition itself or an unlocked workspace default. OPSAIMS then waits the configured number of minutes. If the item is still unread, unacknowledged and not archived, one email is sent. If it was read, nothing is sent.
The fallback never overrides a choice: not the person's own preference (someone who switched an email off never gets it this way), not a workspace lock, not a platform switch, and not a throttle. None of today's six notifications declares a fallback.
Outbound channels (workspace-level, admin-managed)
Under Admin ▸ Notifications ▸ Channels, an administrator can forward notifications to external destinations:
- Channel types: Webhook, Slack, or Microsoft Teams. Each channel has a name, a target URL (kept secret — only its hostname is shown after saving), and an optional category filter (all categories, or just one).
- Microsoft Teams channels take a Workflows webhook URL. In Teams, open the channel menu ▸ Workflows ▸ "Post to a channel when a webhook request is received" and copy the URL it gives you. Messages arrive as an Adaptive Card with the title, text and category. The Open in OPSAIMS button appears when the notification links to a page, as the Test card and licence notifications do. Microsoft retired Office 365 connector URLs in May 2026: a channel still pointing at one shows Needs a new URL, and workspace admins receive an inbox notice. Use Replace URL to switch it to a Workflows URL. If a stored URL can no longer be read, the channel shows the same flag with a generic message; replace the URL, and for a webhook channel delete it and add it again so a new secret is issued.
- Test button — sends a test payload so you can confirm the endpoint works, and reports when the endpoint does not accept it. On a channel flagged Needs a new URL the button is disabled until the URL is replaced.
- Enable/disable toggle and Delete per channel.
- Webhook signing: a new webhook channel is issued a signing secret, shown once at creation
(copy it then — it's never displayed again). Deliveries carry an
X-OPSAIMS-SignatureHMAC header so your receiver can verify authenticity. - Safety: target URLs are validated to be public HTTPS endpoints (internal/private addresses are rejected), redirects aren't followed, and a failing endpoint is logged rather than allowed to break anything. This "SSRF guard" runs both when you save a channel and each time one is sent.
- Encryption: channel URLs and signing secrets are stored encrypted, and so are the URLs and signing
secrets of webhook subscriptions created through the API (
/api/v1/webhooks).