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 months 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 2 years ago by Pau Sanchez

Code Set

This block is only available for web chatbots. With the Code Set block you will be able to set up the value of a Landbot variable by using Javascript. This means you will be able to use a new value s…

Pau Sanchez
Updated 5 months ago by Pau Sanchez

Contact