Placing dynamic content in your emails just got a whole lot easier. Dynamic content allows you to easily choose segments, audiences, or contact behaviors from your list that are based on your customers to create individualized tailored content to deliver right to your customer's inboxes. Read more about how to set up your Transactional Messages campaign using Dynamic Content below.
BUILDING YOUR EMAIL
Before building out the dynamic content portion of your email, build out the static portions of the email, such as your header and footer. Click here to learn more about building your email in Composer.
USING THE TRANSACTIONAL COMPOSER TEMPLATES
When creating your transactional message(s), there are several templates available for use. Each of these templates utilize Dynamic Content and personalization tags. You can quickly and easily customize these templates to fit your brand.
However, if you'd like a more advanced control of your transactional email layout, add Dynamic Content to your email and use the HTML component to add the personalization tags, as instructed below.
ADDING DYNAMIC CONTENT TO YOUR EMAIL
After the header and footer of your email are built, add dynamic content.
1. Drag and drop the dynamic content element onto the canvas.
When the element is dropped, a larger container appears underneath your content with variations. This is where the dynamic content is built.
2. Click the container and enter a Name. For this example, ours is called SKU1.
3. Click New Variation to begin adding the containers for content.
4. Enter a Name for each variation. For this example, we'll name the variation SKU1.
After you have created and named your variation container, you can begin building the variations.
ADDING HTML TO YOUR VARIATIONS
Use the HTML element to have advanced control of your transactional product email layout. You can also create a customized product layout using the text element and inserting the personalization tags.
Adding HTML to the dynamic content structures is identical to the way you would build out your structures in Composer. Follow the below steps to begin building your product layout HTML.
1. Drag and drop a one structure element onto the dynamic content canvas.
2. Drag and drop an HTML content piece onto the structures.
3. Click each HTML structure and begin creating your product layout HTML.
4. Add any personalization tags you previously created for the product attribute data (ex: SKU1, ImageURL1, Title, etc.). These will populate the message.
5. Click Done when product layout HTML is complete.
APPLYING SETTINGS AND FILTERS TO YOUR VARIATIONS
Select the appropriate segmentation field group and segmentation to filter.
1. Click edit on the variation card.
2. Then Add Filter.
3. Select Segmentation Field Groups.
4. Then, select the appropriate field group you previously created for your transactional message.
5. Then select the SKU1 segment.
6. Then Is Not Empty.
7. Click Update.
8. Click Apply Filter.
9. Click Save.
10. Click Done on the dynamic content you have selected.
NOTE: When no fallback/default is used and a filter isn't matched, no content will be displayed to a shopper. Be sure to configure a default so a blank email isn't delivered.
You have configured one item to show in the message with a single variation. To display more products, follow the below steps.
Duplicate the Dynamic Content Component.
Duplicate the HTML content for the new item and update the personalization tags.
Update the filter to reflect SKU2 is not empty.
If necessary, repeat the above steps for additional variations. Be sure to apply filters and personalization tags to all dynamic content containers (ex: SKU3, SKU4).
NOTE: Be sure to include Dynamic content for when purchased item count is more than your maximum account. For example, if you create 10 pieces of dynamic content, create a dynamic content for when there are more than 10 items. This ensures a blank email won't be delivered.
FINALIZING AND COMMITTING YOUR MESSAGE
After all of the variations have been customized, navigate to the top of the dynamic content canvas.
Your message collapses the dynamic content container to display only the first variation. When collapsed, the options to drag and drop the container appear, along with duplicating or deleting a structure. When duplicating a dynamic content container, all of the variations and content are duplicated with it.
Congratulations, your message has been created!
Next, be sure to set up authentication before sending a Transactional Email REST API call.