How to create a Chatbot

Argument flow functions and variables

Functions and variables let you read, store and reuse data while the argument flow is running.

Variable type Description Variables and usage
Account Shared by all customers on the same account. The variable name is customizable. Allows for global configurations and information sharing between customers.
They are created freely. They are accessed via
{{$.account.name}}
SET: _crmUpdate('account.name','value')
Client or CRM Private accounts for a specific client. Typical standard CRM names.
client_id, forename, surname, email, passport, postcode, city, phones, input_date, source_id, branch_id, number_calls, coverage, county, address, activity (additional_info)
GET classic: {{name}}
GET JSON: {{$.client.name}}
SET: _crmUpdate('name','value')
Call Accessible only during the current call. Standard names.
call_id, request_id, creation, source_element_id, familly, instance, phone, description, is_active_call, language, speaker, extension_id, final_typification, number_calls, payload, chatlink, log_labels, log_results, log_types, log_element_ids
GET classic: {{name}}
GET JSON: {{$.call.name}}
General purpose Three variables (variable1, variable2, variable3) for free information. They are within the call, but have special importance.
variable1, variable2, variable3
GET classic: {{variableX}}
GET JSON: {{$.call.variableX}}
SET: from CALCULATE box or other boxes
Control Automatically updated. Example: loop_count indicating the repetitions per box.
loop_count
GET classic: {{loop_count}}
GET JSON: {{$.loop_count}}
Temporary account Shared variables, high capacity. They require pre-loading into a CALCULA box.
No standard names.
SET: _accountSet('index1','index2','value')
GET: _accountGet('index1','index2')
(These must be converted to general-purpose variables to be usable)
Temporary client Private, high-capacity. No standard names. Require loading in CALCULA.
No standard names.
SET: _clientSet('index1','index2','value')
GET: _clientGet('index1','index2')
(These must be converted to general-purpose variables to be usable)

Required

Use only the cookies necessary for the proper functioning of the site and its tools.

Analytics Cookies

Allow the use of site analytics cookies. This will allow us to know data related to web traffic.

Marketing Cookies

These cookies will help us to show you the content that best suits your needs.