Overview
The Match & message to user node is a specialized chat node that provides conditional messaging based on input pattern matching. This node serves as an intelligent message selector that evaluates input text against configured patterns and displays corresponding messages to users in chatbot interfaces, enabling context-aware user communication.
The node processes input text through pattern-matching rules using either plain text or regular expressions, and automatically selects and displays the appropriate message when a match is found. If no patterns match, it displays a default message. This makes it essential for building responsive chatbots, automated help systems, and context-sensitive user interactions where the appropriate response depends on input content analysis.
Pattern Matching Rules
Patterns are interpreted as follows:
- JavaScript RegExp literal format (
/pattern/flags): Treated as regular expression with optional flags
- Plain text: Treated as exact string match
- Evaluation order: Patterns tested sequentially, first match wins
For regex syntax reference, see: MDN Regular Expressions Guide
Node Specification
Core Properties
| Property |
Value |
| Node Type |
Conditional messaging |
| Category |
Chat |
Parameters
| Parameter |
Type |
Options |
Default |
Required |
Description |
| Match specifications |
Match configuration |
Pattern-message pairs |
— |
Yes |
Configure patterns and corresponding user messages |
Input Ports
| Port |
Type |
Accepts |
Required |
Description |
| Input |
Text |
Text |
Yes |
Text input to match against configured patterns |
Output Ports
| Port |
Type |
Description |
| User message |
Text |
Selected message based on matching pattern |
Process Flow Exits
| Exit |
Condition |
Description |
| Main exit |
On completion |
Continues process flow after message display |