# Canvas entry, exit and eligibility

Checked against Braze's docs on 2026-10-17. UI labels move between releases; confirm them in the workspace before writing them into a runbook.

## Pick the trigger

Write one trigger contract per Canvas: producer, event or endpoint, business key, required properties, and what the producer does on retry.

### API-triggered entry (`POST /canvas/trigger/send`)

Per-event data does not decide between API-triggered and action-based entry: both pass the triggering data to the Canvas as context. Choose API-triggered when any of these holds:

- The profile may not exist yet. `send_to_existing_only: false` with an `attributes` object creates or updates it before the send.
- The producer must dedupe by business key (a ledger refuses a second trigger for the same object).
- The event is not otherwise needed in Braze. On legacy data point contracts each logged custom event is billable; on other contracts check the billing unit.

An API trigger leaves no custom event on the profile, so segments, exit criteria and conversion events cannot reference it unless the producer also logs it. If it does, that logged event must not also be wired as an action-based trigger.

Endpoint facts that change the contract:

- Recipients: up to 50 per request by default, each with `external_user_id`, `user_alias` or `email` (email needs `prioritization`).
- `send_to_existing_only` defaults to true, so a profile that does not exist yet gets nothing. Setting it to false requires an `attributes` object; Braze creates or updates the profile from it before sending. It cannot be used with aliases.
- The recipient `attributes` object is processed before the Canvas is sent. Put attributes the entry audience depends on there instead of in a separate `/users/track` call that may land later.
- The Canvas's dashboard target audience still applies: recipients must also match it and the channel send rules, or nothing is sent.
- Entry data: workspaces with Canvas Context use the `context` object (up to 50 KB) and Liquid `{{context.${name}}}`. Workspaces without it show "Canvas Entry Properties" and use the legacy `canvas_entry_properties`. Check which one the workspace uses before writing Liquid.
- Rate limits (shared with `/campaigns/trigger/send` and `/messages/send`): individual recipients count toward 250,000 requests per hour; broadcast or connected audience calls are limited to 250 requests per minute across all audiences and 10 per minute per unique audience, whichever is hit first.
- Response: 201 with `dispatch_id` and `message: "success"`. An archived, stopped or paused Canvas does not send, but the response can still be 201 with a `notice` such as "The Canvas is paused...". The sender must log and alert on `notice`.
- The docs describe no idempotency key for this endpoint (2026-10-17). The sender keeps a ledger keyed on business key plus `canvas_id` and refuses a second trigger for the same pair, including on retries.

### Action-based entry

Use when the event is already logged for segmentation and is a server-confirmed business event in the tracking plan, and marketing must be able to change the trigger without an engineering release.

- Triggers include custom events, purchases and session starts. "Interact with Canvas Step" cannot be an entry trigger.
- Do not use the trigger's own data in the entry audience. Braze warns that the same trigger as action and audience filter can race and keep users out.
- An attribute written in one `/users/track` request and the event in another can be processed in either order. Send both in one request.
- Backdated event timestamps can make delays fire early. Historical imports that reuse the live event name enter live Canvases: give backfills their own event name, or exclude them with a property the entry rule checks, and record which mechanism you used.

### Scheduled entry

- "Local time zone delivery" checks entry eligibility twice, once at Samoa time (UTC+13) and once at the user's local time; a user must pass both. Relative time windows can push entry a day late, so Braze suggests windows of at least two days.

### One producer per outcome

- If the browser, the order service and a warehouse sync can all emit `purchase_completed`, choose one producer for the trigger name. The others use different names (`checkout_submitted`) or stop sending to Braze.
- Never configure both an API trigger and an action-based trigger for the same outcome.

## Entry controls and re-eligibility

Labels on 2026-10-17: "Allow users to re-enter this Canvas" (re-eligibility, in Entry Controls), "Limit entrance volume" with "Maximum entries". Entry limits run per Canvas lifetime or per schedule for scheduled Canvases, and hourly, daily or lifetime for action-based and API-triggered ones; hourly limits reset at each UTC hour.

Behaviour that matters:

- Re-eligibility is counted from entry, not from receiving a message. A user who entered and got nothing cannot re-enter unless re-entry is on.
- A user can be in the same Canvas more than once at the same time. With a zero re-eligibility window they do not need to exit first; with a 3-day window on a 7-day Canvas they can re-enter mid-journey.
- Each entry gets its own context, so concurrent journeys keep separate entry data.
- Campaign re-eligibility ("Allow users to become re-eligible to receive campaign") has a 720-day maximum.

Map the journey policy to settings:

- Once ever per person: re-entry off.
  - Test: trigger twice; expect one entry.
- Once per business object (order, workspace, invoice): re-entry on with a zero or short window, and every exit event matched to its own entry (below).
  - Test: two orders in flight; completing order A stops only order A's reminders.
- Again after a cooling period: re-entry on with a window at least as long as the longest path through the Canvas (sum of delays plus Action Paths windows).
  - Test: trigger, then trigger again inside the window; expect no second entry.
- Launch blast radius: "Limit entrance volume" with a "Maximum entries" value for the first days, raised once the evidence is in.
  - Choose the number from the producer ledger: expected entries per day (or per hour for an hourly limit) plus a stated margin, for example 50%. Write the margin down.
  - Alert when the limit is hit, from the sender's count of triggers against the Canvas entry count.
  - Braze's Canvas page does not say what happens to users over the limit (checked 2026-10-17). Verify it live with fixture F19. If excess entries are dropped, one-shot triggers (signup, workspace creation) never fire again for those users: the sender records the dropped business keys and the owner plans a deliberate re-trigger.

A profile-level flag ("reminder_sent", "has_open_cart") cannot carry object-level state when a customer can have several objects. Use context and matched exits, or prepare eligibility outside Braze and trigger per object.

## Exit criteria

- Exception events: performing one while in the Canvas, including while waiting in a Delay step, marks the user to exit.
  - In a Delay step the user stays until the delay ends, then leaves without entering later steps.
  - In other steps the user typically leaves when the current step completes.
  - For triggered steps, the last scheduled send enqueued from that trigger is cancelled, but repeating the trigger inside the window can still deliver the step.
- Exit segments and filters: Braze's example says they are evaluated when a step completes, not continuously. Use exception events for stops that cannot wait.
- Array attributes are not supported as exit criteria on exception events.
- If the exit event is also the conversion event, both are counted. Conversions keep being tracked after the Canvas ends; exits are not.

### Match the exit to the entry

For per-object journeys, on the exit exception event:

1. Select "Add property filters" and add a filter on the object ID property (for example `order_id`) with "equals".
2. Turn on "Personalize value".
3. Set "Personalization type" to "Context Variables" (or "Canvas Entry Properties" in workspaces without Canvas Context) and "Attribute" to the same property.

The property must exist on both events with the same name and data type. Action Paths can branch on the same comparison ("equals" for the matching object, "does not equal" for another object, "Everyone Else" for no event).

## Delays and eligibility rechecks

### Delay step

- Types: Duration (seconds to weeks), Calendar date, Day of the week. "Personalize delay" can read a date from a Context step.
- Delays can be extended up to 730 days. The same page also says there can be up to 31 days between the start of the Canvas and the dates chosen for "wait until an exact day" steps. Confirm the limit for the chosen delay type in the builder.
- A personalised date already in the past when the user arrives makes the user exit the Canvas.
- A profile without a timezone falls back to company time, which can already be in the past, so the user exits.
- A string date without a timezone uses the fallback timezone; a Time data type is treated as UTC.
- Overlapping delay timelines make users exit before later steps.
- A Delay step at the very end of a Canvas advances users out immediately.
- If the Canvas is stopped, users waiting in a delay get nothing more; if it is resumed before their delay ends they continue; if the window passed while stopped they exit.
- Profile changes made during a delay apply when the user reaches later steps.

### Message step advancement

A user leaves a Message step and moves on when the message is sent, frequency capped, aborted (including a Liquid abort), not reachable on the channel, or fails delivery validation. Only delivery validations configured to exit, or exit criteria, remove the user. Every later message must make sense if the earlier one never arrived.

### Recheck before consequential messages

- "Validate audience at message send" (Message step, Delivery Settings, delivery validations) checks a segment or filters at send time. Choose whether failing users exit the Canvas or advance. Braze recommends it with quiet hours, Intelligent Timing or rate limiting, because those delay the actual send.
- Audience Paths or a Decision Split before the Message step route completed, failed, cancelled and still-eligible users differently. Keep each stop reason visible instead of folding them into "not engaged".
- Multi-app workspaces check the entry audience only at entry; use delivery validations with an app-targeted segment to restrict a Message step to one app.
- Per-object journeys need an object-scoped recheck. "Validate audience at message send" evaluates segments and filters on the profile, so a profile attribute such as `first_import_status` is overwritten by whichever object changed last and removes the user from every object's journey. Use one of:
  - exit events matched on the object ID (see Match the exit to the entry), and an Action Path that compares the event's object ID with context;
  - a send-time lookup in the message keyed on the context object ID: a Catalog item (`catalog_items` accepts a templated ID) or Connected Content to the owning service, with `abort_message` when the object no longer qualifies or the lookup fails. An abort advances the user and leaves an abort record, not a send.
  - Verify the chosen mechanism live with fixture F11 before relying on it.

### Freshness rule

For each recheck write: the field or event, its producer, its worst-case update delay, and the shortest delay before the check.

- Pass: update delay is shorter than the delay before the check.
- Fail: a nightly warehouse attribute checked four hours after entry. Fix by sending the product event that ends eligibility as an exception event, or by moving the check later.

## Canvas control sheet

Record one per Canvas in the QA record, and propose it for `martech-context/tracking-plan/<journey>.md`. The MCP Canvas tools and `GET /canvas/details` return metadata, schedule type, variants, steps with their types and next paths, and message content. Every field marked `dashboard` below is read in the Braze dashboard.

```yaml
canvas: Acme first import reminder           # mcp
canvas_id: CANVAS_ID_PLACEHOLDER
status: enabled                              # mcp (draft, enabled, archived)
unit: workspace          # person, account, workspace, order
entry: api_triggered     # mcp schedule_type; api_triggered, action_based, scheduled
producer: import-service
business_key: workspace_id
entry_audience: "Email Subscription Status is not unsubscribed AND qa_fixture does not exist"   # dashboard
re_entry: "on, window 0, exits matched on workspace_id"   # dashboard
entrance_limit: "70 per day: ledger average 45 per day plus 50% margin; alert when hit"   # dashboard
exits:                                       # dashboard
  - reason: import succeeded
    mechanism: exception event first_import_succeeded, workspace_id equals context (Personalize value)
  - reason: workspace cancelled
    mechanism: exception event workspace_cancelled, workspace_id equals context (Personalize value)
steps: "entry, delay 24h, reminder email"    # mcp for structure and content; delay durations from dashboard
rechecks:
  - step: reminder email
    method: "Connected Content lookup of import status for context workspace_id; abort_message when succeeded or lookup fails"
    scope: object
    field: import service status endpoint (live at send)
send_settings:                               # dashboard
  subscription: opted-in or subscribed (record the live label)
  frequency_capping: on
  quiet_hours: "21:00 to 08:00 local, send at next available time"
  rate_limit: none
checked_on: "2026-10-17"
```
