Trigger Event Based on Email
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2025 11:21 PM
Hello All,
How can be event triggered to create incident based on email received.
Condition is like if email subject contains keywords as DOWN, trigger event to create incident but if within 30 mins email subject comes as UP, restrict event triggering to create incident.
@Ankur Please provide any suggestions.
Thanks
Akash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2025 11:35 PM
Hi Akash,
Did you try creating Scheduled event in Email inbound action or flow?
What you can try is
When the email is received, trigger scheduled event using function gs.eventQueueScheduled() - Please note this will take time of execution as an extra parameter which can be set as 30 mins from now
Once event is triggered , check if there is any other email with required subject is received or not , if not then create incident using script action or flow if it is received do nothing.
Please let me know if this helped. If yes, please mark it correct and helpful
Thanks!
Uma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2025 11:53 PM - edited 02-13-2025 11:57 PM
Hi Uma, Thank you for suggestion. i am new to Event.
can you please elaborate. If i trigger scheduled event in inbound action, will it run for every condition with matching subject?
where can i check email subject post 30 mins?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2025 12:46 AM
You can create a new flow with the trigger as inbound email, you can configure the conditions with subject and use the create record action to create the incident
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2025 01:14 AM
you can use inbound action for this.
what did you start with and where are you stuck?
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