T
Typebot16mo ago
Stergios

Ask Assistant

Quick question about the new Ask Assistant functionality: has anyone tried to use some JS code for a function? In the Code section of a Function, can we somehow set the value of a Typebot variable? Many thanks in advance.
No description
7 Replies
Baptiste
Baptiste16mo ago
Still not possible but I’ve found a way to enable this Will deploy it on Monday
Stergios
StergiosOP16mo ago
Awesome, many thanks for the quick response.
Baptiste
Baptiste16mo ago
I just deployed the setVariable function (https://docs.typebot.io/editor/blocks/logic/script#setvariable-function) Let me know if that works 🙂 ping @Vilela
Stergios
StergiosOP16mo ago
Thank you! 🙏🏻 Will try a.s.a.p
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Baptiste
Baptiste16mo ago
You maybe changed your ENCRYPTION_SECRET ? Try to create a new credential. Create a new Discord thread if it persists
Stergios
StergiosOP16mo ago
@Baptiste feedback: the setVariable works like charm! really helpful 🙂

Did you find this page helpful?