Storage
Keep Track of Information with Storage
Last updated
Keep Track of Information with Storage
Last updated
The Storage block is designed to store and manage data dynamically throughout a conversation. This block allows you to set variables that can be utilized across different stages of the interaction, enabling a personalized and context-aware experience.
The following describes the Set
and To
fields:
The Set field represents the variable name to which you want to assign a value. The variable name should be descriptive of the data it holds for easy reference.
The To field enables you to define the value assigned to the variable. The value can be of different types such as Text, Number, or a JavaScript expression.
You will need to use a separate Storage block at each point in the dialog where you wish to alter specific conversational values (variables). This ensures that the data is stored and retrieved accurately.
Storing a Caller's Input â If you want to save the reason for a caller's inquiry, you might set a variable named InquiryReason
to the input collected from the caller.
Dynamic Data Capture â During an interaction where a technical error is identified, you can set a variable named EscalationReason
to "A technical error occurred." This information can be used later to provide a summary to an agent or to guide the conversation flow.