uWebChat offers integration to Microsoft OneDrive to save the chat logs of an agent to their OneDrive. This requires a valid Microsoft 365 license to use OneDrive. A Global Administrator within your Microsoft 365 tenant must allow uWebChat to access OneDrive through the Microsoft Graph API.
To activate this feature, a conversation needs to be started with a uWebChat agent who is also a Global Administrator for the Microsoft 365 tenant. After ending a web chat conversation, the agent will get prompted to save their conversation to OneDrive. Accept this to continue.
uWebChat will then prompt for authorization. When clicking on the Authorize uWebChat button, the page below will be opened in a web browser. On this page, the tenant admin will be able to authorize uWebChat organization wide. This will make sure agents are able to use the save chat to OneDrive function.
Once this has been done, every agent on your tenant is able to activate saving their chat logs to OneDrive.
After an agent ends their first chat session, uWebChat will ask if the agent would like to save chat logs to OneDrive. The agent’s choice will be remembered and not prompted for again after ending future chats.
To use the save to OneDrive feature, agents will also need to approve uWebChat individually. This will permit uWebChat to use the Microsoft Graph API when trying to fetch the uWebChat chat history.
The following dialog is shown when a chat has finished:
After clicking the Authorize uWebChat button, an agent will be redirected to a webpage within their web browser in which he/she needs to login to Office 365. When logged in, the agent needs to authorize uWebChat. After authorizing uWebChat, the agent will be redirected to a webpage in which a 6-digit code has been generated. The agent needs to copy this code and send it to uWebChat using the uWebChat chat window (within Teams). See example below:
After all steps have been completed, the uWebChat Bot will remember this setting and stores it for future use. The option can always be changed in the personal settings of the agent.
*Note: uWebChat conversations are not stored outside your organization’s security context within Microsoft 365. Chatlogs stay within the users’ personal context.
The chat log files can be found in a subfolder under the user’s OneDrive named uWebChat Chat History.
The files are .txt files, viewable with almost any editor. The files themselves have the following naming convention: yyyy-mm-dd timestamp [agent email] – visitor name.txt