Input Cards
The Input Cards are the different type of actions used by the Zobots to procure the inputs from the visitors.
- Happiness Rating
- Star Rating
- Like Button
- Single Select Option
- Multiple Select Option
- Slider
- Range Slider
- Calendar
- Range Calendar
- Time Slot
- Date & Time Slots
- Name
- Phone
- URL
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;