The task
Send customers who haven’t bought anything in a while a set of popular new arrivals from their favorite category.How to build the parameter
- To reach the customer profile, start with the base
Recipientparameter. - Open the list of custom and computed fields with the
CustomFieldparameter. - Pick the computed field you need. You get a parameter like
Recipient.CustomField.<Computed field>.
Recommendations parameter to open the list of recommendation presets available for a category, and pick the one you need. You get a parameter like Recipient.CustomField.<Computed field>.Recommendations.<Preset>.Take(<Number of collection items>).
Every field of the recommended products is available to output.
The parameter you’ve built is a collection, so to reach the products in it, use a for...end for loop.