Message buffer to group messages before triggering flows
Willy Jauregui Vera
Currently, each incoming message triggers the flow. This creates two main issues: Conversations feel unnatural when users send multiple consecutive short messages.
Unnecessary token and resource consumption when using AI assistants.
Feature Request:
Add a native buffer component that: Groups user messages based on either a configurable time window or a configurable number of messages.
Only after the condition is met (time or message count), the flow is triggered with the aggregated messages.
Configuration options:
- Time-based mode: e.g., wait 5 seconds before sending the batch of messages into the flow.
- Count-based mode: e.g., group 3 messages before triggering the flow.
Value:
- Keeps conversations more natural without interrupting the user.
- Optimizes token usage for assistants.
- Mitigates risks of fragmented or consecutive user input.
Example:
User sends:
“Hi”
“I need help”
“With my order #123”
→ Instead of triggering three separate flows, the buffer would send one combined message:
“Hi. I need help. With my order #123.”
Log In