workflow.response in excute code block not working
# 🤝help
l
I have simplified my code down to the basics for testing const message = "hello" workflow.response = message console.log (message) i can see the hello in console but not the chat window. it didn't print out my hello message. I tried it with JSON const messages = { text: "hello" } workflow.response = message.text also didn't work out. Anything I'm doing wrong?
a
@little-scientist-91622 you need to put your variable in a text card to make the bot say it / send it to the user. So if we define workflow.response in the execute code card, we can send it to the user like this

https://cdn.discordapp.com/attachments/1138013438820491314/1138069327455715510/image.png

l
Got it!
4 Views