WFH Tip: 26 What are the different ways of defining proactive messages on the Zia Skills platform?

WFH Tip: 26 What are the different ways of defining proactive messages on the Zia Skills platform?

WHAT IS ZIA SKILLS?

It is a conversational bot building assistant that uses natural language understanding to process and perform skills and actions to respond to visitor questions.The platform is smart enough to perform operations dynamically, fetch necessary data from SalesIQ and process it to construct contextual answers, and much more. Today's tip will focus on the different types of trigger messages that you can create for your visitors on the Zia Skills platform.

Trigger messages in Zia Skills:

You can configure your Zia skills assistant to send out a proactive trigger message when visitors land on your website or perform an action.You can use only the JSON format to setup the trigger response since SalesIQ does not support the text format. The message can be just plain text or a combination of input/display cards. 

Note: The message that you define here will be triggered only if the trigger criteria set inside Settings > Bots > Add Bot > Choose Visitor Type section is satisfied.

Types of trigger messages:

Type: 1 - Text Message: You can use this format to trigger a plain text message to your visitor.

Example:
  1. {
  2. "replies": [
  3. {
  4.    "text": "Hello there, I'm Zappy. "
  5. },
  6. {
  7.   "text": "How may I help you today?"
  8. }
  9.                ]
  10. }
Type: 2 - Text and Input Cards: You can use this format to trigger a message that has both plain text and an input card, say a calendar, sliders, single select, etc.

Example:
  1. {
  2. "replies": [
  3. {
  4.       "text": "Hello there, I'm Realtor Bot.  "
  5. },
  6. {
  7.        "text": "How may I help you today?"
  8. }
  9. ],
  10. "input": {
  11. "type": "select",
  12. "options": ["I would like to buy a property","Thanks. Just browsing!"] 
  13. }
  14. }

Type: 3 - Text and Display Cards: You can use this format to trigger a message that has plain text and a display card say , articles, URLs, images, etc.

Example:
  1. {
  2. "replies": [
  3. {
  4. "text": "Hello there, I'm Zappy. "
  5. },
  6. {
  7.     "text": "How may I help you today?",
  8.     "image": "http://zylker.com/help/common.png",
  9.     "type": "links",
  10.     "links": [
  11. {
  12.      "url": "https://zylker.com/home",
  13.      "text": "Zylker-home",
  14.      "icon": "http://zylker.com/help/home.png"
  15.   },
  16. {
  17.       "url": "https://zylker.com/special-discounts",
  18.        "text": "Zylker-discounts",
  19.        "icon": "http://zylker.com/help/discounts.png"
  20.  }]
  21. }
  22. ]
  23. }

Type: 4 - Text, Input and Display Cards: You can use this format to trigger a message with plain text, an input card and a display card.

Example:
  1. {
  2. "replies": [
  3. {
  4.     "text": "Hello there, I'm Zappy."
  5. },
  6. {
  7.     "text": "How may I help you today?",
  8.     "image": "http://zylker.com/help/common.png",
  9.     "type": "articles",
  10.     "title": "Articles about property",
  11.     "articles": ["121212121","123434343","123334678"]
  12. }],
  13. "input": {
  14. "type": "select",
  15. "options": ["I would like to buy a property", "Thanks. Just browsing!" ]
  16. }
  17. }
To learn more about this, start building your own Zobot right away.
For more information, check out our Help Documentation.

Regards,
Michelle