Inbound Email Action: Update Incident if Incident Number is in the subject.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2025 09:13 PM
I am trying to create an inbound email action that updates an existing Incident if the Incident Number is in the subject line. So far no luck getting it to process my test email.
For the "When to run" condition: /INC\d{7}/.test(email.subject)
Action:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2025 07:45 AM
Correct, this would be for an inbound email action type = NEW.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2025 07:48 AM
Okay but how would the person sending email know the INC number since that person didn't get any email with that INC in subject line?
you can achieve this requirement but this doesn't sound like a valid business requirement.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2025 07:52 AM
The email is coming in from an automated system, the system will have the incident number but that is it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2025 12:47 AM
Hi @Scott29 can you please explain your ambition?
Inbound email action is when somebody sends email towards ServiceNow and it will do something, for example create incident.
I will send an email to the instance, instance will process it and creates INC0001. Why do you want to handle this in the inbound action? It will be automatically.
Alternatively, if you configure the email notifications accordingly the sender will receive an automated response "Hello your email has arrived and we register it with INC0001 bla bla bla".
Please describe the scenario. Perhaps what you do is not needed at all
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2025 07:50 AM
Hi @Scott29
Have a look here.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************