Image

You can display the links to the visitors along with the text and image using this widget.

AttributeMandatoryDescriptionValues
typeYesThe type of the input to be dispalyed to the visitorimage
imageyesYou can specify the image that you would like to display to the visitor{  
   "image":"image URL",
}

Use Cases:

SalesIQ Scripts:


{
  "text": "Here is the reference image",
  "image": "http://zylker.com/help/common.png"
}

Dialogflow:


{
  "platform": "ZOHOSALESIQ",
  "action": "reply",
  "replies": [
    {
      "text": "Here is the reference image",
      "image": "http://zylker.com/help/common.png"
    }
  ]
}

Watson Assistant:


"user_defined": {
  "zohosalesiq": {
    "replies": [
      {
        "text": "Here is the reference image",
        "image": "http://zylker.com/help/common.png"
      }
    ]
  }
}

Zia Skills:

Context Handler function:


result = Map();
response = Map();
response.put("action", "reply");
response.put("replies",[{
    "text": "Here is the reference image",
    "image": "http://zylker.com/help/common.png"
}]);
prompt = Map();
prompt.put("param_name", "reply");
prompt.put("data", response);
result.put("prompt", prompt);
result.put("todo", "prompt");
return result;

Execution function:


result = Map();
response = Map();
response.put("action", "reply");
response.put("replies",[{
    "text": "Here is the reference image",
    "image": "http://zylker.com/help/common.png"
}]);
result.put("data", response);
return result;

Output: