Hello,
Iām currently using the Autonomous mode in Botpress for my Instagram integration, and Iāve encountered a problem where the bot responds immediately to multiple incoming messages instead of waiting and batching them.
Hereās the behavior I expect:
If a user sends multiple messages (e.g., "Hi", then "Hi" again within 30 seconds), the bot should wait 30 seconds before replying once, using all received messages in the context.
Hereās what is actually happening:
The bot responds immediately to each message, sometimes within 6ā7 seconds.
I tried creating a custom hook with logic to delay or skip processing if the last message was recent, but it didnāt work reliably.
I also couldnāt insert custom code inside the Autonomous1 node directly.
Even after trying the "Buffering Messages and Delaying Response" card or setting delays, the bot still replies twice or more instead of once.
My goal is:
To delay the response for 30 seconds from the last incoming message, and then respond only once using the collected inputs.
Can you please guide me on how to properly handle this in Autonomous mode? Or is there a recommended pattern for message buffering and throttling that works reliably in this scenario?