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.

Attribute

Type

Required

Description

type

string

always session_value

key

string

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.

Attribute

Type

Required

Description

type

string

always user_attribute

key

string

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.

Attribute

Type

Required

Description

type

string

always message

{
    "type": "message"
}