Providing userData variables in the emulator
# 🤝help
b
Hey there! I'm building a bot that relies on data being passed in from webchat using the userData feature in order to understand the user's context. I'd love to still be able to test and debug it using the emulator in Studio- is there a way to set those variables in Studio somewhere so that it behaves like it does in the webchat?
f
Hey there, I usually just add a node with an execute code card to set the variables, so when I am testing it in the emulator I start with that node. Hope that makes sense 🙂
b
Yep, that makes sense.