Notifications
The notifications system lets you automate workflows, build audit trails, and get real-time alerts for any change that happens in nullplatform, from new deployments to parameter approvals.
Notifications are fully configurable: you decide where they go, what they contain, and when they’re sent.
Notifications integrate with other platform features like deployments, parameters, and telemetry, making it easy to observe, control, and automate everything from a single source of truth.
How it works
Every notification follows the same flow:
- An event occurs: a platform event from one of the sources (approvals, services, audits, alerts, entities, telemetry, or parameters) triggers a notification.
- Filters decide whether the event should generate a notification.
- Channels deliver the resulting event to notification systems such as Slack, webhooks, or your agent.
- Event payloads define the JSON structure sent to each destination.
This architecture enables deep integration with your organization’s tools and infrastructure.
Key components
Channels: where notifications go
Channels define the destination for notification data. You can route events to:
- Slack for team alerts and approvals
- HTTP Webhooks to trigger custom automation logic
- Agent to execute actions inside your own infrastructure
- GitHub / GitLab / Azure to integrate deployment events with your CI/CD workflows
Filters: which notifications are sent
Filters control what gets sent to each channel. They use MongoDB query syntax to express conditions like:
"filters": {
"$or": [{ "action": "scope:stop" }, { "action": "scope:delete" }]
}
With filters you can:
- Send approval requests only for certain namespaces
- Exclude
deployment:createevents from general audit notifications - Target alerts by entity, team, or environment
Sources and actions: what triggers notifications
Every channel listens to one or more sources, which are categories of platform events like approvals, audits, or telemetry. Each source produces specific actions (for example, deployment:create or audit:log). See Sources & actions for the full reference.
Event payloads: what the notification contains
Each notification carries a structured JSON payload describing the triggered event. This payload mirrors nullplatform’s public API responses, so you can parse and enrich it easily in external systems.
You can inspect, list, or resend notification events for debugging or replaying failed deliveries through the Notification Events API.
Common use cases
- Approval workflows: post approval requests to Slack or a webhook endpoint automatically
- Auditing: keep a complete record of entity changes and API interactions by routing
auditevents to your SIEM - Custom automations: execute actions in your infrastructure via Agent channels
- Monitoring: stream deployment or telemetry data to external observability tools
- Parameter tracking: get notified when secrets or configuration values change
- Entity hooks: run pre/post-processing logic when entities are created or modified. See Entity hooks
- CI/CD integration: trigger GitHub Actions, GitLab CI, or Azure Pipelines for service provisioning
Managing notifications
You can create, list, update, and delete notification channels through:
- UI: Go to Platform settings → Notifications.
- CLI: Use
np notification channel. (See our CLI docs) - API: Use the Notification API.
For step-by-step instructions on listing, updating, and deleting channels, see Manage channels.