Unhandled interactive type: "nfm_reply" - whatsapp...
# 🤝help
s
Thanks to the BotPress community! Have recently started using BotPress and the feature set is awesome! Am trying to build a bot for Whatsapp channel. For normal messages it works fine, but while using FLOW am getting this error - "Unhandled interactive type". Is there a way the event type can be changed to text or supported interactive type as a workaround? I just need the string json with user input.
l
Botpress does not handle nfm_reply
s
Is there a way to get the event in bot engine and handle it using execute code?
l
Yes there always is, build a wrapper webhook
s
Thanks @limited-pencil-78283 .
e
@User, could you give more details about this webhook wrapper? I tried implementing it with no success
l
This webhook will replace the webhook provided by Botpress WA Integration in your META Developer Account and sit in between META and Botpress, you need to interpret messages received from META over this webhook and decide whether you should just send it to Botpress without any wrapping or wrap the message and send it to Webhook from Botpress that will receive this as a trigger. I also use this to do analytics of messages sent, billing my customers, etc. I also provide this webhook as a service, you can message dm me if interested