Log in
Log into community
Share feedback, ideas and get community help
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Inactive
Updated 12 months ago
0
Follow
Output a variable with the script block
Output a variable with the script block
Inactive
0
Follow
E
EpicFace
12 months ago
Β·
Is it possible to have a script in the script block to generate a variable as an output?
Also... Do you have any tutorials on the script block? I could only find one.
M
B
E
5 comments
Share
Open in Discord
M
Mario Barretta
12 months ago
What do you mean with " to generate a variable as an output?"
have you already seen
https://docs.typebot.io/editor/blocks/logic/script
here you can read (i think) what you search -->
https://docs.typebot.io/faq#can-i-set-a-variable-with-the-script-block:~:text=No%2C%20the%20script%20block%20is%20only%20meant%20to%20execute%20a%20script.%20You%20can%27t%20set%20a%20variable%20with/in%20it.%20If%20you%20need%20to%20set%20a%20variable%20with%20some%20code%2C%20you%20can%20use%20the%20Set%20variable%20block
.
B
Baptiste
12 months ago
Check out the Set variable block @EpicFace (
https://docs.typebot.io/editor/blocks/logic/set-variable
)
E
EpicFace
12 months ago
Hi yeah I figured it out... Thanks
B
Baptiste
12 months ago
I'm wondering how I can improve this because it's a commonly asked questions from new users π€
E
EpicFace
12 months ago
https://embed.chatnode.ai/6af4c6da8e38f537
Add a reply
Sign up and join the conversation on Discord
Join on Discord