Table of Contents

Landbot system Variables

Enrico Updated by Enrico

Landbot has its own variable system. The bot will save each and every data collected by the bot in a variable.

Apart from the case of the Welcome Message variable name, all the other variable names are editable.

You can use the variables to recall a data and pipe it in a new block:

And most importantly to study the information collected in the Analyze section of the builder:

Let's discover now what kind of variables are available on Landbot:

Lead Data variables

  1. ID [Number]: By default is a unique id number set up by the system. (example:  8029448);
  2. Name [String]: By default is the #Visitor & the id variables (example: Visitor #8029448);
  3. Email [String]: empty by default;
  4. Company [String]: empty by default;
  5. Phone [String]: empty by default.

Usage Details variables

  1. Last seen [Date]: Last time the visitor id has been seen by the bot, format YYYY-MM-DD (example: 2019-03-06);
  2. Created [Date]: When the visitor id was created, format YYYY-MM-DD (example: 2019-03-06);
  3. Url [String]: It is the Url where the bot is located (example:;
  4. Browser [String]: If detected;
  5. Device [String]: If detected;
  6. OS [String]: if detected;
  7. Country [String]: If detected (example: Italy).

Time Reference variables

Dates are based on Central European Time / European Central Time (Standard Time) CET.

  1. Yesterday [Date]: format YYYY-MM-DD (example: 2019-03-05);
  2. Today [Date]: format YYYY-MM-DD (example: 2019-03-06);
  3. Tomorrow [Date]: format YYYY-MM-DD (example: 2019-03-07).

Custom variables

  1. Welcome [String]: Welcome variable stores the input from the visitor in the welcome message (example: Hello!).

Lock = System Variables that can be overwritten by Landbot.

In the case you create your own variables, these will be located in CUSTOM variables.

How did we do?

Javascript in Landbot v2