How to add thumbs up & thumbs down feedback actions on response template?

Harsha38
Tera Guru

"How do I add thumbs up and thumbs down feedback actions to response templates in Agent Workspace? Please refer to the screenshot below. I need help with this, as I’m new to this kind of requirement." 

@Ankur Bawiskar 
@Harsh Vardhan 
@asifnoor 
@Jaspal Singh 
@Community Alums 
@Edward Rosario 
@Alisa Tipisova 


feedback icons.png

7 REPLIES 7

Edward Rosario
Mega Sage
Mega Sage

try adding this code to the template body.  in the html

<span class="thumbs-up" onclick="updateFeedback('positive')"> 👍 </span>

<span class="thumbs-down" onclick="updateFeedback('negative')"> 👎 </span>

thumbs up.PNG

 

Please mark helpful if it helps

Hi @Edward Rosario  Thank you for your response, but the solution above is not working. I want to dynamically populate thumbs up and thumbs down for all the response templates."

Community Alums
Not applicable

Hi @Edward Rosario ,

Once you add the code you gave will not update the feedback.

Because as soon as you save the code , the HTML automatically updates the HTML and removes ""updateFeedback('negative')", will only show below:

<p><span class="thumbs-up"> 👍 </span> <span class="thumbs-down"> 👎 </span></p>

 

SandeepDutta_0-1728018899407.png

 

which makes the thumbs up/down displayed but not clickable:

SandeepDutta_1-1728018943921.png

 

Hi @Community Alums 
Thumbs up & down action buttons should be clickable to send feedback and the button should be on the top not in the HTML Body. I have attached screenshot for better understanding. Thank you

Screenshot 2024-10-04 104820.png