Skip to main content
Add To Context Node configuration panel

Description

This Node stores information in the Context object. With this approach, you can use the stored value throughout the session on subsequent user inputs.

Parameters

If you want to store an object in the Context object, use .preserveType() at the end of the CognigyScript expression to keep it as an object. For example, input.slots.city[0].preserveType() stores the Slot object for the first found city entity in the Context object.
Last modified on June 15, 2026