What are variables?

You can use two variables in the text of auto-reply – %hello and %client.

  1. %hello is a greeting  with a text (according to your time zone):

5 AM -10 AM: Good morning

10 AM - 6 PM  Good day

6 PM - 12 AM: Good evening

12 AM - 5 AM: Good night

  1. %client is the client’s name. It is identified by a list of possible  names in nicknames or in assigned name. The system always displays only full name. If the name isn’t identified, the system will delete extra commas and space symbols around the name.

For example: 

“%hello, %client! Thank you for your request!” 

Will display the result (depends on time of day and time zone):

“Good evening, Boris! Thank you for your request!”

  1. %client_number - client's phone number in our system. For messengers working via API, the phone number is not available, instead it will be a unique identifier derived from the messenger, such as "[tg] 249695626" for Telegram or "[vk] 7750992" for VKontakte.
  2. %operator_name - the name of the operator to which the given chat is assigned or, if the chat is not assigned yet, the name of the last assigned operator. If the client is writing for the first time, the name and surname of the operator are not sent.
  3. %operator_surname - name of the operator, to which the given chat is assigned or, if the chat is not assigned yet, name of the last assigned operator. If the client writes for the first time, the name of the operator is not sent.
  4. %client_id - unique identifier of the client in our system.
  5. %dialog_id - unique identifier of the dialog in our system.
    Here is an example:

"%hello, %client! Thank you for your request! The chat is assigned to the operator %operator_name %operator_surname".

It will give approximately the following result (depending on the time of day and the client's name):

"Good evening, Boris! Thank you for your request! Chat assigned to the operator Ivan Smirnov".

 

Share this: