Question

How to use property values in conditions

  • 20 November 2023
  • 1 reply
  • 63 views

Is there a way to use a profile/customer attribute value in a condition for an event property and vice-versa?

Imagine an event named “Product added to wishlist” with an attribute such as

{“product_category”: “hats”}

How can I use the value (“hats”) to compare it against an array attribute of the customer in segment conditions or workflow True/False branch logic modules?

Assume the customer has a a property of 

“most_favored_product_category” : “gloves”

So far I wasn’t able to use liquid to do so, but any help would be welcome. 


1 reply

Userlevel 3

Hi @Christos,

 

The only way I could think of is to use the following condition below for T/F branch:

 

or

 

However, I’m afraid it’s not possible to compare event attributes against an array attribute of the customer in segment conditions at the moment. 

I hope this is the answer you’re looking for. 

Best,

Mau

Reply