Skip to main content

What it is for

The Notifications module gathers everything Horizon sends to customers and staff: emails, push, in-app notifications and, later, SMS and WhatsApp. From here every business unit can, without the technology team:
  • see which notifications exist and turn them on or off per channel;
  • change a template’s text, test it and publish it;
  • adjust quiet hours, caps and delays;
  • find any send and learn why it arrived, was delayed or did not go out;
  • resend, cancel or retry a send;
  • manage preferences, suppressions, campaigns and rates;
  • pause and resume the sending queues.
The one thing you cannot do here is create a new event: events are born in the code. To ask for one, follow Request a new notification.
Every environment sends for real: certification also sends emails and push to real addresses. Test with your own account or with Test send in the template editor, never with customer data.

How a notification travels

Diagram: a business flow calls notify with an event; an invalid payload leaves the occurrence rejected; a valid one records an occurrence, resolves the recipients and takes one decision per channel with the template and the rules; what is not sent keeps its reason in Traceability; each send goes through the queue and the lane of its channel to the provider, which reports delivery events that feed the timeline, the suppressions and the metrics.

From the notify(event) call to the provider: every step leaves a trace on a screen of the module.

1

A business flow fires an event

For example, the Club redeems a coupon and calls notify("club.coupon.redeemed"). The flow does not pick a channel or a template: the catalog decides.
2

It is validated and an occurrence is recorded

Horizon checks that the event’s data (the payload) is complete. If something is missing, the occurrence is Rejected and nothing is sent. If it is fine, an occurrence is born: the single record of that firing. Repeating the same call does not create a second occurrence.
3

The recipients are resolved

Each recipient’s language and timezone are read. Without a language Spanish is used; without a timezone, America/Santiago.
4

A decision is taken channel by channel

For every active channel of the event, the published template is rendered in the recipient’s language and, in order, Horizon checks that the recipient can be reached, the suppressions, their preferences, the frequency cap and the quiet hours. The decision can be to send, defer, skip or suppress, and it always keeps the reason.
5

The send waits in its queue and lane

Each send enters the notification queue and moves along the lane of its channel (notification-email, notification-push, notification-sms). The lane sets the pace so the provider’s limits are not exceeded.
6

The provider delivers and reports

Resend delivers the emails and OneSignal the push and SMS. Each reports delivery events (Delivered, Opened, Clicked, Bounced, Marked as spam) that complete the timeline, add bouncing addresses to the suppressions and feed the dashboard.

How this manual is organised

If this is your first time, follow the learning path of your role. What all modules share (access, lists, dialogs) is in Horizon Enterprise getting started.

Rules

FAQ and support cases

No. You can turn on, turn off and adjust the existing ones. A new event is requested from the technology team; see Request a new notification.
In Operation › Traceability: search by the customer’s email or identifier and read the decision of each channel. It tells you whether it was sent, deferred, skipped or suppressed, and why.
The occurrence is the firing of the event; a send is one message to one recipient on one channel. An occurrence can have several sends (for example, email and push) or none, if all were skipped.

Technical detail