Skip to content

Working with Variables

Variables: where they are passed and how to use them in chat bot scenarios

Information

User variable - a variable value filled in by the user. You can create variables in the scenario block editing window.

Where is data from user variables passed?

They are saved until a lead is created and a notification is sent that includes them

{{$VariableName}} - Insert user variable into message

User variables in a chat bot: creation and setup

Learn how to collect user data through variables, display them in messages, and configure automatic cleanup after sending notifications. Master working with template variables and creating pre-prepared text blocks to simplify bot development.

Variables in chat bot

Variables in chat bot

"Variable operations" block - local and global variables

Explore the differences between local and global variables, learn to create mathematical expressions for automatic calculations and accruals. Learn how to use global variables to quickly change information throughout the bot and create points and bonus systems.

Variable operation

Variable operation

🎁 Free course on chat bot and MiniApp development for all users with an active PRO subscription is already on LEADTEX.

10 detailed lessons from A to Z.

Start learning right now - Start learning.

Saving user variables

Editing (deleting) user variables