JSON Script giving variable error
Hi! I’m trying to run a script in my flow but it keeps giving me a variable error even though the variable that is treated (cpf) is set right before but it never works.
Any ideas?



3 Replies
Hey, all good?
To access a variable defined in Typebot, use the double curly braces syntax (
{{ }}
), following the interpolation standard.
So instead of using variables.cpf
, the correct way is {{cpf}}
.
Docs: https://docs.typebot.io/editor/variables#use-variables
Also, you can insert variables directly using the variables panel — just click the icon highlighted in red in the screenshot.Typebot Docs
Variables - Typebot Docs

English please my friend for others 🙏
Thank you both!