Leave Localhost logoLeave LocalhostDocs
Reference

Notification Events

The closed notification event set lives in packages/backend/convex/notifications/validators.ts.

The closed notification event set lives in packages/backend/convex/notifications/validators.ts.

Notifications are user-facing summaries, not an audit trail. Audit events remain the source of truth for security/admin history.

EventCategoryDefault in-appDefault emailNotes
member.invitedmemberonoffSent to workspace owners/admins when a teammate is invited.
member.joinedmemberonoffSent to workspace owners/admins when an invitation is accepted.
member.role_changedmemberonoffSent to the affected user and workspace owners/admins.
member.removedmemberonoffSent to the affected user and workspace owners/admins.
billing.subscription_createdbillingonoffReserved for checkout/provider integrations.
billing.subscription_updatedbillingonoffSent when billing grants add workspace capabilities.
billing.subscription_canceledbillingononSent when billing grants revoke workspace capabilities.
billing.payment_failedbillingononReserved for provider webhook integrations.
organization.suspendedorganizationononSent to workspace owners/admins after super-admin suspension.
organization.reactivatedorganizationononSent to workspace owners/admins after super-admin reactivation.
security.sensitive_action_requestedsecurityononReserved for sensitive-action extensions.
security.email_changedsecurityononReserved for account email-change extensions.

To add an event:

  1. Add it to notificationEvents, notificationEventValidator, and notificationEventDefaults.
  2. Add UI labels in apps/app/src/locales/*.
  3. Add creation calls through notifications/events.ts.
  4. Update this reference file and the relevant docs under docs/notifications.