Inbound email action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-07-2024 12:59 AM - edited ā08-07-2024 01:46 AM
Hi Team
I have below requirement
Autolog Leaver and FTC Emails into ServiceNow Tickets Emails are recevied from HR for leavers, we would like to auto log these into ServiceNow.
The emails would be sent from XYZ.Leavers@example.com
I have attached an example of the leavers email that is received, can we take the data from this and input it into the current Leaver form ?which is existing in the instance
Ideally we want to use the employee number, to obtain the information from ServiceNow as HR store different name data to client side . So in the screenshot attached for example, ServiceNow would look up the employee number 50004164 and then pull through 'Name of Person Leaving' as the name of that person. The leaving date can be pulled from the email. Line manager to be pulled from employee numbers account. Contracted office can be pulled from their details too. Contract Type and Does this leaver have a laptop, can this be left blank but editable so XYZ add it in at a later date?
we dont have the mail in the ServiceNow we have only screenshots which i am attaching so could anyone suggect how to achieve this and also suggest thorugh flow or classic inbound actions
Help will be much appreaciated.
Thank You!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-07-2024 01:29 AM
First: ServiceNow is not SNOW!! SNow is a completely different software platform and in your context it could mean that you are integrating the platforms, which I don't think you are looking for.
Solution:
Create an inbound email flow with trigger on the sender (your xyz.leavers@example.com) You can then do whatever you want with what is coming in. I advise you to get the email parser action from ServiceNow share (https://developer.servicenow.com/connect.do#!/share/contents/8408077_parse_email_flow_action?v=2.4&t.... This video shows perfectly how it works. You can get your name value pairs from the email body so you can just find the employee number and do all kinds of things with it.
You are creating an HR ticket and you set the employee number to that of the employee. A lookup to the employee record, based on that number, will give you access to the entire record to fill the HR ticket. Other name value pairs can be used if needed (like the date and/or email address).
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark