Skip to content
Menu

Concepts

Message priority and attention budget

Markdown version

How Herald ranks messages into categories and gives each person an attention budget that adapts to how they respond, what happens to a message held back, and how the Send API takes part.

People stop reading when they get too much. Herald keeps each person's messages under a budget that rests on two ideas: every message belongs to a category, and every person has an attention budget per channel. When someone's budget is full, the higher-ranked message goes first.

Set both under Settings → Messaging limits (admins). Each app has its own.

Categories

A category ranks a kind of message and can cap how many of it one person gets. Every campaign and agent has a Category select ("Higher categories win when someone's budget is full."). These are the defaults:

CategoryRankCap per person per channelUseful for
Transactional0Never limited, never held, doesn't count toward the budgetn/a
Lifecycle1No cap72 hours
Engagement22 a day48 hours
Promotions31 a day, 3 a week24 hours

A lower rank wins. Admins can rename categories, add new ones (rank 1 or higher), reorder them, and change each cap and its "useful for" time. Engagement and Transactional can't be deleted. Deleting another category moves its campaigns and agents to Engagement. Only admins can give a message the Transactional category in the console; any API key can send it through the Send API.

A category cap applies per person per channel, and can't go past the channel's own limit: the cap in force is the lower of the two.

Channel limits

Each channel has a budget range per person, counted over the trailing 24 hours and the trailing 7 days. An empty maximum means no limit.

ChannelMax a dayMax a weekMin a week
Push381
Web push381
Email141
SMS121

The same page sets a weekly message aim for long-term value agents and which agent gets a person when several want them. See Attention as a budget.

The adaptive budget

Within its range, each person's weekly allowance follows a score from 0 to 1, starting at 0.7:

allowance = min + round((max − min) × score)

A new person on push therefore gets 1 + round(7 × 0.7) = 6 pushes a week. The score moves each night:

What happenedScore
The person opened a message+0.05
The person clicked+0.10
From the 3rd send in a row that was ignored−0.10 for each
Opt-out, unsubscribe or complaint on another channel−0.30
Uninstall, or 14 days inactive−0.20, at most once per 14 days
7 quiet daysDrifts 0.02 a day back toward 0.7

The daily limit is never adaptive. Turn the adaptive weekly budget off and the weekly allowance is the channel's maximum.

Which sends can show engagement

A send counts as ignored only where Herald records opens, which is email and agent pushes. Campaign and Send API pushes, web push and SMS don't report opens, so on those channels the score changes only on opt-outs, uninstalls and inactivity.

Observe and Enforce

ModeWhat it does
ObserveThe default for apps that existed before this feature. Herald records what it would have held back and shows it, but holds nothing new. The old push limit and campaign spacing keep working.
EnforceThe default for new apps. The budget replaces the push limit and the 72-hour and 24-hour campaign spacing.

Switching back to Observe is the kill switch: it stops all budget holds at once.

When a message is held

  • Campaign messages (including scheduled ones) wait for the person's next free slot, moved out of quiet hours. If no slot opens within the category's "useful for" time, the message is dropped.
  • AI agent messages are skipped. The agent decides again on its next run.
  • A message queued within the next 24 hours with a higher priority reserves the last slot, so a lower one doesn't take it.

A held message is recorded as suppressed with a reason, shown in the console as "Held back" with one of:

Console labelReason
person's budget was fullbudget:budget_full
category limit reachedbudget:category_cap
held for a higher-priority messagebudget:reserved
waited, but no slot opened in timebudget:expired

Campaign results show "Delayed by the budget: N, avg wait X h". An agent's performance page has a "Held back" card.

The Send API

POST /api/v1/messages/send takes an optional category, one of your app's category keys. An unknown key returns 400 with category must be one of: <keys>.

  • With a category: the normal rules apply. Transactional is exempt. In Enforce mode, any other category is held or deferred like a campaign message.
  • Without one: nothing changes. The message is never held, and counts toward the channel limit but not toward any category cap.

Pass a category on every send. See the Send API reference.

Pushes your app sends

A $external_push event with category: "transactional" doesn't count toward the budget. Other $external_push events count toward the push channel only. See Pushes your app sends.

See Herald decide live →