Automation Editor
...
Building Automations
AI chatbots

Conversation memory

2min

The Automation Chat Widget provides two actions for saving and recalling values from conversation memory:

Document image


Conversation memory is temporarily stored in the system's database on the server. Memories are scoped to the conversation uuid, so they can only be accessed in the course of a single conversation session with the chat widget. If the user reloads the web page, the chat widget generates a new conversation uuid when it reloads.

To persist information across multiple chat sessions, use Browser storage instead.

To save a value, use the "save chat conversation memory" action:

Document image


The action requires the conversation uuid, the memory name, and the value to save.

Use the "recall chat conversation memory" action to fetch a named memory value:

Document image


If the named memory has not been stored, an empty value will be emitted.

The most common usage of conversation memory is to determine when to invoke goal automations, where the parent will check if an item is in conversation memory. If not, a goal automation is executed and it will save the value into conversation memory when the goal is achieved.