A useful notification needs data the event did not carry. You can copy it into your notification tool ahead of time, or read it from your own systems when the message is built. What each choice costs, what is still stored, and which one fits.
A useful notification needs data the triggering event did not carry. "Your invoice is overdue" becomes useful with the amount, the due date and the name of the person who can pay it. "Your trial ends in three days" becomes useful with what the account actually used. None of that is in the event your backend sent.
There are two ways to get it: copy the data into your notification tool ahead of time, or read it from your own systems when the message is built. This article is for the CTO or head of product who has to pick one, and for the marketing lead whose campaigns depend on the answer.
Syncing ahead of time
The common model: your backend, or a customer data pipeline, sends people and their attributes to the notification tool, which stores them on a profile. Campaigns read the profile.
It has real strengths. The data is on hand when the message is built, segments are evaluated without calling you, and your API is not in the send path.
It has three costs:
- Drift. An attribute is as fresh as the last sync. An invoice paid an hour ago can still read as unpaid, and the reminder goes out anyway.
- A pipeline to maintain. Each new piece of data a campaign needs means a field to add to the sync, and often a ticket for the development team.
- An extra copy of your data. Whatever you send the tool, whether every customer or a selection of people and attributes, becomes one more copy. It has to be kept up to date, protected and covered by a retention policy, including for people who rarely receive anything. Some tools also bill by the number of profiles it holds.
Reading at send time
The other model reads the data where it lives, at the moment the message is built.
In Notifizz, this is the job of enrichers. An enricher is a small function in your own backend, declared once with a typed input, a typed output and a cache policy: "the account owner for this organisation", "is this invoice still unpaid", "the plan of this user". Notifizz discovers the catalog of enrichers your backend exposes, and its calls to them are signed and timestamped.
Each campaign has an orchestrator, the code that decides who receives the message and with what data. It calls the enrichers it needs, and it runs again before each step of the sequence. The third reminder about an invoice reads the invoice again at that step, within the cache lifetime the enricher declares: an invoice enricher that must always be exact declares no cache, and then the third reminder sees the invoice as it is when it leaves. When the invoice is paid, and the payment is the campaign's objective with the campaign set to end on it, the remaining reminders are cancelled.
The strengths mirror the costs above: the data is as fresh as your system allows, and there is no sync to maintain. A new campaign that only needs data your enrichers already return reuses them, with no redeploy. When it needs data none of them returns yet, Notifizz opens an implementation task, and a developer adds or extends an enricher and deploys your backend.
The cost of reading live
Your API is now in the send path, and that has to be designed, not discovered.
What should happen when an enricher fails? Notifizz's answer: the run stops. Failures are typed, the run is marked failed with its error code, the campaign's health shows it, and the call is not retried. An empty result never silently skips a send either. The choice is deliberate: no message rather than a message built without the data it needed, such as a reminder for an invoice nobody could check.
That puts two things on your team: enrichers that answer reliably in production, and someone who watches the campaign's health. A campaign cannot go Live while one of its enrichers is missing in production, which catches the most common mistake before it costs a send.
Caching is not syncing
Reading live does not mean calling your API for every message. Each enricher declares how long its responses may be cached. Without a declaration, they are cached for an hour; an enricher can declare a shorter or longer lifetime, or no cache at all for data that must always be live. Choose it per enricher, according to how fast its data changes.
The difference with a sync is in what the cache holds and for how long. A cache holds only the records a notification actually needed, kept per organisation and per environment, and it empties itself when its lifetime runs out. A sync holds what you chose to send the tool, for as long as your retention policy keeps it, whether or not anything is ever sent to those people.
What is still stored
Reading at send time does not mean storing nothing, and a tool that claims otherwise deserves a second question.
In Notifizz, the data an enricher returns is not stored on the person's record. It does leave copies, each with its own lifetime: the trace of the run that asked for it, the short cache, and the messages built from it. On the person, Notifizz keeps your user identifier, the email address for a limited window and then a hash of it, per-message delivery events, the in-app inbox, and subscription and opt-out state. Several of these retention windows are set by your organisation, within minimums the platform enforces; the others are fixed by the platform. The documentation lists them in its privacy section.
One practical consequence for your developers. In a run's trace, the values stored under a few key names that designate secrets, such as password or token, are masked; anything else is kept as the enricher returned it. So an enricher should return only the fields campaigns actually need, and never credentials or sensitive data a notification has no use for.
Which one fits
Syncing makes sense when:
- your data already flows into profiles through a pipeline you trust;
- you send to large segments selected on attributes, where reading each person live would be wasteful;
- your API cannot take the extra load, or cannot be in the send path.
Reading at send time makes sense when:
- the data changes between steps: invoices, trial status, usage;
- marketing launches campaigns more often than the sync can follow;
- you would rather not keep one more copy of your customer data.
Reading at send time fits notifications triggered by one user's action and about one account, where the data moves between the first message and the last. For broadcasts to segments selected across your whole base, syncing stays a sound choice.
What stays with your team
- Writing the enrichers, usually a small amount of code each, and keeping them available in production.
- Returning only the fields campaigns need, and choosing a cache lifetime for each enricher, according to how fast its data changes.
- Deciding which business data a notification may use at all.
The documentation explains why Notifizz uses enrichers. For how this choice weighs in a wider decision, see our guide to building or buying a notification system.

