There are 4 types of metadata:
- Text field
- Simple list
- Boolean (yes/no)
- Object
Text Field
A Text field is used for metadata which value will be different for any answer where it is used; for example, a page-push where each answer needs to direct to a different page:
Simple List
The more often used Simple List can hold a list of different strings if the variation in metadata you would want to put on an answer is smaller. Pre-defining the possible values helps avoid typing errors and avoids the need for copy/pasting values from elsewhere:
Boolean
A Yes/No (Boolean) metadata is useful for binary values. The toggle defines if something is on or not:
Object
The Object is a little more complex as it is a combination of the other three. It could, for instance, be a video which has an ID, YouTube URL, thumbnail image, as well as other settings such as autoplay and sizing. Each of the properties itself has to consist of one of the above mentioned types:
Default Metadata
Conversational AI Cloud offers some default metadata. These can be used in countless ways via your front end:
- Pagepush (Text type)
- Livechat (Yes/No Boolean)
- Contact escalation (Text type)