cancel
Showing results for 
Search instead for 
Did you mean: 

Quick Replies Multiple Titles (more than one question) in SAP CAI

harshil_joshi
Contributor
0 Kudos
651
{
  "type": "quickReplies",   "delay": "3",
  "markdown": "<true/false>",
  "content": {     "title": "The presentations and discussions were useful in session",     "buttons": [
      {
        "title": "Strongly Agree",
        "value": "4"
      },
      {
        "title": "Agree",
        "value": "3"
        },
        {
        "title": "Disagree",
        "value": "2"
        },
        {
        "title": "Strongly Disagree",
        "value": "1"
        }
    ]
  }
}


I want to add more questions (titles) in quick reply. How can I add ? 
View Entire Topic
roy_pappachan2
Participant
0 Kudos

You can try this option

Step1 : You can try to put your questions in a Json array of strings.

Step2 : Then use the custom message type "list".

Step3 : Use {{#each}} or {{#eachJoin}} to loop through the array.

Step4 : Use buttons with "postback" inside the list.

Thanks,

Roy

harshiljoshi
Explorer
0 Kudos
Hello Roy, thanks steps. I request if you can share any Chatbot to fork this skills to understand more.
  1. Step1 : You can try to put your questions in a Json array of strings. - At where I can write this? in Message Group?
  2. Step2 : Then use the custom message type "list".
  3. Step3 : Use {{#each}} or {{#eachJoin}} to loop through the array.
  4. Step4 : Use buttons with "postback" inside the list.