Overview
The Match & prompt buttons node is a specialized chat node that creates interactive prompt buttons based on input pattern matching. This node serves as an intelligent interface generator that evaluates input text against configured patterns and dynamically creates contextual prompt buttons for users, enabling adaptive chatbot interfaces that respond to conversation context.
The node processes input text through pattern-matching rules using either plain text or regular expressions, and generates interactive buttons with predefined labels and prompt texts when patterns match. Users can click these buttons to send the associated prompt text, or continue typing their own input. This makes it essential for building guided conversation flows, contextual help systems, and adaptive user interfaces where relevant options depend on conversation content.
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 |
Interactive button generation |
| Category |
Chat |
Parameters
| Parameter |
Type |
Options |
Default |
Required |
Description |
| Match specifications |
Match configuration |
Pattern-button pairs |
— |
Yes |
Configure patterns and corresponding prompt buttons |
Input Ports
| Port |
Type |
Accepts |
Required |
Description |
| Input |
Text |
Text |
Yes |
Text input to match against configured patterns |
Output Ports
| Port |
Type |
Description |
| Prompt buttons |
Prompt Buttons |
Generated interactive buttons for chatbot interface |
Process Flow Exits
| Exit |
Condition |
Description |
| Main exit |
On completion |
Continues process flow after button generation |