inbound email actions. Email address need to redirect to servicenow

sonita
Giga Guru

We received a request to create 2 new email address:  These email addresses will need to redirect to Service Now and then to the perspective assignment groups.

Any help please how o achieve this?

Anything sent to the email addresses will need to be assigned to prospective assignment groups

 

1 ACCEPTED SOLUTION

Mike Patel
Tera Sage

It's pretty easy to do.

1 - Setup forward rule on new email to forward all emails to SN.

2 - in your inbound action do something like below

if(email.to.toLowerCase().indexOf('email1@gmail.com') != -1){ //sysid of group that this email address belongs to
	current.assignment_group = 'sysid of group for that email';
}else if (email.to.toLowerCase().indexOf('email2@gmail.com') != -1){ //other group sysid
	current.assignment_group = 'sysid of group for that email';
}

View solution in original post

15 REPLIES 15

Mike Patel
Tera Sage

It's pretty easy to do.

1 - Setup forward rule on new email to forward all emails to SN.

2 - in your inbound action do something like below

if(email.to.toLowerCase().indexOf('email1@gmail.com') != -1){ //sysid of group that this email address belongs to
	current.assignment_group = 'sysid of group for that email';
}else if (email.to.toLowerCase().indexOf('email2@gmail.com') != -1){ //other group sysid
	current.assignment_group = 'sysid of group for that email';
}