GuidesNotifications
Notification System Architecture
Design high-signal notification systems with clear scope, severity, and lifecycle contracts.
Notification System Architecture
Notification quality is mostly policy and information architecture, not UI widgets.
Scope model
Use scope intentionally:
user: personal/account/security events.organization: team-level operational updates.workspace: project/workstream updates.all/current: reader filters in inbox UIs, not event producer defaults.
Severity model
info: non-urgent state updates.success: completed operations.warning: attention needed soon.error: immediate action required.
Do not use severity as category taxonomy.
Lifecycle model
- Notification created by backend domain event.
- Delivered to scoped inbox surfaces.
- User transitions state (
read,starred,archived). - Notification expires when stale.
Producer contract
Every notification template should define:
- Trigger event and ownership.
- Target scope resolution rule.
- Severity rule.
- CTA behavior (what opens, where it routes).
- Expiry rule.
Consumer contract
Inbox UIs should always support:
- Scope-aware filtering.
- Read/unread transitions.
- Archive/star controls.
- Realtime updates with reconnect tolerance.
Anti-patterns to avoid
- Broadcasting org-wide when workspace scope is enough.
- Triggering notifications directly from frontend clicks.
- Missing expiry for transient operational alerts.
- Unactionable
errornotifications without CTA/context.