Like Button

This card can be used to collect the feedback from the visitors as like/dislike (thumbsup / thumbsdown) inputs format.

AttributeMandatoryDescriptionValues
typeYesThe type of the input to be displayed to the visitorlike

Use Cases:

SalesIQ Scripts:


{
  "type": "like"
}

Dialogflow:


{
  "platform": "ZOHOSALESIQ",
  "replies": [
      "Was the chat session constructive?"
    ],
  "input": {
    "type": "like"
  }
}

Watson Assistant:


"user_defined": {
  "zohosalesiq": {
    "replies": [
      "Was the chat session constructive?"
    ],
    "input": {
      "type": "like"
    }
  }
}

Zia Skills:

Context Handler function:


result = Map();
response = Map();
response.put("action", "reply");
response.put("replies", [
    "Was the chat session constructive?"
]);
response.put("input", {
    "type": "like"
});
prompt = Map();
prompt.put("param_name", "rating");
prompt.put("data", response);
result.put("prompt", prompt);
result.put("todo", "prompt");
return result;

Output: