Prevent multiple conversations
Last updated
Last updated
A new feature in Tiledesk widget settings will prevent your customers from starting a new conversation if they already have one open. This change makes conversations more of a continuous thread, preventing customers from reaching out to your team multiple times, which saves your team time and effort. This feature is named as Single Conversation
Tiledesk Widget can handle only one conversation at a time by properly setting the singleConversation property. In fact, just set singleConversation to true (see how to do this here) to be able to show the widget user only one conversation at a time. This option disables the possibility of viewing the home with the list of open conversations and those already archived as image below highlight.
Once the user has been authenticated, the widget proceeds with the normal initialization flow of a new conversation only if the user has no active conversation previously, otherwise, the widget will load the most recent active conversation
As with the other widget setting parameters, singleConversation mode can be enabled in various ways: as a url parameter or as a property of tiledeskSettings.
You can passing the parameters to window.tiledeskSettings object as shown in the example below
The above script can start widget with the single conversation mode, immediately
You can pass the a tiledesk widget property as a Url parameter with the tiledesk_ prefix. For example, in this case:
In this mode, the user can still logout from the system by using the menu at the top right corner in the conversation header, as shown in the figure below.
Once you have make a sign out, widget restarts itself and create a new user. New initialization flow of a new conversation starts and new user can starts to chat again!!