Tokens - Cognigy Documentation
Tokens
Tokens are visual representations of CognigyScript expressions that you store and reuse in Cognigy.AI. Cognigy.AI has a selection of default Tokens that are associated with Input, Context, and Profile objects.
Tokens automatically include curly brackets in the script. For this reason, you don’t need to wrap the CognigyScript in the Script field or the Tokens in text fields with curly brackets.
Restrictions
- Only Node text fields with the icon support Tokens.
Working with Tokens
In Manage > Tokens, you can view, create, and delete Tokens as well as copy their Reference ID. Tokens include the following information:
Name — the Token name displayed in Nodes and the Token Management Menu.
Script — the CognigyScript expression used to access the data. You don’t need to wrap the CognigyScript expression in
{{ }}.Type— the category of the Token in the search list:
Input — access to the data in the Input object.
- Context — access to the data in the Context object.
- Profile — access to the data in the Profile object.
- Custom — specific CognigyScript expression with access to the data in one or more Cognigy objects. For example, `