https://discord.gg/botpress logo
Chatbot V2 userData not working.
# 🤝help
a
Hello, I need to know the user's platform in order to set up a different chatbot behaviour according to the platform. With Chatbot V1, it was really easy. I simply needed to pass userData to window.botpressWebChat.init() With Chatbot V2, passing userData simply does nothing. I tried to understand the "*Webchat embed userData example*" from Botpress's site but I simply do not understand how to retrieve the data edited with botpress.updateUser()
b
Hi...quick question, for V1, is it working today for you? because for me, is not. Sending userdata with V1, as I always did, {{event.userId}} is empty
Update: today, without doing any changes on my side, userData started to work....clearly, something happening on the Botpress platform, that is not showing in status.botpress.com
a
userData started to work in V2 or V1 ?
b
V1
b
@bumpy-butcher-41910 userData in V2
2 Views