Blahbox Support Center

            Watson Assistant - List

            With Blahboxit's possible to send a list to the virtual assistant's user using IBM's Watson Assistant.

            To make Blahbox display a listthe JSON code below must be pasted in the "contextof the appropriate dialog node, in Watson Assistant:

            1.     "bbox_list": {
            2.       "items": [
            3.         {
            4.           "title": "United State",
            5.           "imageUri": "",
            6.           "textToSend": "United State",
            7.           "description": "Amazing Country"
            8.         },
            9.         {
            10.           "title": "Italy",
            11.           "imageUri": "",
            12.           "textToSend": "Italy",
            13.           "description": "The best pasta"
            14.         },
            15.         {
            16.           "title": "Spain",
            17.           "imageUri": "",
            18.           "textToSend": "Spain",
            19.           "description": "Nice people"
            20.         }
            21.       ],
            22.       "order": 1,
            23.       "title": "Countries"
            24.     }
            JSON Description


            Every item represents a line of the list. You can place as many items as you wish, although it's not recommended to place more than five
            Title of the image
            URL of the image that you wish to display
            When the user clicks on the text, the text in that element is automatically sent to the assistant.
            Description. (Text)
            Whole number that shows the order of the element when there is more than one element

            It's very important that the JSON code be inside the "context" element of the dialog node.

            Blahbox interprets every element of the JSON and shows it to the user as is shown below:

            Help us to make this article better
            0 0