...
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-1251.
The 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.
Раскрыть | ||
---|---|---|
| ||
|
Creating a clients file
...
- Run a spreadsheet application.
- Create a new book spreadsheet and name the columns as shown below.
...
№ | Column name | Description |
---|---|---|
1 | Phone 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хххххххххх. |
2 | Client IdID | 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. |
3 | Client parameters | Client parameters that you can use in your scripts. The bot will use their values in dialogues with clients. are passed to the script via variables. Such variables can be used in the text of a bot's message. Each parameter value is specified in a separate column without curly braces. The parameter name is case sensitive and 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 Each parameter value is specified in a separate cell without curly braces. |
Click this link to download a template of the clients file.
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:
- Bring up On the side menu click Calls – Call tasks, open the Add new call task dialog window and click Download template.
...
2. Specify client parameters and their values in the clients file as shown above. Enter parameter names of client parameters using Latin characters in the column headers.
3. Log in to your account. 4. On the side menu click Bots – Bots.
5. Select the necessary script where you want to use client parameters and click .
6. In the start starting block of the script specify names of parameters whose which values you want to use in the script.
Предупреждение |
---|
You also need to specify a correct type for each types of parameter values. |
7. Enter parameter names in a Question or Information block. Enclose parameter names in curly braces. The bot will use their values in a respective message. Enclose parameter names in curly braces.
8. Save changes.
...
Button Hyperlink | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...