How to send email notification with two option Yes or No

Dev Dev1
Tera Contributor

I need to get confirmation from the caller before closing the ticket.

i want to mark a question in notification like.

Is your query is resolved

Yes or No

 

if user select any option then how can we find that. which options is selected by user.

 

Thanks

1 ACCEPTED SOLUTION

Meloper
Kilo Sage

HI,

i would suggest to create a Template for Both, 1 for yes and 1 for no.

In the text of the Mail you add these template something like ${mailto:mailto.approval_xyz}

 

if a user clicks on that, i will generate a Mail with a subject and a Watermark and maybe the word yes or no
With these you can create inbound actions for mails.

 

and write a script or use oob builder.

 

something like this
Solved: Approval functionality in email templates - ServiceNow Community

 

but instead for an approval with yes and no

View solution in original post

3 REPLIES 3

Meloper
Kilo Sage

HI,

i would suggest to create a Template for Both, 1 for yes and 1 for no.

In the text of the Mail you add these template something like ${mailto:mailto.approval_xyz}

 

if a user clicks on that, i will generate a Mail with a subject and a Watermark and maybe the word yes or no
With these you can create inbound actions for mails.

 

and write a script or use oob builder.

 

something like this
Solved: Approval functionality in email templates - ServiceNow Community

 

but instead for an approval with yes and no

Allen Andreas
Administrator
Administrator

Hi,

Please refer to my response here in another thread a few years ago: https://www.servicenow.com/community/developer-forum/what-is-mailto-mailto-approval/m-p/1747501 - this explains the overall process.

Essentially, you'd want to create email templates for your two choices that you want to show in your notification to the user. Then, use an inbound action/flow to do 'x' when the email is received back from the user.

Refer to out of box email template: mailto.approval as an example for one of the selections.

Then, in your notification, call the template like so (example): ${mailto:mailto.approval}

Please mark reply as Helpful/Accept Solution, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Divya Rajasekar
Tera Contributor

Hi,

Can u please put your step by step of the solution if you have implemented this requirement.

 

Thanks in advance,

Divya