https://discord.gg/botpress logo
WhatsApp Coexistence – Automatic Bot Pause on Huma...
# 🤝help
n
Hi Botpress team! I'm building an AI sales assistant using Botpress Vibe, and I need to connect it to my existing WhatsApp Business number through Coexistence. My main requirement is: When I manually reply to a customer from my WhatsApp Business mobile app (Android), Botpress must automatically detect my message and pause the AI bot for that specific customer only, while continuing to serve other customers. I've seen the "Message Echo Received" trigger, but its payload appears to be empty. Could you please confirm: 1. Does the official Botpress WhatsApp integration support WhatsApp Business App Coexistence? 2. Can Botpress identify which customer sent or received the message associated with a Message Echo Received event? 3. Is automatic per-conversation bot pausing possible when I reply from the WhatsApp Business mobile app? 4. If custom development is required, what is the recommended implementation? 5. Can I manually resume the bot for that customer afterward? Keeping my existing WhatsApp Business app, number, chats, and catalog is essential for my business. I need to confirm this before connecting my business number. Thank you!
n
Yes, this is achievable, but it requires custom webhook handling. Meta Coexistence supports message echoes containing the customer's phone number and message details. However, Botpress's official integration documentation doesn't explicitly confirm full Coexistence support. I can help build a custom webhook that detects your manual replies, pauses the AI for that specific customer, keeps other conversations active, and allows manual resumption without losing your existing WhatsApp Business setup. @nice-waiter-54610
n
Hi Praise! Thank you for your response. This is exactly the functionality I'm looking for. Before considering a custom implementation, could you please clarify whether this can be achieved using Botpress's official WhatsApp integration with Coexistence, or whether it requires replacing the native integration with a custom one? Also, is there any official documentation or a working example demonstrating this solution? My priority is keeping my existing WhatsApp Business mobile app, number, chats, and catalog without risking my current setup. Thank you!
w
@nice-waiter-54610 you can't do that natively, because it would interfere with the bot But you can use a HITL system (Botpress desk, official integration with the new workspaces)
so from botpress desk you would see every conversation , without losing access to your whatsapp business, and woul dbe able to interrupt the bot when needed and send messages in place of it
n
Hi 000Bo! Thank you for your explanation. I understand that Botpress Desk allows human handoff, but my requirement is slightly different. I need to continue replying directly from my existing WhatsApp Business mobile app, not from Botpress Desk. When I send a manual message from WhatsApp Business, I need the AI to automatically pause for that specific customer. Another community member suggested that this might be possible using custom webhook handling and Meta's message echo events. Do you know if this approach is technically feasible with Botpress, even if it requires a custom integration? Thank you for your help!
l
That is technically not possible since your coexistence account is wired in parallel and not in serial - so both botpress and your WhatsApp business application on your phone both get the data in parallel, so how will botpress know you will be responding and it should shut up - whichever system you use this is not possible
w
in that case @limited-pencil-78283 is right 🙂
c
hitlchat.io does exactly this with Botpress. You reply from your WhatsApp Business mobile app as normal and on your first manual reply the bot will be paused. When you’re done you can send a resume keyword (you set this up in hitlchat) and the bot picks the conversation back up. No custom webhook or Message Echo handling needed
n
Hi Botman! Thank you for sharing this solution. I noticed an important difference between your two replies. In one message, you mentioned that the bot automatically pauses when I send my first manual reply from the WhatsApp Business mobile app. In this message, you explain that I need to send a specific pause keyword. Could you please clarify whether HitlChat can automatically pause the bot when I send ANY manual message, without using a special keyword? Also, does this work with official WhatsApp Business App Coexistence, or only through a QR code connection? These two details are essential for my business. Thank you!
8 Views