Survey stuff (smiles, increase response rate, etc)

vant
Tera Expert

Greetings Community,

I have a recent requirement to make surveys more friendly and appealing to increase response rates, and by this, one example is to add pictures (i.e. smiley faces) and possibly embed surveys in emails to send the response to ServiceNow, or have multiple picture links in emails that would pre-answer at least one question in ServiceNow, anything that would make answering any part of a survey as easy as possible.

This is what I found researching so far, feel free to correct me.

1. Embedding surveys in emails won't work to send data to ServiceNow, due to restrictions of the Outlook server of 2010+, Outlook client security prompts.

2. The Tilton smiley face update on Share won't translate onto the new Eureka upgraded survey platform because UI macros are not supported, though it continues to work on the legacy survey.

Question:

1. Has anyone successfully done a survey notification that looks like an Amazon feedback survey or a Square credit card charge or Uber survey with smiley faces that might pre-answer at least one question on the survey, or anything close to that sort? Is it even possible within ServiceNow?

2. Or if no answer for #1, has anyone found a clever way to increase user's response rate to the surveys by making them click on the survey link, instead of offering them a chance at winning something?

Thanks!

44 REPLIES 44

SamuelTse
Tera Guru

We have done exactly like that and so far, it has been a success. We are using Survey Management for this case. We embedded the smiley faces into the suvey notification and when the client clicks on one of those faces, it will take them to the survey in ServiceNow with the first question pre-selected based on which smiley face they clicked on. I believe that's what you are trying to accomplish.



This whole project involved two main parts. One is the email notification and the other is the survey UI Page



Email Notification:


The only thing you can pass back to servicenow from the email is through parameters in the URL, so this is what I did is to put the URL of the survey plus an addition parameter behind each of those three smiley faces, for example:


instance.service-now.com/assessment_take2.do?sysparm_assessable_type=sys_id&sysparm_assessable_sysid=sys_id&sysparm_grade=1



You can look at the existing notification to see how to set the basic survey URL. sysparm_grade is the additional pararement that I added to the URL. Change the value for each smiley face. I used 1, 2, and 3 for simplicity. That should complete email notification part.



assessment_take2.do UI Page:


You will now need to capture the choice the user clicked on from the email. The steps from here on are a bit more complicated. You are required to have some knowledge of Jelly and Javascripting. There is an UI Page called "assessment_take2.do. You will need to do the folowing things:


  1. Get the sysparm_grade parameter using Jelly. Something like this:     <j:set var="jvar_grade" value="${sysparm_grade}" />
  2. create a hidden textbox to store the value, like this inside the <g:ui_form> tag: <input id="grade" type="hidden" name="grade" value="${jvar_grade}" />
  3. In Client Script, in addLoadEvent, it will loop through the questions in the Survey. You will need to stop at your first question and populate the value from the hidden field we created in #1 into this field.


#2 can be tricky and it depends on the question type that you use, mine is a multiple choice with radio buttons and this is my code:


find_real_file.png



Finding the radio button or drop down list item will require a little bit of knowledge on DOM. The example above works for radio buttons with the value of my question being 1,2 and 3. I properly left out a lot of details because like I said, this is quite complicated and the code would be quite different depends on your setup. I hope this will give you some idea and get your started.



Enjoy!



Sam


Thanks for the feedback Samuel, I will give this a try!


Hi Van,



Did you implemented the survey requirement ?



Samuel - I have a similar requirement, but the requirement has got the constraint to fill the comments and then click any of the smiley , response should automatically be sent to Snow. For the solution provided above, it needs to login to servicenow as ui page is defined.


Also public surveys doesn't help as it captures the response from guest user.


But my requirement needs to capture the response and send back to Snow without clicking send button, or login to Snow


Do you have any thoughts on this requirement ?


Hi Ashwani,


Survey through email-please visit this link and answer my query