In-App Message Templates: Design Tips for Braze

Braze in-app message templates let a team save a tested layout once and reuse it across campaigns and Canvas steps. This guide covers which editor to build in, what to set before adding content, how to keep templates light, and how to test them. Every documented mechanic comes from Braze documentation, and the judgement calls are marked as ours.

Key Takeaways

  • Save a drag-and-drop layout with Save as template after you exit the editor, once the campaign is launched or saved as a draft.
  • The drag-and-drop editor supports modal and fullscreen messages, and existing custom HTML templates must be recreated in it.
  • Set message-level styles first, then rows and columns, then blocks.
  • The message-level font applies to the current message and duplicates, but not to future templates.
  • Keep personalised values in the message and host shared CSS, JavaScript and media in the media library.
  • Add Liquid defaults and review every page, because a syntax error on one page affects all pages.

How do Braze in-app message templates work?

A template is a saved in-app message layout that your team starts from instead of a blank canvas. In the drag-and-drop editor you save one with the Save as template button after you exit the editor. Before you can do that, you must first launch the campaign or save it as a draft.

Saved templates live on the In-App Message page under Content, where you can filter, search, duplicate and archive them. You need user permissions to view or edit them. You can also begin from a Braze template, make your changes, and save your own version.

Which editor should you build your templates in?

The drag-and-drop editor is the one the documentation recommends for the usual in-app message. It gives you rows, Content Blocks, templates and multi-page flows on top of the same core layouts as the traditional editor. Today it supports modal and fullscreen messages, so a slide-up message sits outside it.

The two editors keep their styling in different places, which changes what a template is.

EditorWhat a reusable asset isWhere styling lives
Drag-and-dropA saved layout from the editorStyle settings, set per message
TraditionalA Color Profile or CSS TemplateThe profile or CSS template itself

Existing custom HTML templates, or ones from a third party, must be recreated in the drag-and-drop editor. We recommend planning it as a rebuild rather than a paste job.

You can still insert raw HTML, CSS and JavaScript, but only inside a Custom code block. The Braze drag-and-drop in-app message documentation covers the steps.

What should you set before you add any content?

Order of work decides how many overrides you carry later. Braze documents the sequence in its style settings page, and we recommend following it every time.

  1. Set message-level styles first: container, font, link colour and the rest.
  2. Format row and column properties before anything inside the rows.
  3. Add blocks, and override a style at block level only where the design needs it.
  4. Switch between mobile, tablet and desktop views in the toolbar as you go.

Message-level styles apply everywhere except where you override them for a specific block. Setting them first means the exceptions are the only things you have to track.

One detail affects reuse. The message-level font applies to the current message and any duplicated messages, but not to future templates.

Fonts come in through the media library in one of four accepted file types, and they can't be added by URL. We recommend recording the font choice somewhere your team will see it when they start from the template.

How should you design the close button, the pages and the content?

The close X button can't be removed, and users can exit with it at any time. Treat it as a fixed part of the layout and leave room for it. On a tablet or desktop browser, a fullscreen message sits in the centre of the app screen, so check that view too.

Multi-page messages are sequential. Users tap or click to move to the next page, and a page that links nowhere stops the message from launching.

The limit is 10 per message, and the documentation asks you to name each one something meaningful. Our suggestion is to start a welcome template with fewer pages than the limit allows, because shorter flows are easier to test page by page.

Content rules belong in the template too. Long-press copies text on iOS and Android but not images, so a voucher code belongs in text rather than in a picture.

In-app messages only appear for a set amount of time, so write copy that survives a quick read. For fullscreen messages, keep the image or media within the safe zone.

How do you keep a template light?

Braze delivers eligible in-app message triggers on session start. Preparing many messages with Liquid can delay session start and affect app performance. The prep guide therefore advises against large static stylesheets, scripts or base64-encoded media inside the message or a Content Block, and points to the media library instead.

Media library stylesheets and scripts don't evaluate Liquid, which lets the user's device cache them.

For a template, we suggest a clean split. Keep personalised values and conditional rules in the message, and host reusable CSS, JavaScript and media as linked static files. A shared brand stylesheet is the obvious candidate.

How should you handle Liquid inside a template?

We recommend adding a default value for every personalised field before you save the template. The test checklist asks whether you have accounted for a default attribute value when the Liquid returns no information. A template inherits that answer for every later author.

Pages in a multi-page message are not independent for Liquid. A syntax error on one page affects the rendering of Liquid on all pages, so a broken preview on page two can come from page four. Review every page of a template, including the ones that look fine.

What about dark mode and older SDK versions?

The Dark Mode themes article applies to the traditional editor. Devices that don't support Dark Mode show the Light theme by default.

The pages we reviewed describe no dark theme setting for drag-and-drop messages, so we make no promise about it here. Check the current Braze documentation before you commit a dark appearance to a stakeholder.

SDK versions matter more for templates than for single campaigns. Messages built in the drag-and-drop editor reach only users on the minimum SDK versions, and a user on an older version doesn't receive the message. The drag-and-drop page lists the current numbers, which can change, so read them on the day you plan the library.

How do you test a template before anyone reuses it?

Use Preview and Test to view the message as a specific user, a random user or a custom user. A custom user with an empty first name is the case that shows whether your Liquid defaults work. Test on different devices, and confirm that images and media behave as expected.

Our suggestion is to build reporting into the template itself. Body clicks are not automatically collected for drag-and-drop messages, and you can segment on button clicks for up to two buttons. Set the reporting identifiers on the first two buttons as the documentation describes, and every message made from the template starts with segmentable buttons.

What does a template review look like in practice?

Take a hypothetical subscription app that wants one welcome template for several onboarding campaigns. This is an illustration only. No client work or delivery data sits behind it.

The team sets the brand font and link colour in message styles, and uploads the font through the media library. They build a three-page flow with each page named for its job and every page linked. Shared brand styling goes into a media library stylesheet, while the first-name field gets a default value inline.

They set reporting identifiers on the first two buttons, then preview as a random user and as a custom user with no first name. They save the campaign as a draft, use Save as template, and note in the template description that the font must be set again on new messages.

How does this connect to the rest of the programme?

A template library only pays off when the surrounding messaging is sound. Start with how to create engaging in-app messages with Braze for the design basics, and see in-app messaging use cases to decide which templates to build first.

Timing and audience come next. Read how to set up in-app message triggers and segmenting users for in-app messaging before you wire a template into a live campaign.

For measurement, how to measure in-app message engagement shows what to track once the template is in use. Templates for other channels are covered in using templates for faster marketing automation.

As a Braze implementation partner, CustomerIK recommends giving each template one job, setting its styles and defaults before it is shared, and re-reading the Braze documentation whenever you rebuild one.

Frequently Asked Questions

1. Can I save an in-app message as a template after building it in a campaign?

Yes, use Save as template after you exit the editor. You must first launch the campaign or save it as a draft.

2. Can I reuse my existing custom HTML in the drag-and-drop editor?

Existing custom HTML templates, or ones from a third party, must be recreated in the drag-and-drop editor. You can insert raw HTML, CSS and JavaScript into a Custom code block.

3. How many pages can a drag-and-drop in-app message have?

The limit is 10 per in-app message. Every page must be linked to another, or the message can't be launched.

4. Can users always close a drag-and-drop in-app message?

Yes, the close X button lets users exit at any time, and it can't be removed.

5. Why are body clicks missing from my analytics?

Body clicks are not automatically collected for in-app messages created with the drag-and-drop editor.

Sources

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

If you are planning an in-app message template library in Braze, 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.