Phone

This card helps to get the telephone number in a placeholder.

AttributesMandatoryDescriptionValues
typeYesThe type of input to be displayed to the visitortel
placeholderYesDefault text that is displayed before the input is given

 

{

"placeholder": "Enter your phone number"

}

valueNo​​The value to be prefilled in the input

{

"value": "97899914878"

}

errorNoThe error message that is displayed when invalid input is given

{

error: {"Please enter a valid phone number"}

}

​​Note:

In order to update the values obtained here inside Zoho SalesIQ, you can make use of field_name.

Channel compatibility and limitations

  

The bot will collect all general details such as name, email address, phone number, and other information as similar to website.

Output

Sample code

Copied{
  "platform": "ZOHOSALESIQ",
  "action": "reply",
  "replies": ["Your contact number to schedule the order?"],
  "input":
    {
      "type":"tel",
      "placeholder" : "Enter your phone number", 
      "value" : "97899914878",
      "error" : ["Enter a valid phone number"]
    }
}