Follow

How does Conducttr process matchwords?

Here are a few things you need to know about matchwords:

  • Conducttr matches on whole words and phrases. That means love does not match on lover
  • They are case independent. That means love = LOVE = lOvE
  • Common punctuation (such as: ?"'.,) is ignored. That means "love?" = love
  • Uncommon punctuation (such as #@$) is treated as a symbol. That means #love does not match love
  • You can use special logical operators && and || and ! to check of matchword combinations in the same incoming message (see the next section below).

The following table illustrates this further:

Matchword

Text Received

Expected Result

I'm helping

I'm helping Lauren

MATCH

I'm helping

Help

X

I'm helping

im helping

X

I'm helping

I'M HELPING

MATCH

I'm helping

Helping

X

I'm helping

I'm

X

I'm helping

i'M hELpiNg

MATCH

I'm helping

I'm helping tony

MATCH

I'm helping

Hey Jen, I'm helping Lauren

MATCH

Help

HELP

MATCH

Help

I'm helping

X

Help

help me

MATCH

Help

help Lauren

MATCH

Help

please help me

MATCH

Help

Hey Jen, I'm helping Lauren

X

Help

HELP

MATCH

Help

why won't YOU help me?

MATCH

Help

Help?

MATCH

Help

Help!

MATCH

Help

"help"

MATCH

Help

'help'

MATCH

Help

help'n

X

Help

@help

X

Help

help$

X

Advanced Matchwords - using Logical operators

There are times when you may want to be a little smarter in your use of matchwords and search the incoming message for a combination of phrases/words.

Conducttr provides for two "logical operators" that can be used within the matchword field:

  • &&  - the double ampersand performs an AND operation on two words . For example "Professor Plum && Lead Pipe" would match true on the phrase "it was professor plum in the study with the lead pipe". Notably it would also match true is the phrases were reversed such as "the lead pipe was used by Professor Plum".  
  • || - the double pipes performs an OR operation on two words. For example "center || centre". 
  • ! - Exclamation mark right at the beginning of a word means BUT NOT. It will make the trigger to fire if it does not include the word after the exlamation mark. 

You can combine the use of all of them using parenthesis (). For example

(cat || kitten || kitty || cats) && (small || baby || little) && !(dog || dogs)

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments