Variables

A variable is a place where any subscriber data is stored. Variables can store the information received from the subscriber in order to use them later in scripts.

Variables have a name and type (Text, Number, Image, Yes/No, JSON).

Variable names must contain Latin letters or the underscore character, for example: name test_name

Variable data is unique for each subscriber. It is convenient to think of variables as columns in an Excel spreadsheet. Thus, by adding variables, you are adding fields that will be populated for each subscriber:

Variable “name“

Variable “phone“

Subscriber 1

Michelle

+7 8 10 177-…..

Subscriber 2

Elizabeth

+44 1200 XXX XXX

Subscriber 3

Robert

not listed

There are system variables that have already been created in advance. The data will be inserted into them automatically.

Variable

Information

name

Name of the interlocutor (subscriber) chatbot

phone

Phone (WhatsApp number) of the chatbot interlocutor (subscriber)

bot_user_id

Identifier of the chatbot interlocutor (caller)

start_parameter

Contents of the first message from the user

Last updated