Word & Phrase Matching
For New Message triggers, words or phrases are matched using the following logic:
- If an exact match for the the word or phrase (ignoring case and common punctuation) is found within the message that is sent to the bot, it's considered a match. For example, if the trigger matches on "cats" and the message is "i like cats", that is a match.
- Otherwise, the word or full phrase is compared against the full message for approximate similarity. For example, if the trigger matches on "i like cats" and the message is "i like a cat", there's a match.
So it's usually better to provide several longer phrases if you need to match on more subtle variations of a theme, and use single words carefully for very broad (but greedy!) matching.