Is it possible to insert Survey in notification email body?

kimi
Kilo Contributor

Can I insert a survey in body of notification email?

I would like to send incident resolution survey notification to users after an incident ticket is closed.

I know we can put the link of the survey in the notification, but I would like to insert the survey in the notification so that user can answer in the email rather than jumping to different page.

Is it possible?

8 REPLIES 8

Hi Darin,

 

We have done a similar requirement in our project. Please refer below design which we have implemented for further details:

 

  • A Custom table has been created where the Survey response and comments are captured.
  • We have created an Script Include where we are handling all the complex logic required for Survey and building the HTML of the survey as well which will be displayed in the email body.
  • The same script include is being called in an Notification script and based on different tables different parameters are being passed to control the access to the survey ratings.
  • Notification Script is being called within the required Notification to display the same to the user.
  • Once the user clicks on a survey, instead of opening an outlook email we are redirecting them to a custom page with a Customer Feedback text box to enter their comments which again is getting controlled via the same script include defined in first step.

Hope this helps:)

 

Regards,

Shloke

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

konka1
Tera Contributor

Hi Sholke,

if possible can you please provide the script include code and any documents also fine,

we have same requirement.

 

thanks

Hi Konka,

ServiceNow released embedded surveys in Madrid, you can now embed an interactive survey that the recipient can respond to in their email client. Check the documentation here

Cheers

Dave

Darin Ohde
Giga Contributor

Perfect! Thank you both for the help!