The CreatorCon Call for Content is officially open! Get started here.

Trigger survey from email notification

anvitha ash
Tera Contributor

Hello,

 

I have created a survey. Now I want to send the survey link whitin the notification to the user. So when the notification triggers it should have the link to survey 

 

I have created a notification in requested item table, also created email script where I'm adding the sys_id of the survey and created a button 

IMG_20250128_214233.jpg

 

 

But none of the things are working like button and survey thing. Here is the email script I created 

 

 

 

 

Please someone help me how to proceed on this part

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@anvitha ash 

so what's not working?

did you add logs in that email script and see?

did the link generate properly in email logs?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Viraj Hudlikar
Tera Sage
Tera Sage

Hello @anvitha ash 

 

I would suggest checking the existing configuration in platform which is already available and try to do same config as per your requirement.

In your instance or PDI append this URL where you will see notification "Incident Survey" available which is sent for survey with link.

 

https://PDInumber.service-now.com/ sysevent_email_action.do?sys_id=b2b3e70b67a630105f74e8a331b73044&sysparm_record_list=active%3dtrue%5enameCONTAINSsurvey%5eORDERBYaction_update&sysparm_record_row=5&sysparm_record_rows=6&sysparm_record_target=sysevent_email_action&sysparm_view=advanced&sysparm_view_forced=true 

 

Also, this above notification is triggered by event which is called from BR "Dispatch Survey Notification Event".

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

@ I tried with the link you have e provided but I didn't worked for me 

 

Need help in how to append the survey link in the email notification 

@anvitha ash Do you have pdi if yes give a search with names shared.