Once you’ve created your email recommendation and are satisfied with its setup, you can integrate it into your email campaign by creating an email template in Brevo. Follow the steps below to include AB Tasty Recommendations & Merchandising feeds in your email design.
Step 1: Start a Campaign in Developer Mode
- Log in to your Brevo account.
- Begin creating a new campaign and enable Developer Mode to allow for custom coding in the email template.
Step 2: Add the AB Tasty Recommendations Feed
- Incorporate the AB Tasty Recommendations & Merchandising feed into your email template.
- This feed will dynamically populate your email with recommended products.
Step 3: Create a Repeated Block
- Design a repeated block in your email template.
- Configure the block to repeat for each product in the recommendation feed using the syntax:
[feedName].products.
Step 4: Access Product Fields
Use the {{fieldName}} notation to retrieve and display product information in the email.
The following generic fields are provided by the AB Tasty Recommendations & Merchandising feed:
Field Description
id | Parent ID of the product |
title | Name of the product |
img_link | Main image link of the product |
absolute_link | Absolute link to the product page |
price | Price of the product |
stroke_price | Original price of the product (if discounted) |
discount_rate | Discount rate of the product |
Final Notes
- Ensure the email design adapts well to mobile and desktop views for an optimal user experience.
- Always test your email template with live data from the feed to verify that all fields are populated correctly.
- For additional guidance or troubleshooting, consult Brevo’s developer documentation or contact your Customer Success Manager (CSM).