Notification Types
TheNotificationType enum defines five categories. The type you assign to a notification determines which delivery strategy — and therefore which channels, queue, schedule, and retry policy — will be used.
Marketing
Marketing
Promotional content, newsletters, and marketing campaigns.Uses the
marketing strategy: email-only, weekdays 09:00–18:00, single attempt.Transactional
Transactional
Order confirmations, receipts, and account-related updates.Uses the
transactional strategy: nova channel, 24/7, up to 3 attempts.System
System
Platform updates, maintenance notices, and system messages.Uses the
system strategy: webpush then email escalation, weekdays 08:00–20:00.Alert
Alert
Urgent notifications requiring immediate attention.Uses the
alert strategy: webpush → whatsapp → card escalation, 24/7, fast retry intervals (30 s, 5 min, 15 min).Reminder
Reminder
Scheduled reminders for tasks, events, or deadlines.Uses the
reminder strategy: webpush then whatsapp escalation, weekdays 09:00–19:00.Notification Statuses
A notification moves through two statuses defined by theNotificationStatus enum:
| Status | Description |
|---|---|
Draft | The notification has been created but not yet published. Content can still be edited. |
Published | The notification has been published. The delivery strategy job is dispatched and deliveries begin. |
Once a notification is published its type and audiences are locked in — the strategy job reads them immediately on dispatch.
Delivery Statuses
Each individual Delivery record (one per profile per channel attempt) tracks its own status:| Status | Description |
|---|---|
Pending | Queued and waiting to be sent. |
Sent | Dispatched to the channel provider. |
Received | Confirmed received by the recipient. |
Opened | Opened or viewed by the recipient. |
Verified | Read or explicitly acknowledged. |
Failed | Could not be delivered. |
Expired | Timed out before being verified. |
Pending can only move to Sent, Failed, or Expired; a Verified delivery is terminal.
Relationships
TheNotification model sits at the centre of the data model:
- Audiences define who receives the notification.
- Deliveries are the per-profile, per-channel dispatch records.
- Events are the tracking records attached to each delivery (opens, actions).
Model Fields
Publishing a Notification
Publishing a notification from the Nova dashboard triggers the Publish Notification action, which:Dispatches the strategy job
Queues an
ExecuteNotificationStrategy job onto the queue configured for the notification’s type.