Personalizing Automated Campaigns with Braze Canvas

Personalizing automated campaigns with Braze comes down to four decisions: when each value is read, what happens when a field is missing, when a message should stop instead of fall back, and how data travels through a Canvas. This guide covers all four and then shows how to preview a journey.

Key Takeaways

  • Braze scans a message for Liquid when it is sent, then replaces each tag with that user's value.
  • Abort logic runs at send time for push, email, SMS, webhooks and Content Cards, and at trigger time for templated in-app messages.
  • A default value shows for empty values but not for blank ones.
  • An aborted message doesn't count toward deliveries or frequency capping, and the Canvas user moves to the next step.
  • Context variables exist only inside one Canvas journey, and each entry redefines them.
  • A Canvas test run processes Liquid, including abort logic, even when no test message is sent.

What does personalizing automated campaigns with Braze involve?

Braze uses Liquid, an open-source template language created by Shopify, to personalise messages. When a message is sent, Braze scans the text for Liquid. It pulls the data for that user and replaces the code with the actual value before delivery.

Braze supports Liquid up to and including Liquid 5 from Shopify, covering the portions its documentation outlines. The documentation recommends testing every message that uses Liquid before it sends.

In an automated programme, one template runs for every user who qualifies, often across weeks. We treat each personalised value as a small contract: where it comes from, when it's read, and what the message does when it's absent.

When does Braze evaluate your personalisation?

The answer depends on the channel. Abort logic, which sits inside the same Liquid as your personalisation, runs at different moments for different message types.

ChannelWhen abort logic is evaluated
Push, email, SMS, webhooks, Content CardsAt send time, when Braze processes the message for delivery
Templated in-app messagesWhen the in-app message is triggered, not when it's initially sent to the device

For a Canvas, the practical consequence is that a user can enter before downstream data is ready. Your message may depend on a list, a catalogue field or a Connected Content response. That data has to exist when the Message step runs, rather than when the user entered.

We recommend putting anything a message depends on upstream of that step, with a delay if the data takes time to arrive. Entry is the wrong moment to judge whether a personalised message is safe to send.

What happens when a profile field is missing?

Without a default value, a missing field renders as blank in the message. A default is added with the Liquid default filter. It works for strings, booleans, arrays, objects and numbers that are empty, nil or false.

This is the pattern from the Braze documentation:

Hi {{ ${first_name} | default: 'Valued User' }},

One detail catches teams out. The default shows for empty values but not for blank ones. A value holding only whitespace skips the default and renders as spaces.

Our suggestion is that a default only helps if the sentence still reads well with it. "Hi Valued User" is fine in a thank-you note. It's poor in a message built around the name, so write the fallback sentence first and the personalised one second.

If gaps come from fragmented profiles rather than one-off omissions, the fix sits upstream. CustomerIK's customer data management service covers identity resolution, data architecture and governance, and pipeline and CDP integration.

When should a message abort instead of fall back?

The abort_message tag stops the send for users who don't meet your condition. The message won't appear on their profile and won't count toward deliveries or frequency capping.

In a Canvas, the user doesn't exit and proceeds to the next step. By default an aborted send appears in Messaging Observability with the outcome Liquid abort. That gives you a place to look when a Message step shows many users entered and few sent.

Here is the rule we recommend for choosing between the tools. It's our judgement and isn't documented Braze guidance.

The missing value isUseReason
Decoration, such as a first nameA default valueThe message still makes sense without it
The point of the message, such as the time in a reminderabort_messageA reminder with no time is worse than no reminder
Needed for one variant onlyA conditional with a generic else branchEveryone still receives something relevant

The Braze documentation warns that an else branch which aborts on a missing value stops the send for any user without that data. We call this the aborting else. After launch, compare entered users with sent users on the same Message step to see the gap it leaves.

How do Canvas entry properties and context variables carry data?

Context steps let you create and update variables for a user as they move through a Canvas. Each step can define or update up to 10 context variables, and you reference them as {{context.${variable_name}}}.

Context variables exist only for that Canvas journey. They don't change the user's profile permanently and don't appear in other Canvases. Each entry redefines them from the latest entry data, so a customer with two live journeys has two separate sets of context.

Canvas Context availability varies by workspace. If the step menu shows no Context step and the personalisation menu lists Canvas Entry Properties, use canvas_entry_properties for entry data.

Inside a Context step, abort_message affects only the variable that calls it. That variable isn't set, the other variables still are, and the user moves on.

A variable also counts as invalid when its Liquid returns an empty value or one that doesn't match the data type. The Not Updated metric is where you spot it.

How do you handle time in personalised Canvas messages?

For workspaces with Canvas Context, default timestamp event properties in action-based Canvases are in universal time. Braze strongly recommends Liquid time_zone filters so a timestamp appears in the zone you want.

This is the documented form:

{{canvas_entry_properties.${timestamp_property} | time_zone: "America/Los_Angeles" | date: "%Y-%m-%d %l:%M %p"}}

The preferred time zone can also travel in the event properties payload and be used in Liquid logic. A related failure mode is documented too. If a Context step assigns an appointment time set to a past date, the reminder email in the Message step does not send.

How should you preview and test a personalised journey?

Preview and test in the order below. The sequence is ours, built on behaviours the Braze documentation describes.

StepWhat to doWhy
1Preview each message in the composer as an existing user whose profile matches the scenario, then as a custom userReal profiles show real gaps, and a custom user tests the edge cases
2Run Preview user paths on the CanvasBraze processes Liquid during a Canvas test run, including abort logic, even when no test message is sent
3Choose the closest existing user for path previewsCustom user isn't available for Canvas path preview
4Send a test and select Override recipients' attributes with current preview user's attributesThe test then uses the preview user's profile instead of each recipient's live attributes
5Supply event property values yourselfComposer preview doesn't automatically supply them from a past event
6Add default values before running Inbox VisionBraze templates an empty user for it

Two cautions apply before you press preview. Connected Content executes during Canvas path previews, and calls that update external systems or user data can have side effects outside the test run. Webhooks run when test messages are sent, not when you run a path preview alone.

Time-based Liquid may also evaluate against the current time during a preview rather than the time the user would reach the step in production. If a preview sends a step you expected to abort, check that first.

What does a worked example look like?

Imagine a hypothetical travel retailer sending a booking reminder from an action-based Canvas. This illustrates the decisions above. It isn't client work or delivery data.

The booking time arrives as an entry property. The message formats it with a time_zone filter, using a zone the event sends in its payload.

The first name gets a default, because the reminder reads fine without it. A loyalty line sits in a conditional with a generic else branch, so travellers without a tier still get a complete message.

The booking time is the point of the reminder. If it's missing, or sits in the past, the message aborts, since a reminder with no usable time does harm.

After launch the team compares entered and sent on the Message step and reads the Liquid abort outcomes in Messaging Observability. Every gap has a named cause.

How does this connect to the rest of the programme?

Liquid patterns for personalisation across a whole programme are covered in our guide to Braze Liquid tags at scale. The email version of the missing-data problem is in planning email personalisation for missing profile data, and the failures teams repeat are listed in common personalisation pitfalls in Braze.

For the wider build, see how to build an automated marketing workflow in Braze and automating mobile campaigns in Braze Canvas. Retention journeys lean hardest on the choices in this guide, which personalising retention messaging in Braze works through.

A case study on unifying guest profiles for a global hotel brand covers consolidating booking, tier, language and consent data into one profile, and Canvas journeys with an automated fallback sequence.

The Braze documentation on Liquid remains the source of truth for syntax and supported tags.

As a Braze implementation partner, CustomerIK recommends choosing a treatment for every personalised field in a Canvas before anyone builds the message. Each field gets a default, a generic branch or an abort. Write that choice beside the field, and preview the journey as a real user before launch.

Frequently Asked Questions

1. Does Braze support all of Shopify's Liquid?

Braze supports Liquid up to and including Liquid 5 from Shopify, covering the portions its documentation outlines. Test every message that uses Liquid before sending it.

2. Why didn't my default value appear?

The default shows for empty values but not for blank ones. A value that holds only whitespace is blank, so the default is skipped.

3. Does an aborted message count toward frequency capping?

An aborted message won't appear on the user's profile and won't count toward deliveries or frequency capping.

4. Are context variables saved to the user profile?

Context variables exist only for that Canvas journey. They don't change the profile permanently.

5. Why does my Canvas message show the wrong time?

In workspaces with Canvas Context, default timestamp event properties in action-based Canvases are in universal time. Use the Liquid time_zone filter to show the zone you want.

Sources

CustomerIK is a Braze implementation partner working across onboarding, technical integration, marketing operations and customer data management.

If you want a second pair of eyes on how your Canvas journeys handle missing data, let's talk.

Preferences

Privacy is important to us, so you have the option of disabling certain types of storage that may not be necessary for the basic functioning of the website. Blocking categories may impact your experience on the website.

Accept all cookies
Accept all cookies

These items are required to enable basic website functionality.

Always active

These items are used to deliver advertising that is more relevant to you and your interests.

These items allow the website to remember choices you make (such as your user name, language, or the region you are in) and provide enhanced, more personal features.

These items help the website operator understand how its website performs, how visitors interact with the site, and whether there may be technical issues.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.