Hi everyone! I’m using Botpress with the native WhatsApp Business integration provided by Botpress.
I need to detect when a human agent manually replies to the customer directly from the WhatsApp Business app, so I can automatically pause or stop the bot for that conversation.
The problem is that Botpress does not seem to detect the manual intervention. I cannot find any event, variable, webhook, or message metadata that tells me the outgoing message was sent manually from WhatsApp Business instead of being sent by the Botpress bot.
Has anyone implemented this successfully?
Specifically, I would like to know:
1. Is there an event in Botpress that detects messages sent manually from the WhatsApp Business app?
2. Can the native WhatsApp integration distinguish between bot messages and human agent messages?
3. Is there any message metadata, webhook payload, or conversation field I can use?
4. What is the recommended way to pause the bot after a manual intervention and reactivate it later?
To clarify, I am not using a third-party inbox or custom WhatsApp integration. I am using the native Botpress connection with the WhatsApp Business app.
Any example, workaround, or documentation would be very helpful. Thanks!