Many LoyJoy process modules automatically create process-specific variables, when customers interact with the chat. For example such variables can be a coupon code a customer has received in the chat. Process-specific means, that the variable is only available in the current process, i.e. scoped to the current process. So the variable will not be visible in other processes. This makes sense for variables that are only relevant to the current process such as a coupon code received, but not the first name of the customer.
Process-specific Variables List
The following list covers most process-specific variables, which are created by process modules. Please note that:
- The variable names do not form a forever constant API, as they may be extended and changed with the further development and growing feature set of LoyJoy. So you can use these variables, however they belong to their corresponding process module and might change occasionally, if the process module is further developed.
- Additional variable names may and certainly will be created that are not included in this list, as many process modules such as the Variable process module and Questionnaire process module can create arbitrary variables as decided by the modeller.
|The HTTP status code returned by API client. (API Client)
|The appointment date. (Appointment)
|The appointment time. (Appointment)
|A code entered by the customer. (Code)
|A code that should be checked. (Code)
|A variable value, that is set upon entering a correct code. (Code)
true if the customer has accepted terms.
|Coupon code as received by the customer. (Coupon)
true if the customer has interacted with the process, i.e. has responded to the chat at least once.
true, the live chat is forced to start, i.e. ignores if there are agents available. (Live, Sikom)
|When the customer receives loyalty points, the number of received points. Not identical to the final loyalty_balance. (Loyalty)
|When the customer spends loyalty points, the number of points spent. Not identical to the final loyalty_balance. (Redemptions)
|The NPS detractor feedback text a customer has given. (NPS Survey)
|The NPS passive feedback text a customer has given. (NPS Survey)
|The NPS promoter feedback text a customer has given. (NPS Survey)
|The NPS score a customer has given. Should be a value from
10. (NPS Survey)
|The NPS text a customer has given, either detractor, passive or promoter. (NPS Survey)
true if opening hours are open, else
false. (Opening Hours)
true if the customer has participated in a giveaway participation. (Participation)
|The number of participations a customer has made in the current process summed over all participation process modules. (Participation)
|The region selected by the customer. (Region)
|The code scanned by the customer. (Scanner)
true if an agent is available in Sikom. (Sikom)
|The id for the image uploaded by the customer. (Snapshot)
|The URL for the image uploaded by the customer. (Snapshot)
true is the customer has won an instant win, else false. (Win)