This page is generated from the event registry with
pnpm manual:events. Do not edit it by hand: change the event in the code and regenerate.At a glance
What triggers it
It happens in these business flows:- Plan upgrade (
subscription-upgrade)
backend/horizon-api/lib/notification/producers/subscription.producer.ts
Channels and rules
- Quiet hours run on the recipient’s clock. A send that falls inside them waits until they end. Email and in-app never wait.
- Validity (TTL) drops a deferred send that waited longer than it.
- The frequency cap counts sends per account and channel in its window; the sends above it are skipped.
- A fallback channel only sends when the channel it backs up is skipped, suppressed or fails.
- These are the values declared in the code. An administrator can change them in the catalog, which always shows the values in force.
Template variables
Templates write these fields between double braces. A sensitive field is stored as[redacted] in the occurrence and is never shown in traceability.
Example payload
Data a producer sends, built from the schema with fictitious values. Optional fields are included so every variable shows.How to configure it
- Open Notifications › Event catalog, search for
subscription.product.upgradedand open the event. Guide: Event detail. - Turn each channel on or off from the event detail. A reason is required and stays in the history. Guide: Event channels.
- Tune quiet hours, frequency cap, delay and fallback with Edit rules. Guide: Event rules.
- Edit the text of each channel and language with Edit template. The variables above are the ones the editor accepts. Guide: Template editor and Template variables.