Custom fields

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 an underscore character, for example: product_selected age

The values of the variables are different for each subscriber. It is convenient to think of variables as columns in an Excel table. This way, when you add variables, you add fields that will be filled in for each subscriber:

Variable “name“

Variable “phone“

Variable "product_selected"

Subscriber 1

The Dude

+7-916-444-…..

Carpet

Subscriber 2

Luke Skywalker

+7-495-310-…..

Glowing sword

Subscriber 3

Tyler Durden

not defined

Soap

There are system variables that have already been created beforehand. The values in them will be inserted automatically.

Переменная

Назначение

name

Имя собеседника (абонента) чат-бота

phone

Телефон (номер WhatsApp) собеседника (абонента) чат-бота

bot_user_id

Идетификатор собеседника (абонента) чат-бота

start_parameter

Содержимое первого сообщения от пользователя

Última actualización