# How can we help?

## Search

## Overview

The Cordial Edge Product Recommendations model looks at a customer's website and message interaction to recommend up to twenty-five products that are likely to catch their interest. Available as a contact attribute, you can use this predictive feature for dynamic message content, fostering more personalized and memorable interactions.

### Pulling a Product Recommendations Block into a message

Short Product Recs Video

Click for sound

> **Use cases**  
> - Create more personalized customer experiences across channels to improve loyalty and lifetime value.  
> - Boost click-through rates and conversions by showing customers products they're most likely to engage with.  
> - Leverage Product Recommendations in retargeting campaigns to re-engage customers with products they're likely interested in.

## Use Product Recommendations

Product Recommendations is an array of strings: `crdl_ai_product_recommendations`

- You can [build dynamic Product Recommendations into your Sculpt and HTML messages](https://support.cordial.com/hc/en-us/articles/31451921894029-Product-Recommendations#CreateProductRecsMessage).  
- You can [view Product Recommendations in each contact's Contact Profile](https://support.cordial.com/hc/en-us/articles/31451921894029-Product-Recommendations#ProductRecsContactProfile).

Product Recommendation values will appear as product ID numbers. Product Recommendations data is refreshed on a daily basis via Data Job.

Relevant message or site interaction data from the past seven days is required for Product Recommendations to function.

## Create messages with Product Recommendations

You can use Product Recommendations in Sculpt and HTML messages to load dynamic content that's personalized for each customer.

1. You first need to build a data query that will pull in Product Recommendations. There are two ways you can go about setting that up:

- #### Query Product Recommendations data in a loop

```
{foreach $contact.crdl_ai_product_recommendations as $ai_rec}
{$products.query.productID = $ai_rec}
{$products.limit = 1}
{$products.sort = []}
{$products.cacheMinutes = 20}
{$products.data = $utils-getProducts($products.query, $products.limit, $products.sort, $products.cacheMinutes)}
{/foreach}
```

- #### Query Product Recommendations data as an array

```
{$products.query.productID.in = $contact.crdl_ai_product_recommendations}
```

2. You can then use the Product Recommendations query when building a [Sculpt](https://support.cordial.com/hc/en-us/articles/360002634012) or [HTML message](https://support.cordial.com/hc/en-us/articles/115005531308).

## View Product Recommendations for a contact

1. To view Product Recommendations for an individual contact, navigate to **Contacts > Contact Profile** and select the contact.

2. Click the **Attributes** tab and locate the Cordial AI Product Recommendations attribute.
