Skip to content

Newsletter.send

POST /{namespace}/newsletters/{newsletter}/send

Send emails one issue, a piece of Content, to every subscribed Contact, and a paid issue only to those whose Offer covers it.

Mode
do
Event
Newsletter.sent

Inputs

InputTypeRequiredDescription
newsletterNewsletterrequiredThe Newsletter.
contentContentrequiredThe issue to send.
atdatetimeWhen to send it. Unset: now.

Outputs

OutputTypeRequiredDescription
newsletterNewsletterrequiredThe Newsletter, with the issue in its archive.

Effects

FactValue
Action classsend, a Message to many people at once: a broadcast or a Sequence. It waits for you where a seat's approval rule names it
DoorOne-way: it waits out its delay window, then runs
Modestry previews it and stores nothing; send returns a pending Action; do (default) waits for the result
IdempotentWith a key: a repeat with the same Idempotency-Key returns the first Action, and a repeat without one runs again
UndoAction.undo reverses its records
EmitsNewsletter.sent
Performed byThe Marketing Lead
  • Skips Suppressions and withdrawn Consent; every email carries a one-click unsubscribe link.
  • Publishes the issue to the archive on the Site, gated by the Newsletter’s Offer.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

When it waits

GateDefault
Decision classMedium: one-way, bounded
Delay window1 business hour, in which a watcher can pause, redirect or cancel it; then it runs.
LimitThe call Limit of the Permission it runs under.
Over the LimitIt waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled.