Dialogue Cloud

WebChat States

Note Additional Anywhere365 WebAgent license required.

Note Enterprise license and higher

Introduction

The webchat can be configured to be loaded in a specific state, when the UCC is in a specific presence.

 

Presences

  • Available = The UCC is connected to the WebChatDialogueProvider2 and is in a Available state (Within Business Hours, Not in a holiday, or is not in ForcedClosed mode).

  • Away = The UCC is connected to the WebChatDialogueProvider2 and is in a Away state (Outside Business Hours, In a holiday, or in ForcedClosed mode).

    Note: Conversations will only be started on a UCC that is available.

  • Offline = The UCC is not connected to the WebChatDialogueProvider2 (Service offline, UCC not started, UCC not configured, or ListPlugin not yet sent) or the WebChatDialogueProvider2 is shutdown.

    Note: In this state the server cannot receive any input.

 

Configuration

This state can be configured with the following settings:

Copy
Script
interface Configuration {
    available?: PresenceConfig;
    away?: PresenceConfig;
    offline?: PresenceConfig;
    }

These values can be set as follows:

  • Enabled = Chat interaction enabled and allow to open the WebChat window.

  • Do not allow the user to open the chat window = The user can see the teaser and the start button, but cannot click the start button to open the chat window.

  • Chat interaction disabled = The user can click the start button to open the chat window, but the input field is disabled.

  • Hide WebChat = The start button will be hidden.

 

Example

Below an example script that can be loaded into your website's html. In this example a different state is used per presence: