codedao12 - Message Debounce
AI-generatedSummary
Debounces incoming messages by grouping them under a key, resetting the wait timer when another matching message arrives, and outputting the batch after the configured wait time. Use Zalo mode for supported Zalo Trigger inputs or Generic mode to choose key and content paths for another trigger’s JSON.
Inputs
- Mode — Choose Zalo: Default Key (default) or Generic: Specify parameters.
- Wait Time (Seconds) (required) — How long to wait for another message before emitting the batch; the UI sets a range of 2–60 seconds. Defaults to 10.
- Max Batched Messages — Maximum messages to combine; the UI sets a range of 2–10. Defaults to 10.
- Separator — Text used between combined messages. Defaults to a newline.
- Ignore IsSelf — In Zalo mode, defaults to true and controls whether messages marked as sent by yourself are ignored.
- Extract Text From Photo/Video — In Zalo mode, defaults to false; when enabled, includes text from photos or videos when available. The property description says the output JSON has
data.content.titleset to an empty string. - Key Fields — In Generic mode, comma-separated input paths used to form the grouping key. Defaults to
type,threadId; for example,id,data.sender,data.uid. - Content Fields — Path to the text to combine. Defaults to
data.content; examples includetext,payload.text, andmessage.text. - Drop When Path is true (boolean) — In Generic mode, optionally name a path whose true value causes the input to be dropped without output. Defaults to empty.
Output shape
A JSON item containing the combined message batch and the full input structure, emitted after the wait period.
The UI notice says the wait resets when a new message arrives and that the full input structure is returned. Exact output fields and grouping behavior could not be verified because the supplied source pack contains only an abbreviated module signature, not the implementation.