Drag-and-drop product blocks
The drag-and-drop editor empowers you to quickly add and configure product blocks to your messages for seamless product showcases, without the need to create custom Liquid code.
The drag-and-drop product block feature is in early access and is currently only available for email. Contact your Braze account manager if you’re interested in participating in the early access.
Requirements
Requirement | Description |
---|---|
eCommerce recommended events | eCommerce recommended events provide standardized data schemas for key behavioral events that occur before and after an order is placed. These events will eventually replace the legacy Braze purchase event and will become the standard for tracking commerce-related behavior. eCommerce recommended events are required for dynamic product blocks. eCommerce recommended events are currently in early access. Contact your Braze customer success manager if you’re interested in participating in this early access. |
eCommerce Canvas templates | The eCommerce recommended events support pre-built templates, including eCommerce Canvas templates designed for essential use cases such as abandoned browsing, abandoned carts, and order confirmations. If you plan to implement any of these essential eCommerce use cases using the eCommerce Canvas templates, you must use or follow the provided Canvas template. |
Braze catalog | You need to create a Braze catalog that includes the following fields, which will be used in your product block configuration:
|
Types of drag-and-drop product blocks
Product block | Purpose | Use cases | Availability |
---|---|---|---|
Dynamic | Personalize your messaging with a showcase of products based on customer interactions by using eCommerce recommended events and catalogs within our eCommerce Canvas templates. |
|
Available in Canvas only. |
Static | Personalize products using only the data stored in a Braze catalog or catalog selection. | Perfect for showcasing new product launches or category-specific offerings. |
Product block content configuration
Each block type has different content configurations.
Product fields
In the Product Fields section, select your product block type, then toggle on the fields you’d like to include for each product. Each field is pulled from different sources based on the type of product block you select.
Dynamic product block
Product field | Source |
---|---|
Variant image | Catalogs |
Product title | Catalogs |
Button for product URL | Catalogs |
Price | eCommerce Recommended event property |
Quantity | eCommerce Recommended event property |
Static product block
Product field | Source |
---|---|
Variant image | Catalogs |
Product title | Catalogs |
Button for product URL | Catalogs |
Price | Catalogs |
Layout options
Use layout options to customize how your products display within your product block.
Option | Description |
---|---|
Product orientation | Choose how the image and product fields within the block are oriented. |
Alignment | Adjust the alignment of the text fields and button within the block. |
Max products per row | Display up to three products per row, up to 12 products total for static product blocks, and up to 24 products total for dynamic product blocks. |
Product spacing | Set the spacing between products. |
Global email style settings
Global email style settings allow you to apply consistent styling to your emails within Braze. This means you can define specific styles—such as fonts, colors, and button designs—that will automatically apply to all your emails.
How global email style settings work with product blocks
Existing styles for paragraphs and buttons will automatically apply to the text and button elements within the product block. This means that any formatting you have set for paragraphs and buttons will be used consistently in your product block, maintaining a cohesive look throughout your email.
Setting up product blocks
Catalog setup
If you’re using the Braze and Shopify integration for product syncing, you don’t need to take any additional steps to use drag-and-drop product blocks.
If you don’t have product variant information, you need to duplicate their top-level product information in both the product and the product variant fields within the event payloads and catalogs. This means you need to provide the same product details for both identifiers to maintain consistency for the product block to work properly.
To use drag-and-drop product blocks, you need to set up a Braze catalog that includes specific field values. These fields will be used in your product block configuration. Make sure your catalog includes the following fields:
Field | Description |
---|---|
product_title |
The title of the product. |
product_url |
The URL where customers can view or purchase the product. |
variant_image_url |
The URL for the variant image. |
Get a jumpstart by working off this sample Product Catalog, which includes the required fields.
Creating product blocks
This guide will walk you through the steps to create, test, and ensure the functionality of a dynamic or static product block using our email drag-and-drop editor.
Step 1: Create an email campaign or email Canvas step
Dynamic product block
Dynamic product blocks require eCommerce recommended events and can only be used within Canvases. For Braze Shopify users, these events are automatically included as part of the integration. For non-Shopify users, you need to work with your developers to pass these events into Braze and ensure that the primary product identifier within the events is added as the catalog item ID.
Create a new Canvas that uses one of the available Braze templates for your specific use case:
- Abandoned Browse
- Abandoned Cart
- Abandoned Checkout
- Order Confirmations
For detailed instructions on creating your eCommerce Canvases, refer to eCommerce use cases.
Static product block
Create a drag-and-drop email campaign, action-based Canvas, or template that has a drag-and-drop email Message step.
Step 2: Add a product block
Within the message step, create an email or modify the existing template using the drag-and-drop email composer. Drag a product block into your email message. Confirm the dynamic block type is selected. Select the product catalog you want to use for personalization. Make sure it aligns with the products from the inbound events you are targeting.
Drag a product block into your email message and select the static block type. Select the catalog you want to use for your product block. If your catalog has a selection, you must select it to further narrow the products that display in your product block.
Step 3: Configure product fields
Select which product fields should be shown in the product block. Select Apply Settings after each change to see updates in the editor.
You can also customize the text before your Liquid tags. For example, you can prepend a dollar sign ($) for an item’s price or update the term for quantity to “amount” or another preferred label.
Step 4: Configure layout settings
Change the layout options to update how products display within your product block, and make sure to select Apply settings after each change.
Step 5: Preview and test your message
- In the Preview & Test section, preview the message as a custom user.
- Specify how many items you want to render in the preview.
- Confirm that the correct number of items appears and that your layout options are applied correctly. Note that the items that appear are randomly selected.
A preview will generate within the drag-and-drop composer when you apply changes to your product block.
After you’re done creating your message and confirming it looks like expected, you’re ready to send!