Skip to main content

Send up-to-date product recommendations with product feeds

❗️ Important
This feature is only accessible to our Enterprise users using API or with an updated Shopify, WooCommerce (v4.0.0), or PrestaShop (v5.0.0) plugin at the moment. We will progressively launch it for other plugins.

A product data feed is a dynamic list of the products available in your online store that is generated according to chosen criteria. It includes details on your products such as name, description, prices, images, and availability. A well-organized product data feed showcases your products effectively, and guarantees consistent and accurate product information across all channels, building trust with customers and reducing returns.

ecommerce_product-feed-example_EN-US.png The Product feeds dashboard allows you to easily create those dynamic product data feeds to display your best-selling products. For example, you can create a product data feed featuring the best-selling yoga mats in the last 7 days and integrate it into your email campaigns. When sending your email campaign, your product feed is automatically updated, always displaying the list of best-selling products based on your preselected criteria ensuring customers receive accurate and up-to-date details, including price changes.

Before you start 

  • All the products and categories from your eCommerce website are retrieved. If you want to display products from a specific category, ensure your categories/collections are up-to-date on your eCommerce website. 
  • Contact your Customer Success Manager (CSM) to enable the Developer mode if you use the Drag & Drop Editor. Else, use the HTML editor to create your email. 
  • Create the email template in which you want to add a product feed. To learn more, check our dedicated article Create an email template

Step 1: Create your product feed 

In this use case, we want to create a product feed with our 3 best-selling yoga mats from the past 3 months. We want to display this feed to beginners. 

  1. Go to E-commerce > Product feeds and click Create new feed
  2. Enter a name for your product feed that will help you find it easily in the list. This name will only be visible to you. You cannot include spaces in the name.
    For this use case, Top_Yoga_Mats_Beginners_3-months
  3. From the Period drop-down list, choose the period over which you want to retrieve sales data to display the best-selling products.
    For this use case, we want to display the most-selling yoga mats from the last 3 months
  4. Optional: Limit products by category. Choose if you want to include or exclude the products in specific categories. You can choose as many categories as needed. The categories are automatically retrieved from your eCommerce website.
    For this use case, we want to include only the products from the Yoga mats category. 
  5. Optional: Limit products by price. Choose if you want to display only products with a price higher or lower than a specific price.
    For this use case, we want to display only yoga mats with a price lower than 50€ as beginners rarely spend a lot of money on equipment. 
  6. Check your product feed preview.
    product feed.png
  7. Click Exclude next to a product name to remove it from the product feed. You can also go to the Exclude Products tab and click Find products to exclude to access the list of products present in your feed and search for the ones to exclude. 
    For this use case, we want to remove yoga mats that are too thick and unsuitable for beginners. 
  8. Click Create.

Congratulations! 🎉 Your product feed is created. It will automatically update according to your actual sales to always display your most-selling products. Use your product feed in your email campaigns to send a best-selling yoga mats newsletter for beginners, for example. 

Step 2: Use your product feed in your email

1️⃣ Connect your product feed to your email

Create an email campaign or template and access the Design step. Depending on the design tool you chose, the steps and syntax to connect your product feed to your email template are different: 

Drag & Drop Editor HTML editor
  1. From the Drag & Drop Editor, click more-action-icon.png Developer mode to open the code editor.
  2. Copy the following placeholder and paste it after the subject line:
       name: variablearray
       source: feedname
  3. In this placeholder, replace:
    • variablearray with a name for your array that will later give you access to your variables in the email design, here we will call it mat
    • feedname with your product feed name, here Top_Yoga_Mats_Beginners_3-months.
      ❗️ Important
      Be careful to write the feedname exactly how it appears in your product feed setup as it is case-sensitive. For example, if your feed name is top-yoga-mats and you write Top-Yoga-Mats, the connection between your email template and your product feed will fail. 
  4. Close the developer mode by clicking the close X icon.

2️⃣ Access the product feed in your email

Your product feed is set up and connected to your email template. It is now time to access the data contained in your product feed to display it. Each data will be called separately with variables according to the information you want to display.

Depending on the design tool you chose when creating your email, the steps and syntax to access your product feed are different: 

Drag & Drop Editor HTML editor
  1. From the Drag & Drop Editor, insert a content block where you want to display your data. 
  2. Copy the following placeholder:
    {{ product.variable }}
  3. In your content block, paste the placeholder for each data you want to retrieve from your product feed. Leave product as is and replace variable with the variable name in the product feed that contains the data you want to retrieve. For example, if you want to retrieve the name of your products in the product feed, replace variable with name.
    Drag & Drop Editor Email preview
    ecommerce_dee-tempalte_EN-US.png ecommerce_dde-editor-example-preview_EN-US.png
  4. To retrieve an image, click the image icon and paste the placeholder in the Insert image from URL field, here:
    {{ product.imageUrl }}
  5. To add a link to a button, insert a button block and click Add a link. Choose Absolute link (URL) and paste the placeholder in the Link target field, here:
    {{ product.url }}
  6. To display the same content block multiple times to show, for example, the top 3 sold yoga mats on your website, use the repeat block feature:
    1. Click the section containing the content you want to repeat and click more-action-icon.png > Repeat.
    2. In the Data type drop-down, select External feed.
    3. In the Repeat for field, enter mat.products with mat being your variable array defined in the developer mode, and products being the Brevo product feed variable.
    4. In the Variable alias field, enter product which is the name of the variable alias in the Brevo product feed.
    5. In the Limit (Optional) field, enter the number of products from the product feed you want to display. Here we want to display the top 3 yoga mats in our case, so we enter 3.
    6. Click Add loop
  7. Once you are done designing your email template, click Save & Quit

3️⃣ Test your email 

To ensure that your email content will display correctly in your recipients' inboxes, we highly recommend testing your email template. The best way to test an email template with product feed data is to send a test email. To learn more, check our dedicated article Preview and test your email campaign.

⏭️ What's next? 

🤔 Have a question?

If you have a question, feel free to contact our support team by creating a ticket from your account. If you don't have an account yet, you can contact us here.

💬 Was this article helpful?

1 out of 1 found this helpful