HI @mg6 It seems you have "recommendedProducts" populated with the product-id values for each recipient record, so you get that in the foreach.So I would suggest, instead of using JS directly, to add an Enrichment to your target to add product info.Then using a group-by you should be able to get pro...