Email: Dynamic Block in Unified Content Editor

Use Dynamic Blocks in UCE to personalize email campaigns by showing or hiding content based on user attributes.

Overview

The Dynamic Blocks in UCE let you personalize email content by showing or hiding specific blocks based on user data like city, purchase history, or segment.

For example, if you are creating an email campaign for jackets. Ideally, people in Mumbai should see light jackets, while people in Delhi should see heavy winter jackets.

Without Dynamic Blocks, you would need to create two different emails, manage them separately, and send them to the right lists, which takes extra time and effort.

Dynamic Blocks make this easier by letting you build just one email template and set rules that decide which block each person sees. The system automatically checks user data, like their city, purchase history, or signup date, and shows only the content that matches. This way, every customer gets an email that feels relevant to them, without you having to create multiple campaigns.

This approach saves time, reduces errors, and makes your marketing more effective because people are more likely to engage with content that feels personal and timely.

Create a Dynamic Block

Refer here to create templates from scratch using the Editor.

To create an Email campaign using Dynamic Block, follow these steps:

  1. Drag and drop the elements to the UCE editor's canvas to create a block.

Each block can consist of multiple elements.

  1. On the right-hand sidebar, select the Dynamic visibility button ON to enable conditions for this block.
  2. You can select SET RULES or USE CODES to show or hide content for each subscriber to create a personalized experience based on rules you set.

SET RULES

  • Based on the User Attributes set on the panel, use And or OR condition to implement the rules.

USE CODES

  • Enter your custom visibility code on the block to implement the rules.
  1. Click SAVE & NEXT to send out a dynamically customized email campaign.

📘

Note

  • Avoid unsupported characters like $, ", / in values as they may break the rule.

Use Case

Personalize a single email campaign to show different jacket recommendations based on the recipient’s city. Here, the user is segmented based on the location.

User SegmentCondition AppliedContent ShownOutcome
Users in Mumbaicity = MumbaiBlock with light jacketsShoppers see weather-appropriate options for a warmer climate.
User in Delhicity = DelhiBlock with heavy winter jacketsShoppers see warmer products suited to cold weather.
Users in Bangalorecity = BangaloreBlock with all-weather jacketsShoppers see versatile styles for moderate conditions.
All Other CustomersDefault Block with generic jacketsEveryone else still receives a product selection.

Click here to use other elements in UCE to customise your email template.

Troubleshooting & FAQs

Q: My block is not showing. What should I check?

A: First, check if your condition is correct — for example, make sure the city name or other attribute matches exactly with the user data saved in your system. Also, confirm that the syntax you used follows your ESP’s format.

Q: The email looks the same for everyone. Why is that happening?

A: Make sure you are previewing the email with sample user data that triggers your conditions. Also, verify that the conditions are saved properly and the toggle for Dynamic Blocks is turned ON for that block.