Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

Message Box
iconnone
titleOn this page:
typegeneric

Оглавление

General information

A clients file contains client phone numbers that are used for the system calls after a call task is started.

Примечание

Before a call task is started, make sure you attach a clients file to it or enter client phone numbers manually.

  • When you enter add phone numbers to a clients file, use the semicolon as a separator.
  • The clients file must have one of the following encodings: UTF-8 , CP-1251encoding.

The A clients file can contain different contains client parameters (for example, phone number, first name, middle name, last name, address, etc.). If necessary you You can add custom as many client parameters as necessary. There are is no limitation on the number of parameters that you can use in the clients file.

...

titleWarning
Предупреждение

When you open an empty clients file in the ".csv" format in some text editors (i.e., LibreOffice), column names in the spreadsheet application may be different from those displayed in the images below. To fix this issue make sure that the program uses the semicolon symbol (;) as a separator.

Image Removed

your clients file.

Creating a clients file

To create a clients file, do the following:

  • Run a spreadsheet application.
  • Create a new book spreadsheet and name the columns as shown below.

Image RemovedImage Added

Description of the columns

Column nameDescription
1Phone number

A client phone number for the

bot

system to call. Each phone number shall be entered on a separate line.

A client phone number shall have the following format:

7ххххххххх or

1хххххххххх.

2Client
Id
ID

A client

Id

ID in the external system. You can use any sequence of characters as a

value

client ID but it cannot exceed 10240 bytes.

If the value for this parameter is not specified, then the system will

automatically

use an arbitrary value.

3Client parameters

Client parameters that

are passed to the script via variables. Such variables can be used in the text of a bot's message.

you can use in your scripts.

The parameter name is case sensitive and defined in the column header.

Each parameter value is specified in a separate

column

cell without curly braces.

The parameter name is defined in the column header. When you enter a parameter name the case of characters is important. In the text of a message the name of a variable is indicated in curly braces.

...

You can enter names of these parameters in a script so that the bot will use parameter values in dialogues with clients.

Примечание

You can also use client parameters with names that have the following format: m_n, where m is a character that is used in all parameter names and n is a number of the cell.

Image Added

Ex.: the parameter with the name m_0 has the value Oliver and the parameter with the name m_8 has the value New York City.


Downloading a template of the clients file

To download a template of the clients file, do the following:

  1. On the side menu click Calls Call tasks.

Image Added

       2. On the Call task page click Add new call task.

Image Added

       3. In the Add new call task dialog window click Download template.

Image Added

Подсказка

You can also download a template of the clients file from the call task page:

  • Open the Call tasks page and click Image Added in the record of a call task.

Image Added

  • On the call task page click Image Added.

Image Added

  • Click the link in the dialog window.

Image Added

    

Раскрыть
titleWarning


Предупреждение

When you open a template of the clients file in the CSV format in some text editors (i.e., LibreOffice), column names in the spreadsheet application may be different from those displayed in images below. To fix this issue make sure that the program uses the semicolon as a separator.

Image Added


Using clients parameters in a script

If you add clients parameters to a script, the bot will use their values in dialogues with clients.

To add client parameters To add user variables to a script, do the following:

  1. Bring up the Add new call task dialog window and click Download template.

Image Removed

...

Информация

Specify client parameters and their values in the clients file as shown above. Enter parameter names

...

using Latin characters in the column headers.

       3. Log in to your account.

...

  1. On the side menu click Bots Bots.

      52. Select the necessary script where you want to use client parameters and click Image Removed Image Added.

      63. In the start starting block of the script specify names of parameters whose which values ​​you want to use in the script.

Image Removed

...

You also need to specify

...

correct

...

types of parameter values.

Image Added

Примечание

This step is not necessary if you use client parameters with names that have the following format:  m_n.

      4      7. Enter parameter names in a Question or Information block. Enclose parameter names in curly braces. The bot will use their parameter values in a respective message. Enclose parameter names in curly braces.

      8      5. Save changes.



...

Button Hyperlink
custom-icontop-button
idtop-button
title.
typestandard
classtop-button
url#Top

...