Skip to main content

JAICP release 1.10.6

New

  • ZB-8403 Log export as a background task.
  • ZB-9869 Automatic menu buttons display when opening the chat widget.
  • ZFL-4912 Sending SMS messages from the script.
  • ZFL-5162 A Viber event occurring when the bot sends a greeting message before the session starts.
  • CL-1226 Access to activation rules with the highest probability score via $context.nBest.

Improved

  • ZB-9580 The Is last attempt column in call campaign reports.
  • ZB-10047 Display of the last phrase in the new version of dialog analytics.
  • ZB-10161 Transfer to an agent group in the Salesforce channel.
  • ZB-10257 The Transfer to agent filter in the new version of dialog analytics.
  • ZB-10261 Access to HTTP headers via the $request variable.

Fixed

  • ZB-9669 When creating new tasks, their status is not updated.
  • ZB-10056 Recognized entities are duplicated when matched by several patterns.
  • ZB-10416 Incorrect recognition behavior of @duckling.date.

In release 1.10.6, we have implemented support for sending SMS messages from the bot script. Now your bot can handle such things as a sign-up confirmation or a notification about a new subscription plan, and send them directly to the client’s mobile phone.

Also in this release, we have added quite a handful of features to the new version of analytics: log export as a background task, as well as some other minor but significant improvements.

In the chat widget, we have enhanced client involvement capabilities: now menu buttons can be displayed automatically when the widget is first opened. Advanced CAILA users can now use $context.nBest, an object which holds the activation rules with the highest probability score and is available from anywhere in the script.

SMS messaging

Sending SMS messages directly from the script is now available. No integrations with third-party services are required.

The messaging is implemented as a new reply type: sms. Replies having this type should be added to the $response.replies array along with the message text and the client’s phone number.

We have also added specific events corresponding to either a successful or a failed message delivery.

state: SendFilmReminder
script:
var reply = {
"type": "sms",
"text": "You are signed up for " + $session.film + " at " + $session.time,
"destination": $client.phone
};
$response.replies = $response.replies || [];
$response.replies.push(reply);

state: Success
event: smsSuccessEvent
a: Thanks for your order! We have sent the details of your showing in an SMS message.
caution
SMS packages are purchased separately from your subscription plan. Contact your account manager for purchase instructions.

Analytics

Log export as a background task

In the new version of log analytics, dialog and client logs are now exported in the background.

Report generation has become transparent: you can track the progress in real time, and you will always know the status of the tasks you started. Once the report is generated, you can download it from anywhere in the project without distracting yourself from the task at hand.

Dialog analytics improvements

Also in the new version of dialog analytics, we have added the Transfer to agent filter, which will help in further narrowing down the selection of the logs you need.

As for the results of applying the filters, we have replaced the First question column with Last phrase: the end of the conversation is generally more informative than its beginning.

tip
Contact your account manager to activate the new version of log analytics.

Automatic buttons display when opening the chat widget

We have added the Show menu buttons option in the user involvement settings.

Via this setting, you can enable up to 8 buttons which will display automatically along with the welcome message when the client opens the chat widget. This can help them choose one of the available topics.

Access to activation rules with the highest score

The $context object representing the context of processing the current request was expanded with the nBest property: an array of activation rules triggered with the highest score.

This feature may be helpful in scripts requiring complex mechanics for picking the right activation rule and transitioning to the appropriate state.

Miscellaneous

FeatureImprovement
EventsNow the conversationStarted event can be processed in scripts for the Viber channel, which indicates that the bot had sent a greeting message before the session started.
Call campaign statisticsThe Is last attempt column was added to number and attempt reports, indicating whether or not the last of all possible call attempts to the client was already made.
Salesforce channelNow you can override the agent group where the dialog should be transferred by passing its Button ID in the destination property when forming the switch reply.
The $request variableFor Aimybox, Chat API, chat widget channels, the $request.data.requestHeaders property now holds the headers of the original HTTP request from the client.

Bug fixes

ProblemBehaviorStatus
TasksWhen creating new tasks, their status is not updated.Fixed in 1.10.6
EntitiesRecognized entities are duplicated when matched by several patterns.Fixed in 1.10.6
DucklingIncorrect recognition behavior of @duckling.date.Fixed in 1.10.6