Email response to update a record

JU
Kilo Contributor

Hello everyone,

I need some quick insight, i want to update a true/false field after the response of a particular email is "yes". Would a business rule or inbound action be the best approach?

1 ACCEPTED SOLUTION

Aman Kumar S
Kilo Patron

Go with inbound action, that is only way to handle, through BR you can't do changes based on email response

Best Regards
Aman Kumar

View solution in original post

2 REPLIES 2

Aman Kumar S
Kilo Patron

Go with inbound action, that is only way to handle, through BR you can't do changes based on email response

Best Regards
Aman Kumar

Shane41
ServiceNow Employee
ServiceNow Employee

Hi JU,

I would recommend using an inbound action for this requirement

If the body contains a name:value pair for the yes response you can easily extract it in the inbound action script for example

Email Body

Satisfied:Yes

Inbound action script (update the comments of the associated ticket)

if(email.body.satisified == 'Yes'){

current.comments = 'Fantastic'

current.update();

}

For more information on the email object for inbound actions please refer to the documentation below:

https://docs.servicenow.com/en-US/bundle/sandiego-servicenow-platform/page/administer/notification/r...

Hope this helps,

Shane