Hi,
I want to create a flow based on an event called “Preorder”, for example:
{
"token" : "xxxx",
"event" : "Preorder",
"customer_properties" : {
"$email" : "email@gmail.com"
},
"properties" : {
"OrderId" : "12345",
"PaymentLink" : "https://gmail.com/"
}
}
I want to exclude customers from receiving following emails in this flow if the customer profile had a property called PaidOrders and this property contains the order ID coming from the trigger event:
PaidOrders: ["12345", "abcdef"]
This is how my flow look like:

The conditional split setup:

You see now that my problem is how can I reference an event properties value (OrderId) in the conditional split config
I always get the No branch email, What am I doing wrong?
This is a screenshot of the customer profile properties:

Help please?
Best answer by caroline
Hi
Unfortunately, you cannot reference a dynamic variable/use Django syntax within the logic of a conditional split. You can only look for a static value (e.g. contains “123”, not contains {{event.orderID}}).
Best,
Caroline