Back to All

How to overwrite custom variable?

I'm trying to overwrite a custom variable, but it's not working. Here's the intended use case:

  1. The bot asks the user for a message and stores their response in a custom variable "message".
  2. The bot asks the user if they want to send the message. If the user chooses "No", the bot lets them write a new message and overwrites "message" to store their response.

The user should be able to continue rewriting their message as many times as they like. I've managed to store the first response in "message", but when I try to overwrite "message" I just get the fallback every time.

How can I fix this?