Star Rating
This card helps the visitor get a rating from the stars.
Attribute | Mandatory | Description | Values |
type | Yes | The type of input to be displayed to the visitor | star-rating |
level | No | The number of stars to be displayed to the visitor | 3-10 |
set_conversation_rating | No | To update the feedback on the Feedback sessions | true/false |
Note: The ratings will not be updated for the transferred and missed chats.
Channel compatibility and limitations
Facebook Messenger:
- The card is supported on Facebook.
- The users would get the ratings as single select options. They can choose an option to provide the rating.
Instagram:
- The card is supported on Instagram.
- When using this card, users get ratings as single select options. They can an choose option to provide the rating.
WhatsApp:
- The card is supported on WhatsApp.
- When using this card, the rating will be given in the list format or single select options.
- If the rating number equals 3, all ratings will be listed as options.
- When the rating exceeds 3, all 5 ratings will be displayed in the list format.
Telegram:
- The card is supported on Telegram.
- When using this card, users get ratings as single select options. They can choose an option to provide the rating.
LINE:
- The card is supported on LINE.
- When using this card, users get ratings as single select options. They can choose an option to provide the rating.
Use Case
Copied{
"type": "star-rating",
"level": "5"
//Key for updating the rating in feedback section
"set_conversation_rating":true
}
Copied{
"data": {
"type": "star-rating",
"level": "5"
//Key for updating the rating in feedback section
"set_conversation_rating":true
}
}
Copied{
"type": "star-rating",
"level": "5"
//Key for updating the rating in feedback section
"set_conversation_rating":true
}
Copied{
"platform": "ZOHOSALESIQ",
"replies": [
"Rate the chat session that you had with Zyt"
],
"input": {
"type": "star-rating",
"level": "5"
//Key for updating the rating in feedback section
"set_conversation_rating":true
}
}
Copied"user_defined": {
"zohosalesiq": {
"replies": [
"Rate the chat session that you had with Zyt"
],
"input": {
"type": "star-rating",
"level": "5"
//Key for updating the rating in the feedback section
"set_conversation_rating":true
}
}
}
Copied"channelData":{
"zohosalesiq": {
"input": {
"type": "star-rating",
"level": "5"
//Key for updating the rating in the feedback section
"set_conversation_rating":true
},
"replies":[{
"text" : "Zobots",
"image": "https://www.zoho.com/salesiq-zobot.png"
},"Please rate the session you had with Zyt"]
}
}