Inbound Email to trigger only once for duplicate emails

Karthikalety
Tera Contributor

Hello Community,

 

I have created an Inbound Email action to trigger when a user sends an email to ServiceNow. However, it creates multiple records when the same email is sent multiple times. This is a concern for us. Can anyone help provide a way to restrict creating a record when the same email is sent.

Thanks,
Karthik

@Ankur Bawiskar  can you please help

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@Karthikalety 

if the inbound email action is of type "New" then it's logical that ServiceNow will create a new record each time.

What's the unique identifier in the email received? that unique thing you can use to query the target table and if record found then don't insert and ignore that email

Example: if inbound email contains some specific number and that number you are storing in record's short_description field then you can query if the same information is already present or not

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

There is no unique field in the email any other approach we have?