Follow these steps to build an Omnichannel experience with a Product Recommendations action. The Engine API responds with an array of product details.
The requesting application is responsible for creating the container or carousel and all desired styling for the product recommendations.
- Create an Omnichannel experience, and then configure the WHY and WHO settings.
- Click WHAT and then click ADD ACTION.
- Click Product Recommendations.
- Select the recommendations template that you want to use.
- Select from Product Recommendation the recommendation strategy or slotted recommendation that you want the action to use.
- Select from Primary Fallback the recommendation strategy that you want used first to supplement the recommendation strategy or slotted recommendation that you selected in the previous step if it can't display enough recommended products to meet the minimum.
- Select from Secondary Fallback the recommendation strategy that you want used if your selections in steps 5 and 6 can't display enough recommended products to meet the minimum.
- Enter the minimum number of products the primary recommendation strategy must display before the action triggers the primary fallback recommendation strategy.
- Enter the maximum number of products to include in the recommendations results.
- Enter into Pinned products the
id
attribute value for each product that you want to always appear at the beginning of the recommendations. - Select a product catalog attribute on which duplicate recommended products are removed from the results.
- Enter the identifier for the recommendations results.
- Click ADD CONDITION, select an attribute category, and then select and configure an option to set any conditions that must be met for the action to fire. See Action Conditions for more information.
- Click CREATE.
When you configure the Engine API request, ensure that you include any relevant context in the request. See Omnichannel Recommendations Action Requests in the Monetate Developer Hub for more information.
Using Product Catalog Custom Fields in the Action
You can use custom fields (for example, star ratings) from a product catalog in an Omnichannel recommendations action.
Any custom field that you use in the action must also appear in the product catalog configured as part of the recommendation strategy that you selected for the action.