How does digest work in Novu?
Add a digest step to your workflow before the channel step. Novu collects events that match the digest key within the configured window, then renders a single notification with aggregated content. Typical digest settings:- Window: 5 minutes, 1 hour, or 24 hours depending on urgency
- Digest key: A field such as
payload.postIdto group events - Template: Use digest variables to list aggregated items
When should I use digest notifications?
| Scenario | Digest window | Example message |
|---|---|---|
| Social activity | 1–24 hours | ”10 people liked your post” |
| Weekly summary | 7 days | ”Your weekly activity report” |
| Comment threads | 15–60 minutes | ”5 new replies on your thread” |
How do I trigger events for digest workflows?
Trigger the same workflow for each individual event. Novu handles batching automatically based on the digest step configuration and digest key.Related guides
Frequently asked questions
What is the difference between digest and throttle?
What is the difference between digest and throttle?
Digest batches multiple events into one summarized notification. Throttle limits how often a subscriber receives notifications for the same workflow within a time window.
Can I send digests across multiple channels?
Can I send digests across multiple channels?
Yes. Place digest before multiple channel steps (for example, in-app and email) so all channels receive the batched summary.