https://discord.gg/botpress logo
hey guys i want to send custom user data such as u...
# 💻developers
g
hey guys i want to send custom user data such as user name from my website to the bot, I am using webchat v2.2. I tried sending userData payload to the bot , but i am not able to access it using the execute card . I tried using chatgpt but it show to use botpresswebchat.Init function which seems to be function of webchat v1. Could anyone just send me a sample js code to send custom userdata such as username and access it in botpress studio using execute code and save it workflow variable. It would be a great help!!