Name
This card helps to get the name of the website visitor.
Attributes | Mandatory | Description | Values |
type | Yes | The type of input to be displayed to the visitor | name |
placeholder | Yes | Default text that is displayed before the input is given
| { "placeholder": "Enter your name" } |
value | No | The value to be prefilled in the input | { "value": "Patricia Boyle" } |
error | No | The error message that is displayed when invalid input is given | { error: {"Enter name as per govt issued id"} } |
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 the website.
Sample code
Copied"user_defined": {
"zohosalesiq": {
"replies": ["Great! May I know your name?"],
"input" :
{
"type":"name",
"placeholder" : "Enter your name",
"value" : "Patricia Boyle",
"error" : ["Enter a valid name"]
}
}
}