Dialogue Cloud

What's new in WebChat 2.3

Note: An additional Anywhere365 WebAgent for Omnichannel license is required.

Available in bundle: DC2022.02

Introduction

The below a details of new features that are added to the WebChat 2.3

Introducing Post-Adative Cards

The WebChatDialogueProvider2 is now able to send an Adaptive Card after the dialogue is stopped (handled by agent, TimeToLive expired or closed by DialogueStudio).

Setup

In order to send an Adaptive Card after the dialogue is finished, the WebChat config in the WebChat frontend has to be extended with an Adaptive Card ID, see example below.

Copy
Script
postDialogue: {
    adaptivecard: {
        id: 'AdaptiveCardId',
    }
}

An example of the complete file would look something like this:

Copy
Script
window.onload = function() {
    const config = {
        available: {
            teaseMessageSettings: {
                showAsMessage: true,
                showAsTeaser: true,
                onTimeout: 5000,
                message: {
                    en: ' Hi Can we help you?',
                    nl: ' Hoi Hoe kunnen we u helpen?'
                }
            },
            state: 'Enabled'
        },
        postDialogue: {
            adaptivecard: {
                id: 'AdaptiveCardId'
            }
        }
    };
    WebChat.load(config);
};

Date time format according to browser language instead of language setting

The time stamp next to the message is now shown in the format of the browser language. Below English is shown as 12-hour format and Dutch in the 24-hour format.

English

Dutch

Incorrect configured Adaptive Card no longer locks up the conversation

The following scenario has been improved, when an adaptive card is configured and the input has been disabled, see example below .

Copy
Script
adaptivecard: {
    id: 'QuestionForm',
    disableInput: true
}

In this example the input field will now be unlocked so that the conversation can continue.