Skip to main content
Solved

"Any of the following" option instead of multiple "OR" statements?


Forum|alt.badge.img+3
  • Contributor III
  • 6 replies

I’m afraid I already know the answer, but is there any way (in creating segments and/or conditional splits in flows) to use “any of the following” instead of writing out an endless list of “OR” statements?

Example: our list is split into multiple regions (North America, Western Europe, Eastern Asia, etc.), and targeting several of the regions in a segment or conditional split is a really tedious process (selecting the properties option, selecting the relevant property, then selecting the right option).

Is there any alternative?

 

Best answer by stephen.trumble

Hey @Pkirby 

Thanks for coming back to the Klaviyo Community for help with your segment by regions. Happy to help!

When you are creating your segment for each group you can write a definition with a chain of regional variables by switching “equals” to “is in”. This will allow you to group each region into one statement instead of having to write multiple “OR” statements. Should look something like this: 

Hope this helps save you some time! Thanks again for being part of the Community!

View original
Did this topic or the replies in the thread help you find an answer to your question?

3 replies

stephen.trumble
Community Manager
Forum|alt.badge.img+60
  • Community Manager
  • 1518 replies
  • Answer
  • December 28, 2023

Hey @Pkirby 

Thanks for coming back to the Klaviyo Community for help with your segment by regions. Happy to help!

When you are creating your segment for each group you can write a definition with a chain of regional variables by switching “equals” to “is in”. This will allow you to group each region into one statement instead of having to write multiple “OR” statements. Should look something like this: 

Hope this helps save you some time! Thanks again for being part of the Community!


Forum|alt.badge.img+3
  • Author
  • Contributor III
  • 6 replies
  • December 28, 2023

@stephen.trumble thanks so much! I had somehow missed that option. You just saved me a lot of headaches.


stephen.trumble
Community Manager
Forum|alt.badge.img+60

Hey @Pkirby 

So glad I could help!