How to use Chat Context in your Agent

icon picker
User context variables

@User Context Variables
are created and modified by the
@Platform
user in certain areas of the
@Script
and are always available for editing in the
@Script
.
@User Context Variables
can be created:
In the
@Memory
@Slot
in the Key field
In the
@Slot Filling
in the Answer variable field
In the process of parsing the response to an
@External Request
: Response tab, Variable field
During the parsing process of
@Incoming Request
: Context key field in the
@Incoming Request Slot
n the
@Synonym Slot
in the RESULT VARIABLE field
In the
@Notification
@Slot
in the CONTEXT KEY field on the Incoming Data tab

Requirements for the name of a user variable

Cannot be the same as
@System Context Variables
or
@Channel Variables
;
Must start with a letter;
Must contain only Latin characters, numbers and underscores
cannot contain special characters ( { , @, \, , ', ", `, :, ;, &, *, %, $, # , space, etc.)
Must contain no more than 128 characters.
Validation:
By pressing the CREATE button (when creating a slot) or SAVE (when editing a slot), the variable name's compliance with the requirements is checked.
If the variable name does not meet the criteria, the slot will not be saved and an error will occur: Wrong name. The name must be no more than 128 characters and may contain only Latin letters, numbers and _ .
Important: Variable names are case sensitive, i.e. {{ var }} and {{ Var }} are different variables
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.