Identifying parts of a word

(Joel Stuckey) #1

Hi all,

I have a very specific question. I would like to create a trigger that identifies when a word has, for example, all five vowels. Can someone help me with how to structure this trigger? These vowels can be in any order and have multiple, but the important part is that there is a least one of each vowel within the same word.

Thanks
Jumbuck

(Daniel Beckett) #2

On filters for a trigger / action you can add a check for ‘Value Contains X’ that could be used for this.

For example, you could have a catch-all trigger setup that has filters for:
{{catchall.message}}
Contains
a

OR

{{catchall.message}}
Contains
e

If you want to check for every vowel being used then the same method would be used but you’d want to use ‘AND’ instead of ‘OR’.

Hope that helps! Please let me know if you have any questions. :slightly_smiling_face:

Thanks,
Dan