Message Length
Runs on: Frontend (Chatbox). Chatbox Flow Editor only.
Outputs the character count of the message text, spaces and punctuation included. Connect count to a Math check to branch on length.
Inputs
| Name | Type | Description |
|---|---|---|
message | chat-message | The chat message object from the Chat Message trigger or an upstream check node. |
Outputs
| Name | Type | Description |
|---|---|---|
count | number | The number of characters in the message text. |
Example
Connect count to a Math check set to "less than 4" and route Pass (messages like "lol" or "gg") to a compact single-line variant.