Star Rating

This card helps to get a rating from the visitor via star input format and update it in the Feedback section.

AttributeMandatoryDescriptionValues
typeYesThe type of input to be displayed to the visitorstar-rating
levelNoThe number of stars to be displayed to the visitor3-10

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, the users would get the ratings as single select options. They can choose an 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. 

Output

Sample code

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
    }
  }
}