Int filter broken? error casting to int

contacts

#1

Hey guys,

I’m trying to create an automated email that will be sent out with abandoned cart items.
That piece works just find and there is a macro to handle each item.

But. I’m having trouble checking how many items have been left. My understanding is that
the property contact.abandoned_cart_items should be a string, i have tried to convert it to an int
(contact.abandoned_cart_items | int)
which results in an error and i get 0. As a way around this i also tried to just check the string with
if contact.abandoned_cart_items is string_containing '1’
which also doesn’t seem to behave the way i would expect.

Am i just completely missing something?
Thanks in advance


Issue with HubL int filter and custom values