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
typestring✓always session_value
keystring✓session 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
typestring✓always user_attribute
keystring✓attribute 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
typestring✓always message
{
    "type": "message"
}