Code Block (Javascript)

Code block

For Landbot (Web). To see how to deal with Landbot variables and Javascript variables, please check this article. Learn how to use our block type Code, it lets you easily add JavaScript code within a…

Pau Sanchez
Updated 6 days ago by Pau Sanchez

Javascript in Landbot v2

This is a legacy document. In case you are using Landbot v3, please check this article. Landbot variable => Javascript variable. Let's say you want to print on console a name that you asked in the bo…

Pau Sanchez
Updated 1 year ago by Pau Sanchez

Code Set

This block is only available for web chatbots. The Code Set block, allows to set up the value of a Landbot variable using Javascript. It avoids the need to use a user input (buttons, text question...…

Pau Sanchez
Updated 5 months ago by Pau Sanchez

Contact