Value getters

Value getters are used to get the values which are going to be matched against conditions.
It can apply to session values, user attributes and users messages.

Session Value Getter

This value getter can be used to fetch a value from the interlocutor's session.

AttributeTypeRequiredDescription
typestringalways session_value
keystringsession key to fetch
{
    "key": "name",
    "type": "session_value"
}

User attribute Getter

This value getter can be used to fetch a value from the interlocutor's attributes.

AttributeTypeRequiredDescription
typestringalways user_attribute
keystringattribute name to fetch
{
    "key": "name",
    "type": "session_value"
}

Message Value Getter

This value getter will return the content of the message sent by the interlocutor.

AttributeTypeRequiredDescription
typestringalways message
{
    "type": "message"
}