Digest Step Output
Regular Digest
This combined with the unit field determines the amount of time to digest
events for.
The measurement unit for the amount field.
This key is used to group events for the digest engine, if not provided all events will be digested together on the subscriber level.
When provided, events will be grouped by the
subscriberId and the digestKey.The digest key must match the payloadSchema key provided on the workflow.An example of a parameter field
Scheduled Digest
The cron expression to schedule the digest on a repeating basis.
@novu/framework SDK exports a utility enum called CronExpression to help you build cron expressions.This key is used to group events for the digest engine, if not provided all
events will be digested together on the subscriber level. When provided,
events will be grouped by the
subscriberId and the digestKey.Digest Step Result
An array of triggers that have been digested.