Learn how to use your custom catalog feed data in Klaviyo to leverage product feeds and enhance your emails. Product feeds are a type of data feed that can pull information from your custom catalog to display product recommendations in your emails. This feature can be used in flow or campaign emails via the drag-and-drop product block.
Product blocks do not support any custom HTML. If you want to custom code your product block, you'll need to build one manually using the Source option of a text block.
Create a Product Feed
Once your custom catalog sync setup has been finalized, you will be able to use the product feeds feature and add product blocks in your emails.
First, you will need to create a product feed using the custom catalog feed data. Follow the steps outlined in Create a Product Feed.
For the Metric field, select the list item with a gear icon, followed by the metric you selected for personalized recommendations when you set up your custom catalog sync. The image below shows an “API: Ordered Product” feed.
Using a Product Block
Once you’ve set up a product feed using the custom catalog items, you can then follow the instructions in How to Insert a Product Block to start using product blocks in your emails.
Using the Catalog Lookup Tag
Catalog lookup tags allow you to reference specific product information from your catalog within your emails using an item’s unique ID ($id). This is useful when you want to create custom product recommendations or cross-reference product information.
For example, if you're using your own product recommendation engine, you can add recommended products to a person’s profile by passing a list of product IDs as a custom profile property (i.e., ["a123","b456","c789"]). Then, you can iterate through that list and perform a catalog lookup on each ID to pull in the information about the product to add to an email. To learn more, checkout our Overview of the Catalog Lookup Tag guide.
Tracking Variant Items
If your catalog items have variants that you want to appear in email recommendations, you will need to track each variant as a separate item in the feed using either the variant ID of that item or some unique combination of the parent and variant ID. There is currently no way to set up related or variant items in Klaviyo in a traditional parent-child model. Thus, each item must be accessed separately and have a unique ID.
If you want a variant to appear in a dynamic product recommendation, we recommend that you include it in the catalog feed. Make sure the metric you select for product recommendations in the product feed setup passes the variant IDs you use as a property on that metric (see How to Use Product Feeds and Recommendations).