Skip to content
English
  • There are no suggestions because the search field is empty.

Browser storage

Learn how to use Browser Storage in APIANT’s Automation Chat Widget to save and retrieve data directly from a user’s browser. Understand how to manage persistent data, set expiration times, and maintain continuity across chat sessions and web pages.

The Automation Chat Widget has actions that save and fetch data stored in the chat widget user's browser:

Document image
 

The data is stored in the browser's Local Storage, associated with the domain hosting the web page with the chat widget. Unlike Conversation memory, the saved data is accessible even if the user reloads the web page or if they access another chat widget placed on a different web page in the same domain.

Stored data can be configured to expire after a specified number of hours:

Document image
 

If the setting is zero, the data never expires.

If one of the get actions is used to fetch a value and the data has expired, no value will be returned.