I have an AJO journey use case where i need to send an email to a customer based on number of products they have shown in which came back in stock (max. 5 products). I have two different schemas A and B. In schema A, i have an attribute called sku (String datatype and an array). Schema A is Event schema and has email id as primary identity. In schema B, I have an attribute called product_number (primary identity) which is same as SKU, but the only difference is sku holds product numbers of the products that a particular user has shown interest in and are now back in stock, whereas product_number is a string datatype(not an array) and holds product numbers of all the products. Schema B is a lookup custom class schema.
In email, i need to call back in stock block (already have HTML code for it). An email can have maximum of 5 back in stock blocks. If a person shows interest in 1 product, 1 back in stock block will be present, if he shows interest in 2 products, 2 back in stock blocks will be present. How can I map SKU from schema A to product_number from Schema B. I need to search SKU in product_number and fetch product_image_URL from schema B in email editor. Can I do that without making a derived dataset with calculated attribute or making any changes in the existing schema? If not, what is the best practice to have least CDP modifications.
Thanks!