Text
Text matcher uses NLP (natural language processing) and similarity calculations. Incoming message and matcher text must be 55% similar to each other. Texts before matching will be converted to lowercase.
Example:
Match | Not match | |
Defined input | what is price | what is price |
User input | what price | price |
Configuration
- Select matcher type as "Text".
- Enter text to match.
Equals to
Matcher compares two texts, given one and user input. Both texts must be same. Texts before matching will be converted to lowercase.
Example
Match | Not match | |
Defined input | what is price | what is price |
User input | what is price | tell me price |
Configuration
- Select matcher type as "Equals to".
- Enter text to match.
All
Matcher will match every user message.
Configuration
- Select matcher type as "All".
- Indicates that all input will be matched.
Keywords
Match defined keywords against user input. Can match any (OR) or all (AND) defined keywords. Texts before matching will be converted to lowercase.
Example
Match | Not match | |
Defined keywords | what, price / ANY | what, price / ALL |
User input | tell me price | tell me price |
Configuration
- Select matcher type as "Keywords".
- Select keywords matching type
- any (OR) - matches any of defined keywords.
- all (AND) - matches all of defined keywords.
- Keyword to match.
- Button to delete selected keyword.
- Button to add new keyword.
Callback
Compare user input in an external website / API. Response must be returned as JSON string with status indicator.
Example
Match | Not match | |
Response from API | {"success":true} | {"success":false} |
Configuration
- Select matcher type as "Callback".
- URL that will be called when matching text.
RegEx
Compare user input with a given regular expression pattern.
Example
Match | Not match | |
Defined pattern | /(message [1-9])/i | /(message [1-9])/i |
User input | message 2 | message abc 1 |
Configuration
- Select matcher type as "RegEx".
- Regular expression to validate text against.
Send to messenger
Render "Send to messenger" plugin provided by Facebook. After user clicks Facebook button trigger specified responses. Read more about plugin.
Configuration
- Select matcher type as "Send To Messenger".
- Messenger APP ID to be used when configuring plugin.
- Page ID to be used when configuring plugin.
- REF parameter to be used when configuring plugin.