Slider option

This card helps to collect input from the visitor with a slider interface, i.e., they can choose a range starting from the first in the pre-defined range of inputs.

AttributeMandatoryDescriptionValues
typeYesThe type of input to be displayed to the visitor.slider
valuesYesAn array of strings you would like to mark in the slider as options.A maximum of 10 options in the array with a character limit of 10 each can be provided. 
Channel compatibility and limitations

  

Facebook Messenger:

  • The card is supported on Facebook. 
  • When using this card, the range units/intervals would be given as a single select option for the users to select. 

Instagram:

  • The card is supported on Instagram. 
  • When using this card, the range units/intervals would be given as a single select option for the users to select.

WhatsApp:

  • The card is supported on WhatsApp.
  • A maximum of 10 range units/intervals (10 characters each) will be provided in a list format.
  • If the units are lesser than or equal to 3, all units will be listed as single select options.
  • When more than 10 units are provided, only the first 10 will be displayed.
  • The characters exceeding more than 10 will be trimmed and only the first 10 characters will be displayed.

 

Output

Sample code

Copied"user_defined": {
  "zohosalesiq": {
    "replies": [
      "Could you please help me with your shoe size?"
    ],
    "input": {
      "type": "slider",
      "options": [
    "1",
    "2",
    "3",
    "4",
    "5",
    "6",
    "7",
    "8"
      ]
    }
  }
}