{"id":40431,"date":"2024-08-06T18:30:16","date_gmt":"2024-08-06T13:00:16","guid":{"rendered":"https:\/\/email.uplers.com\/blog\/?p=40431"},"modified":"2024-08-12T18:08:23","modified_gmt":"2024-08-12T12:38:23","slug":"guide-using-liquid-dynamic-content-braze","status":"publish","type":"post","link":"https:\/\/email.uplers.com\/blog\/guide-using-liquid-dynamic-content-braze\/","title":{"rendered":"A Beginner&#8217;s Guide to Liquid: Personalization And Dynamic Content in Braze"},"content":{"rendered":"\n<p>The significance of personalization is not lost on marketers anymore.&nbsp;<\/p>\n\n\n\n<p>As a result, business software vendors are enhancing their tools to make implementing personalization more intuitive.&nbsp;<\/p>\n\n\n\n<p>So the question now isn\u2019t whether personalization is part of your client\u2019s marketing strategy. It most certainly is.&nbsp;<\/p>\n\n\n\n<p>Rather, do <em>you<\/em> as a service provider have extensive software expertise? Can you implement personalization on your client\u2019s preferred software or ESP?&nbsp;<\/p>\n\n\n\n<p>Because software literacy is how you\u2019re going to stand out.&nbsp;<\/p>\n\n\n\n<p>At Email Uplers, we\u2019re experts at <a href=\"https:\/\/email.uplers.com\/email-service-provider-esp-integration\/\" target=\"_blank\" rel=\"noreferrer noopener\">50+ ESPs<\/a>, including Braze. All-round software literacy enables us to meet various ESP-specific project requirements to spec.&nbsp;<\/p>\n\n\n\n<p>In this beginner-friendly guide, Braze is where it\u2019s at. We\u2019re going to show you how to do personalization in Braze using Liquid, a programming language.&nbsp;<\/p>\n\n\n\n<p><a href=\"#whatisliquid\"><strong>What Is Liquid?<\/strong><\/a><\/p>\n\n\n\n<p><a href=\"#Components\"><strong>Components of Liquid<\/strong><\/a><\/p>\n\n\n\n<p><a href=\"#Objects\"><strong>Objects in Liquid<\/strong><\/a><\/p>\n\n\n\n<p><a href=\"#Filters\"><strong>Filters in Liquid<\/strong><\/a><\/p>\n\n\n\n<p><a href=\"#Tags\"><strong>Tags in Liquid<\/strong><\/a><\/p>\n\n\n\n<p><a href=\"#DataTypes\"><strong>Advanced Data Types: Arrays &amp; Objects<\/strong><\/a><\/p>\n\n\n\n<p><a href=\"#Arrays\"><strong>Arrays of Objects<\/strong><\/a><\/p>\n\n\n\n<p><a href=\"#UseCases\"><strong>Practical Use Cases of Liquid<\/strong><\/a><\/p>\n\n\n<div class=\"banner_wrapper\" style=\"\"><div class=\"banner  banner-37332 bottom vert custom-banners-theme-default_style\" style=\"\"><a class=\"custom_banners_big_link\"  target=\"_blank\"  href=\"https:\/\/email.uplers.com\/braze-email-templates\/\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"240\" src=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2023\/09\/Get-your-Braze-email-marketing-requirements-catered-to-by-our-seasoned-team-1.jpg\" class=\"attachment-full size-full\" alt=\"Braze-email marketing\" srcset=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2023\/09\/Get-your-Braze-email-marketing-requirements-catered-to-by-our-seasoned-team-1.jpg 1000w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2023\/09\/Get-your-Braze-email-marketing-requirements-catered-to-by-our-seasoned-team-1-300x72.jpg 300w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2023\/09\/Get-your-Braze-email-marketing-requirements-catered-to-by-our-seasoned-team-1-768x184.jpg 768w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2023\/09\/Get-your-Braze-email-marketing-requirements-catered-to-by-our-seasoned-team-1-624x150.jpg 624w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2023\/09\/Get-your-Braze-email-marketing-requirements-catered-to-by-our-seasoned-team-1-600x144.jpg 600w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"whatisliquid\"><strong>What Is Liquid?&nbsp;<\/strong><\/h2>\n\n\n\n<p>Liquid, developed by Shopify, is a programming language written in Ruby, which is used to create dynamic content based on user data.&nbsp;<\/p>\n\n\n\n<p>Liquid is open-source, meaning it\u2019s available for use by anyone. Compared to more complex coding languages, Liquid is straightforward and easy to learn, making it an <a href=\"https:\/\/email.uplers.com\/infographics\/best-email-marketing-tools\/\" target=\"_blank\" rel=\"noreferrer noopener\">excellent tool for marketers<\/a> looking to personalize their communications.<\/p>\n\n\n\n<p><strong>Key Points:<\/strong><br \/><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Origins<\/strong>: Developed by Shopify and adopted by customer engagement platforms like Braze<br \/><\/li><li><strong>Usage<\/strong>: Powers dynamic content in emails, notifications, and more<br \/><\/li><li><strong>Accessibility<\/strong>: Simple enough for marketers to learn with practice<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-pullquote is-style-default\"><blockquote><p style=\"font-size: 25px\"><em><span class=\"has-inline-color has-black-color\" style=\"font-size: 25px; color: red;\">\u201c<\/span>If you choose to use Liquid in your email messages, be sure to insert it using the HTML editor as opposed to the classic editor.<span class=\"has-inline-color has-black-color\" style=\"font-size: 25px; color: red;\">\u201d<\/span><\/em><\/p><cite> <em>\u2014 Braze<\/em> <\/cite><\/blockquote><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Components\"><strong>Components of Liquid<\/strong><\/h2>\n\n\n\n<p>Liquid is composed of three main elements, each serving a specific role in <a href=\"https:\/\/email.uplers.com\/blog\/streamline-email-creation-with-constant-contact-dynamic-content\/\" target=\"_blank\" rel=\"noreferrer noopener\">creating dynamic content<\/a>: variables, tags, and filters.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. <strong>Variables<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Definition<\/strong>: Variables are placeholders that store data or values<br \/><\/li><li><strong>Syntax<\/strong>:  <span style=\"color:#047e0e\" class=\"has-inline-color\"><code>{{ variable_name }}<\/code><br \/><\/span><\/li><li><strong>Functionality<\/strong>: Displays dynamic content, such as a customer\u2019s name or order details.<br \/><\/li><li><strong>Example<\/strong>: <code><span style=\"color:#047e0e\" class=\"has-inline-color\">{{ first_name }}<\/span><\/code> displays the customer&#8217;s first name.<br \/><\/li><li><strong>Use Case<\/strong>: Personalize an email greeting with the recipient&#8217;s first name: Hello, <span style=\"color:#047e0e\" class=\"has-inline-color\"><code>{{ first_name }}<\/code>!<\/span><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2. <strong>Tags<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Definition<\/strong>: Tags control the flow and structure of the template.<br \/><\/li><li><strong>Syntax<\/strong>: <code><span style=\"color:#047e0e\" class=\"has-inline-color\">{% tag %}<\/span><\/code><br \/><\/li><li><strong>Functionality<\/strong>: Handles logic, loops, and conditions.<br \/><\/li><li><strong>Example<\/strong>: <code><span style=\"color:#047e0e\" class=\"has-inline-color\">{% if customer.is_vip %}<\/span><\/code> initiates a conditional block.<br \/><\/li><li><strong>Use Case<\/strong>: Display a special offer for VIP customers: <code><span style=\"color:#047e0e\" class=\"has-inline-color\">{% if customer.is_vip %} Exclusive offer just for you! {% endif %}<\/span><\/code><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">3. <strong>Filters<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Definition<\/strong>: Filters modify the output of a variable.<br \/><\/li><li><strong>Syntax<\/strong>: <code><span style=\"color:#047e0e\" class=\"has-inline-color\">{{ variable | filter }}<\/span><\/code><br \/><\/li><li><strong>Functionality<\/strong>: Formats and manipulates data.<br \/><\/li><li><strong>Example<\/strong>: <code><span style=\"color:#047e0e\" class=\"has-inline-color\">{{ product.price | currency }}<\/span><\/code> formats the price as currency.<br \/><\/li><li><strong>Use Case<\/strong>: Format a product&#8217;s price to include a currency symbol: <code><span style=\"color:#047e0e\" class=\"has-inline-color\">{{ product.price | currency }}<\/span><\/code><\/li><\/ul>\n\n\n\n<p>In our next section, we&#8217;ll explore these basics in a bit more detail.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Objects\"><strong>Objects in Liquid<\/strong>&nbsp;<\/h2>\n\n\n\n<p>Objects represent data points stored in Braze, accessed using standard attributes like <code><span style=\"color:#047e0e\" class=\"has-inline-color\">{{ first_name }} and {{ email_address }}<\/span>.<\/code><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Example<\/strong>: <code><span style=\"color:#047e0e\" class=\"has-inline-color\">{{ first_name }}<\/span><\/code> inserts the recipient&#8217;s first name into the email.<br \/><\/li><li><strong>Use Case<\/strong>: Include a user&#8217;s email address in a confirmation message: Your email address is <code><span style=\"color:#047e0e\" class=\"has-inline-color\">{{ email_address }}<\/span><\/code><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Filters\"><strong>Filters in Liquid<\/strong><\/h2>\n\n\n\n<p>Filters modify content within objects. Examples include:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><code><span style=\"color:#047e0e\" class=\"has-inline-color\">{{ first_name | capitalize }}<\/span><\/code>: Capitalizes the first letter of the first name.<br \/><\/li><li><code><span style=\"color:#047e0e\" class=\"has-inline-color\">{{ first_name | default: 'not here right now' }}<\/span><\/code>: Uses default text if the first name is empty.<br \/><\/li><li><strong>Use Case<\/strong>: Ensure the first name is always capitalized: Hello, <code><span style=\"color:#047e0e\" class=\"has-inline-color\">{{ first_name | capitalize }}!<\/span><\/code><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Tags\"><strong>Tags in Liquid<\/strong><\/h2>\n\n\n\n<p>Tags define conditional logic using if, else if, and else statements:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><code><span style=\"color:#047e0e\" class=\"has-inline-color\">{% if first_name %}{{ first_name | capitalize }}{% endif %}<\/span><\/code>: Prints the capitalized first name if it exists.<br \/><\/li><li><code><span style=\"color:#047e0e\" class=\"has-inline-color\">{% if first_name == 'Peter' %}Here is your update{% else %}Hi there{% endif %}<\/span><\/code>: Personalized message based on the name.<br \/><\/li><li><strong>Use Case<\/strong>: Provide a different message based on the user&#8217;s first name: <code><span style=\"color:#047e0e\" class=\"has-inline-color\">{% if first_name == 'Peter' %} Hello, Peter! {% else %} Hello! {% endif %}<\/span><\/code><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-pullquote is-style-default\"><blockquote><p style=\"font-size: 25px\"><em><span class=\"has-inline-color has-black-color\" style=\"font-size: 25px; color: red;\">\u201c<\/span>Place Liquid code within the &lt;body&gt; tag only. Placing it outside this tag may cause inconsistent rendering upon delivery.<span class=\"has-inline-color has-black-color\" style=\"font-size: 25px; color: red;\">\u201d<\/span><\/em><\/p><cite> <em>\u2014 Braze<\/em> <\/cite><\/blockquote><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"DataTypes\"><strong>Advanced Data Types: Arrays &amp; Objects<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. <strong>Arrays<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Definition<\/strong>: Lists of items of the same data type.<br \/><\/li><li><strong>Example<\/strong>: A user&#8217;s favorite sports: <span style=\"color:#047e0e\" class=\"has-inline-color\">[&#8220;basketball&#8221;, &#8220;soccer&#8221;, &#8220;tennis&#8221;]<\/span><br \/><\/li><li><strong>Use Case<\/strong>: Display a list of a user&#8217;s favorite sports: <span style=\"color:#047e0e\" class=\"has-inline-color\">{% for sport in favorite_sports %} {{ sport }} {% endfor %}<\/span><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2. <strong>Objects<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Definition<\/strong>: Groups of metadata describing parent data.<br \/><\/li><li><strong>Example<\/strong>: An item with properties like name, price, and category: <span style=\"color:#047e0e\" class=\"has-inline-color\">{&#8220;name&#8221;: &#8220;T-shirt&#8221;, &#8220;price&#8221;: &#8220;20&#8221;, &#8220;category&#8221;: &#8220;clothing&#8221;}<\/span><br \/><\/li><li><strong>Use Case<\/strong>: Display a product&#8217;s details: Product: <span style=\"color:#047e0e\" class=\"has-inline-color\">{{ product.name }} &#8211; Price: {{ product.price }} &#8211; Category: {{ product.category }}<\/span><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Arrays\"><strong>Arrays of Objects&nbsp;<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Definition<\/strong>: Lists of objects.<br \/><\/li><li><strong>Example<\/strong>: A shopping cart with multiple items, each with properties like name, price, and size: <span style=\"color:#047e0e\" class=\"has-inline-color\">[{&#8220;name&#8221;: &#8220;T-shirt&#8221;, &#8220;price&#8221;: &#8220;20&#8221;, &#8220;size&#8221;: &#8220;M&#8221;}, {&#8220;name&#8221;: &#8220;Jeans&#8221;, &#8220;price&#8221;: &#8220;40&#8221;, &#8220;size&#8221;: &#8220;L&#8221;}]<\/span><br \/><\/li><li><strong>Use Case<\/strong>: Display items in a user&#8217;s shopping cart: <span style=\"color:#047e0e\" class=\"has-inline-color\">{% for item in cart %} {{ item.name }} &#8211; {{ item.price }} &#8211; {{ item.size }} {% endfor %}<\/span><\/li><\/ul>\n\n\n<div class=\"banner_wrapper\" style=\"\"><div class=\"banner  banner-25586 bottom vert custom-banners-theme-default_style\" style=\"\"><a class=\"custom_banners_big_link\"  target=\"_blank\"  href=\"https:\/\/email.uplers.com\/email-marketing-campaign-manager\/\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"200\" src=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2021\/04\/Our-Campaign-Managers-are-experts-in-all-leading-ESPs.png\" class=\"attachment-full size-full\" alt=\"\" srcset=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2021\/04\/Our-Campaign-Managers-are-experts-in-all-leading-ESPs.png 800w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2021\/04\/Our-Campaign-Managers-are-experts-in-all-leading-ESPs-300x75.png 300w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2021\/04\/Our-Campaign-Managers-are-experts-in-all-leading-ESPs-768x192.png 768w, https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2021\/04\/Our-Campaign-Managers-are-experts-in-all-leading-ESPs-624x156.png 624w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"UseCases\"><strong>Practical Use Cases of Liquid<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. <strong><\/strong><strong>Content Personalization<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Basic Personalization<\/strong>: Insert the user&#8217;s first name or other attributes.<br \/><ul><li><strong>Example<\/strong>: Hello, <span style=\"color:#047e0e\" class=\"has-inline-color\">{{ first_name }}!<\/span><br \/><\/li><\/ul><\/li><li><strong>Advanced Use Cases<\/strong>: Customize content based on user behavior or preferences.<br \/><ul><li><strong>Example<\/strong>: Show different messages based on the user&#8217;s subscription status: <span style=\"color:#047e0e\" class=\"has-inline-color\">{% if user.is_subscribed %} Thanks for being a subscriber! {% else %} Subscribe now for more updates! {% endif %}<\/span><\/li><\/ul><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2. <strong><\/strong><strong>Multilingual Emails<\/strong><\/h3>\n\n\n\n<p>Create emails that adapt to the recipient\u2019s language preference using Liquid&#8217;s conditional logic:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Data Preparation<\/strong>: Import user data with language preferences.<br \/><ul><li><strong>Example<\/strong>: Use a CSV file with language preferences: <span style=\"color:#047e0e\" class=\"has-inline-color\">id,first_name,last_name,email,language<\/span><br \/><\/li><\/ul><\/li><li><strong>Email Setup<\/strong>: Use Liquid to dynamically adjust content based on language attributes.<br \/><ul><li><strong>Example<\/strong>: <span style=\"color:#047e0e\" class=\"has-inline-color\">{% if language == &#8216;en&#8217; %} Hello! {% elsif language == &#8216;es&#8217; %} \u00a1Hola! {% endif %}<\/span><br \/><\/li><\/ul><\/li><\/ul>\n\n\n\n<p>Incidentally, you can also add a custome attribute to set your preferred color in the following manner:<br \/><br \/><span style=\"color:#047e0e\" class=\"has-inline-color\">{% if {{custom_attribute.${favorite_color}}} == &#8216;red&#8217; %}<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. <strong><\/strong><strong>Abandoned Cart Emails<\/strong><\/h3>\n\n\n\n<p>Leverage Liquid for loops to create dynamic <a href=\"https:\/\/email.uplers.com\/blog\/8-abandoned-cart-email-ideas-best-practices\/\" target=\"_blank\" rel=\"noreferrer noopener\">abandoned cart emails<\/a>:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Data Structure<\/strong>: Store cart items in a custom attribute.<br \/><ul><li><strong>Example<\/strong>: <span style=\"color:#047e0e\" class=\"has-inline-color\">{&#8220;items_in_cart&#8221;: [{&#8220;id&#8221;: &#8220;123&#8221;, &#8220;name&#8221;: &#8220;T-shirt&#8221;, &#8220;price&#8221;: &#8220;20&#8221;}, {&#8220;id&#8221;: &#8220;456&#8221;, &#8220;name&#8221;: &#8220;Jeans&#8221;, &#8220;price&#8221;: &#8220;40&#8221;}]}<\/span><br \/><\/li><\/ul><\/li><li><strong>Loop through Items<\/strong>: Use loops to display each item in the email.<br \/><ul><li><strong>Example<\/strong>: <span style=\"color:#047e0e\" class=\"has-inline-color\">{% for item in items_in_cart %} {{ item.name }} &#8211; {{ item.price }} {% endfor %}<\/span><\/li><\/ul><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">4. <strong><\/strong><strong><\/strong><strong>Random Number Generation<\/strong><\/h3>\n\n\n\n<p>Use current time and modulo operations to generate random numbers for various scenarios, like randomizing email subject lines:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Example<\/strong>: <span style=\"color:#047e0e\" class=\"has-inline-color\">{% assign random_number = &#8216;now&#8217; | date: &#8216;%N&#8217; | modulo: 5 %} {% if random_number == 0 %} Subject Line 0 {% elsif random_number == 1 %} Subject Line 1 {% elsif random_number == 2 %} Subject Line 2 {% elsif random_number == 3 %} Subject Line 3 {% elsif random_number == 4 %} Subject Line 4 {% endif %}<\/span><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-pullquote is-style-default\"><blockquote><p style=\"font-size: 25px\"><em><span class=\"has-inline-color has-black-color\" style=\"font-size: 25px; color: red;\">\u201c<\/span>Braze does not currently support 100% of Shopify\u2019s Liquid\u2026 We highly recommend testing all messages using Liquid before sending them\u2026<span class=\"has-inline-color has-black-color\" style=\"font-size: 25px; color: red;\">\u201d<\/span><\/em><\/p><cite> <em>\u2014 Braze<\/em> <\/cite><\/blockquote><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Need A Hand to Get Started?<\/strong><\/h2>\n\n\n\n<p>Liquid provides a powerful yet accessible way to create personalized and dynamic content in Braze. By understanding and leveraging variables, tags, and filters, marketers can enhance their campaigns and deliver more relevant messages to their audience.&nbsp;<\/p>\n\n\n\n<p>If you need help getting started, get in touch with our <a href=\"https:\/\/email.uplers.com\/braze-email-templates\/\" target=\"_blank\" rel=\"noreferrer noopener\">Braze-certified experts<\/a>.&nbsp;For more information on this ESP, catch our series <a href=\"https:\/\/email.uplers.com\/blog\/?s=Braze\" target=\"_blank\" rel=\"noreferrer noopener\">on all things Braze<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>New to Liquid in Braze? Learn in a ridiculously simple language how to implement personalization &#038; dynamic content in Braze by using Liquid.<\/p>\n","protected":false},"author":95,"featured_media":40439,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1186],"tags":[1381,1383,1382,1385],"class_list":["post-40431","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-crm","tag-braze","tag-dynamic-content-in-braze","tag-liquid-for-dynamic-content-in-braze-emails","tag-liquid-in-braze"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Use Liquid for Dynamic Content in Braze Emails | Beginner\u2019s Guide<\/title>\n<meta name=\"description\" content=\"Learn how to create personalized and dynamic content in Braze using Liquid. This in-depth guide covers variables, tags, filters, and real-world use cases for marketers.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/email.uplers.com\/blog\/guide-using-liquid-dynamic-content-braze\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Use Liquid for Dynamic Content in Braze Emails | Beginner\u2019s Guide\" \/>\n<meta property=\"og:description\" content=\"Learn how to create personalized and dynamic content in Braze using Liquid. This in-depth guide covers variables, tags, filters, and real-world use cases for marketers.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/email.uplers.com\/blog\/guide-using-liquid-dynamic-content-braze\/\" \/>\n<meta property=\"og:site_name\" content=\"Email Uplers\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/email.uplers\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-08-06T13:00:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-12T12:38:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/08\/Liquid-on-Braze-540x282.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"540\" \/>\n\t<meta property=\"og:image:height\" content=\"282\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Priyanka C\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@email_uplers\" \/>\n<meta name=\"twitter:site\" content=\"@email_uplers\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Priyanka C\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/email.uplers.com\/blog\/guide-using-liquid-dynamic-content-braze\/\",\"url\":\"https:\/\/email.uplers.com\/blog\/guide-using-liquid-dynamic-content-braze\/\",\"name\":\"How to Use Liquid for Dynamic Content in Braze Emails | Beginner\u2019s Guide\",\"isPartOf\":{\"@id\":\"https:\/\/email.uplers.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/email.uplers.com\/blog\/guide-using-liquid-dynamic-content-braze\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/email.uplers.com\/blog\/guide-using-liquid-dynamic-content-braze\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/08\/Liquid-on-Braze.jpg\",\"author\":{\"@id\":\"https:\/\/email.uplers.com\/blog\/#\/schema\/person\/44d89f02e8968ef89f992d724d3fcc0f\"},\"description\":\"Learn how to create personalized and dynamic content in Braze using Liquid. This in-depth guide covers variables, tags, filters, and real-world use cases for marketers.\",\"breadcrumb\":{\"@id\":\"https:\/\/email.uplers.com\/blog\/guide-using-liquid-dynamic-content-braze\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/email.uplers.com\/blog\/guide-using-liquid-dynamic-content-braze\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/email.uplers.com\/blog\/guide-using-liquid-dynamic-content-braze\/#primaryimage\",\"url\":\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/08\/Liquid-on-Braze.jpg\",\"contentUrl\":\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/08\/Liquid-on-Braze.jpg\",\"width\":1170,\"height\":470,\"caption\":\"Liquid in Braze\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/email.uplers.com\/blog\/guide-using-liquid-dynamic-content-braze\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/email.uplers.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A Beginner&#8217;s Guide to Liquid: Personalization And Dynamic Content in Braze\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/email.uplers.com\/blog\/#website\",\"url\":\"https:\/\/email.uplers.com\/blog\/\",\"name\":\"Email Uplers\",\"description\":\"Email Marketing Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/email.uplers.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/email.uplers.com\/blog\/#\/schema\/person\/44d89f02e8968ef89f992d724d3fcc0f\",\"name\":\"Priyanka C\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/email.uplers.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/08\/image-13-96x96.png\",\"contentUrl\":\"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/08\/image-13-96x96.png\",\"caption\":\"Priyanka C\"},\"description\":\"With three years of experience as an HTML developer at Uplers, Priyanka specializes in email template development, combining technical expertise with creativity. Outside of work, she enjoys reading and staying updated with the latest technological trends to inspire her passion for innovation.\",\"sameAs\":[\"https:\/\/www.mavlers.com\/\",\"https:\/\/www.linkedin.com\/in\/priyanka-c-b42aaa300\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Use Liquid for Dynamic Content in Braze Emails | Beginner\u2019s Guide","description":"Learn how to create personalized and dynamic content in Braze using Liquid. This in-depth guide covers variables, tags, filters, and real-world use cases for marketers.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/email.uplers.com\/blog\/guide-using-liquid-dynamic-content-braze\/","og_locale":"en_US","og_type":"article","og_title":"How to Use Liquid for Dynamic Content in Braze Emails | Beginner\u2019s Guide","og_description":"Learn how to create personalized and dynamic content in Braze using Liquid. This in-depth guide covers variables, tags, filters, and real-world use cases for marketers.","og_url":"https:\/\/email.uplers.com\/blog\/guide-using-liquid-dynamic-content-braze\/","og_site_name":"Email Uplers","article_publisher":"https:\/\/www.facebook.com\/email.uplers\/","article_published_time":"2024-08-06T13:00:16+00:00","article_modified_time":"2024-08-12T12:38:23+00:00","og_image":[{"width":540,"height":282,"url":"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/08\/Liquid-on-Braze-540x282.jpg","type":"image\/jpeg"}],"author":"Priyanka C","twitter_card":"summary_large_image","twitter_creator":"@email_uplers","twitter_site":"@email_uplers","twitter_misc":{"Written by":"Priyanka C","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/email.uplers.com\/blog\/guide-using-liquid-dynamic-content-braze\/","url":"https:\/\/email.uplers.com\/blog\/guide-using-liquid-dynamic-content-braze\/","name":"How to Use Liquid for Dynamic Content in Braze Emails | Beginner\u2019s Guide","isPartOf":{"@id":"https:\/\/email.uplers.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/email.uplers.com\/blog\/guide-using-liquid-dynamic-content-braze\/#primaryimage"},"image":{"@id":"https:\/\/email.uplers.com\/blog\/guide-using-liquid-dynamic-content-braze\/#primaryimage"},"thumbnailUrl":"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/08\/Liquid-on-Braze.jpg","author":{"@id":"https:\/\/email.uplers.com\/blog\/#\/schema\/person\/44d89f02e8968ef89f992d724d3fcc0f"},"description":"Learn how to create personalized and dynamic content in Braze using Liquid. This in-depth guide covers variables, tags, filters, and real-world use cases for marketers.","breadcrumb":{"@id":"https:\/\/email.uplers.com\/blog\/guide-using-liquid-dynamic-content-braze\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/email.uplers.com\/blog\/guide-using-liquid-dynamic-content-braze\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/email.uplers.com\/blog\/guide-using-liquid-dynamic-content-braze\/#primaryimage","url":"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/08\/Liquid-on-Braze.jpg","contentUrl":"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/08\/Liquid-on-Braze.jpg","width":1170,"height":470,"caption":"Liquid in Braze"},{"@type":"BreadcrumbList","@id":"https:\/\/email.uplers.com\/blog\/guide-using-liquid-dynamic-content-braze\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/email.uplers.com\/blog\/"},{"@type":"ListItem","position":2,"name":"A Beginner&#8217;s Guide to Liquid: Personalization And Dynamic Content in Braze"}]},{"@type":"WebSite","@id":"https:\/\/email.uplers.com\/blog\/#website","url":"https:\/\/email.uplers.com\/blog\/","name":"Email Uplers","description":"Email Marketing Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/email.uplers.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/email.uplers.com\/blog\/#\/schema\/person\/44d89f02e8968ef89f992d724d3fcc0f","name":"Priyanka C","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/email.uplers.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/08\/image-13-96x96.png","contentUrl":"https:\/\/email.uplers.com\/blog\/wp-content\/uploads\/2024\/08\/image-13-96x96.png","caption":"Priyanka C"},"description":"With three years of experience as an HTML developer at Uplers, Priyanka specializes in email template development, combining technical expertise with creativity. Outside of work, she enjoys reading and staying updated with the latest technological trends to inspire her passion for innovation.","sameAs":["https:\/\/www.mavlers.com\/","https:\/\/www.linkedin.com\/in\/priyanka-c-b42aaa300\/"]}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/posts\/40431","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/users\/95"}],"replies":[{"embeddable":true,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/comments?post=40431"}],"version-history":[{"count":13,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/posts\/40431\/revisions"}],"predecessor-version":[{"id":40497,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/posts\/40431\/revisions\/40497"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/media\/40439"}],"wp:attachment":[{"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/media?parent=40431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/categories?post=40431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/email.uplers.com\/blog\/wp-json\/wp\/v2\/tags?post=40431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}