Help: Split based on... Contains any of? [Studio]

Hello,

In Studio, I'm trying to figure out how to match on a split based on a "contains any of" (think a SQL ilike '% %').


So if I have the body of the previous message

Your cart contains apples and bananas.


I want my split to match for

Contains any of

kiwi, watermelon, apples


The execution would then see apples in the body and give a positive match.

"Matches any of" doesn't work because it's looking at the whole body of the previous message, and contains doesn't work because it's looking for the full string (kiwi, watermelon, apples). I know "contains any of" isn't a supported operator, but I'm hoping there's a way to hack it?

Answers

If this is an emergency, please contact Twilio Support. This is not an official Support channel. https://support.twilio.com/
Have an urgent question?
Please contact Twilio Support. This is not an official Support channel.
Contact Support