docs/.mintlify/skills/design-workflow/references/digest-defaults.md
Defaults for the digest step in any workflow. Applies to both Dashboard digest and Framework step.digest.
| Field | Default |
|---|---|
| Type | regular |
| Look-back window | 5 minutes |
| Digest time | 1 hour |
| Digest key | subscriberId |
A regular digest collects events that arrive within the look-back window after the first trigger, then waits the digest time before sending the aggregated notification. With the defaults, the first trigger waits up to 1 hour, scooping up any matching trigger that lands within 5 minutes of one another.
severity: HIGH, orcritical: trueCritical and very-high-severity workflows must deliver immediately. The digest step is auto-skipped in those cases.
The digest key controls what counts as the same digest. Default is subscriberId so each user gets their own digest. Add more parts to the key for finer grouping:
| Pattern | Use case |
|---|---|
subscriberId | One digest per recipient (default) |
subscriberId + threadId | Conversational flows — one digest per thread/post (comments, replies, mentions) |
subscriberId + projectId | Per-project activity feeds |
subscriberId + organizationId | Multi-tenant per-org digests |
Without
+threadId, a comment on Post A and a comment on Post B end up in the same digest. The user sees "5 new comments" instead of "2 new comments on Post A, 3 on Post B".
For a "comment on your post" workflow:
Trigger (event: payload.threadId: "post_123")
↓
Digest: type "regular", look-back 5min, digest time 1h
Key: subscriberId + threadId
↓
In-App
Redirect: → thread
Each thread gets its own digest. Comments on Post 123 don't mix with comments on Post 456.
critical: true workflows (digest is bypassed anyway).severity > HIGH).Use a cron expression instead of look-back + digest time for fixed-schedule digests (e.g. "every weekday at 9 AM"):
cron and provide a cron string.cron: "0 9 * * 1-5" to step.digest instead of unit/amount.See framework-integration/references/workflow-and-steps.md for the Framework signature.
+threadId for conversational flows — comments on different posts collapse into one digest.critical workflow — it's auto-skipped, but it's a code smell that hides intent.severity-and-critical.md — when digest is auto-skippedworkflow-templates.md — templates 1 and 2 illustrate the standard digest patternframework-integration/references/workflow-and-steps.md — Framework step.digest reference