Forum Discussion
Personalization with Liquid using purchase events on order level
Hi elena14 apologies if I misread, but my understanding of your original post (I probably just assumed!) was that you wanted to capture the product name for liquid personalization, for which you'd use the schema I suggested:
{{purchases[0].properties.products[0].name}}
If this is for trigger criteria, then I think you could simply try:
properties.name
(also try "is" vs "equals" vs "matches regex" if you have different logic options available)
To be honest I haven't worked with order level purchase events, and this might require some trial and error.
To your point that event property schemas cannot be generated for purchase events - this is definitely confusing in the documentation, but you can definitely trigger campaigns off purchase properties. When Braze mentions that "Event property schemas cannot be generated for purchase events," it means that the specific structure of data for purchase events is fixed and cannot be dynamically generated or altered based on past data, unlike custom events where schemas can adapt based on the data received over the past 24 hours. Essentially, the schema for purchase events is predetermined and not subject to change based on incoming data.
Hope that finally works!
Related Content
- 6 months ago