COMMUNITY
Overwrite Attribute Values
about 4 years ago by Luis Sanabria
Hi, on one of my bots I ask the user to provide his/her name and email in order to add the info to our mailing list. The issue i'm seeing is that, since the attributes are persistent once set, if I ask for the info to the user again, I cannot set new values on the attributes. They always return the initial values set on them.
What command can I use to clear the attributes values or overwrite them with the latests values the user provides?
My bot does the following:
- Ask the user for the name
- Ask the user for the email
- Set the attributes user_name and user_email with the values provided using the [responseTo interaction=#### fallback=0]
- Using Automation, send the values to a google spreadsheet
Issue is that the values sent to the spreadsheet are always the same even though the user comes back and give another name or email.