Input Cards

The Input Cards are the different type of actions used by the Zobots to procure the inputs from the visitors. 

Skippable

This can be used with all the input cards. This widget will show a skip button along with the input widgets, with which the visitor can choose to skip responding to the question.


response = map();
response.put("action", "context");
response.put("context_id", "test");
response.put("questions", {
    {
        "name": "choice",
        "replies": {
            "Please choose a number from the following option"
        },
        "input": {
            "type": "select",
            "options": {
                "one",
                "two"
            }
        },
        "skippable": "true"
    }
});
return response;