Can Waha group multiple quick successive messages into a single webhook event? #1019
vandyahmad24
started this conversation in
General
Replies: 1 comment 1 reply
-
|
Hi! For now I'd suggest receiving the webhook in your app, put the payload to some queue (even in database) and process it later on your app side. We'll think about that, have some work planned for webhoooks, may be we'll add debounce here as well! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, thank you for this great tool!
I have a question regarding how Waha handles multiple messages sent by a user in very quick succession (e.g., within 1 second).
For example, if a user sends the following messages rapidly:
Ok (18.00)
How much this product? (18.00)
Currently, Waha sends two separate webhook events, one for each message.
However, for my use case, I would prefer to receive a single webhook event that combines both messages into one, like:
Ok
How much this product?
Is there any built-in debounce or grouping logic in Waha that can support this behavior, or is there a recommended way to achieve this?
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions