Custom variables

Do you want to know about all Gerabot updates?
Subscribe to our Telegram channel - https://t.me/gerabotua

Custom variables are used to extend the capabilities of the chatbot in working with personalized user data. They are most widely used to introduce the user's personal account into the chatbot and provide personalized information for him. Examples of business areas in which custom variables can significantly expand the capabilities of a chatbot:

  • loyalty programs;
  • personal account for bots in the field of services (medicine, beauty and other services);
  • checking the current account or balance;
  • document flow;
  • change of tariff plans, subscription conditions;
  • maililng.

The first step to using variables is to add them in the system settings.

For this, you need to go to the settings section, and the user variables section.

Configuring variables in the chatbot


To add a new variable, you must enter the name of the variable and click the add button.

Adding variables in the chatbot

After addition, the variables are displayed as a list above the addition field.

 

Don't have your own bot yet? Do you think that creating a chatbot is difficult?

Sign up now at Gerabot chatbot constructors, and create your own chatbot in 15 minutes!

 

Configuration of variables takes place in the client card. Therefore, to use variables in the chat, it is necessary to link the client's card and the chat. To do this, create or switch to an already created client and connect it to the chat.

Variables for customers in the chatbot


Now, we can enter some value in the client for the variable we created. To do this, go to the "user changes" tab in the client; and write the value for the variable.

Configuring variables for customers in the chatbot


We can then use our variable in any chatbot script by adding it to the text of the message the user will receive from the bot.

Adding variables to the chatbot script


The message the user receives will already have the value of the custom variable.

Display variables in the chatbot

Variables can also be used in mailings.

Keep browsing gerabot.com, You acknowledge that you have read Terms of Use website and agree to use cookies
Get information
about special offers