Skip to content

BrazeAITM Liquid assistant

The BrazeAITM Liquid Assistant is a chat assistant powered by BrazeAITM that helps generate the Liquid you need to personalize message content. You can use it while creating SMS messages, push notifications, HTML email campaigns, and Canvases. For the email channel, the assistant works on email messages and not templates, and works best on email messages that are already built.

With the BrazeAITM Liquid Assistant, you can generate Liquid from templates, receive personalized Liquid suggestions, and optimize existing Liquid with the support of BrazeAITM. The assistant also provides annotations explaining the Liquid used, so you can increase your understanding of Liquid and learn to write your own.

How it works

The BrazeAITM Liquid Assistant is designed to help you write effective Liquid code tailored to your marketing needs. Trained on both Liquid syntax and how marketers utilize Liquid in their messages, our AI understands the nuances of crafting personalized content. Additionally, by providing the BrazeAITM Liquid Assistant your custom attribute names (such as “favourite_color”) and data types (such as boolean and string), our BrazeAITM Liquid Assistant ensures your messages are precisely targeted and aligned with your goals. Additionally, if you create Brand Guidelines, the BrazeAITM Liquid Assistant may use Brand Guidelines to better personalize the outputs generated and to customize content to our own brand voice. The Brand Guidelines you create will only be used to personalize content for your own use.

Generating Liquid code

To launch the BrazeAITM Liquid assistant, select the AI assistant icon in the message composer.

Message composer with the AI assistant.

You can choose a provided prompt or enter your own into the textbox. To generate your Liquid code, select Update composer.

AI assistant window with provided prompts.

You can generate another message using the same prompt by selecting Regenerate. To remove the message and revert to your previous one, select Undo update.

Provided prompts

While using the BrazeAITM Liquid Assistant, you might see a variety of prompts to help you get started with Liquid. Some of the prompts are listed below.

Use app activity

The Use app activity prompt generates Liquid code to help you send different messages based on when your app was last used. You may be asked follow-up questions so the assistant can generate a more accurate result.

Example output of the "Use app activity" prompt.

Add countdown

This prompt will generate Liquid code that sends a message with how much time until an event happens. It will ask you to provide details about the event date and time.

Example output of the "Add countdown" prompt.

Inspire me

This prompt appears when there is content in your message box. It generates a list of options you can choose from to personalize your message with Liquid.

Example output of the "Inspire me" prompt.

Improve my Liquid

This prompt appears when there is content in your message composer. Select it when you want the assistant to make your code more efficient and easier to read.

Example output of the "Improve my Liquid" prompt.

Supported attributes in beta

Criterion Knowledge type
Liquid (including for loops, if statements, math, and others) Coding
Default and standard user attributes Attributes
Custom attributes that have any of these data types:
  • Booleans
  • Numbers
  • Strings
  • Arrays
  • Time
Attributes
Connected Content Coding

How is my data used and sent to OpenAI?

In order to modify or create your message content, Braze will send your prompts, messages content and/or brand guidelines (if you decide to create them) submitted to the BrazeAITM AI assistant to OpenAI’s API Platform. All queries sent to OpenAI from Braze are anonymized, meaning that OpenAI will not be able to identify from whom the query was sent unless you include uniquely identifiable information in the content you provide. As detailed in OpenAI’s API platform commitments, data sent to OpenAI’s API via Braze is not used to train or improve their models and will be deleted after 30 days. Please ensure that you adhere to OpenAI’s policies relevant to you, which may include its Usage policies and its Sharing & publication policy. Braze makes no warranty of any kind with respect to any AI-generated content.

HOW HELPFUL WAS THIS PAGE?
New Stuff!