Passing in [user] variables from host application
# 🤝help
s
Using BotPress Cloud, integrating Webchat via SDK the docs suggest this is possible: window.botpressWebChat.init({ userData: { name: 'Jack Black', }, }) Even after setting up a
Get User Data
card and mapping it with {{ event.userId }}, I am unable to use 'name' like {{ user.name }} or @user.name in the cards (renders blank). What steps should be taken to map input variables to BP variables? It is possible or advised to update user variables over the API to botpress cloud instead? If so, how?
f
Did you figure it out @some-ambulance-86918 ?
I want to do something similar
g
@some-ambulance-86918 did you resolve this? Even I have a similar case.
3 Views