Flow Designer Inbound eMail - how to extract content from eMail body to populate fields

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2020 12:30 AM
Hello,
I am looking into using the Inbound Email capability in Flow Designer.
What I have not found any information on yet is how to extract certain sections of the eMail body so that this information can be populated into a record.
I want to do the equivalent of what can be done in Inbound Actions for example:
if (email.body.assign != undefined)
current.assigned_to = email.body.assign;
Also - we get notifications in 2 formats. Text with details in a key value pair arrangement, from which it is easier to get the value for the attribute. And then also in HTML, but the information is not laid out in the same key value pair format. Anyone had any luck parsing HTML to just pull out the equivalent of a value for a given key (so to speak)?
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2020 12:42 AM
Hi Stuart,
sharing few links; they should help you
https://developer.servicenow.com/blog.do?p=/post/ny_flow_designer/
If my answer solved your issue, please mark my answer as ✅ Correct & 👍Helpful based on the Impact.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2020 01:23 AM
Hi Ankur,
This shed a little more light on things, but not enough to resolve my question.
It is not clear to me why it is necessary to first create a record and then use the associate action to tie the 2 together, except that this makes an update to the source email record in the sys_email table?
The Associate function does not help me isolate components of the eMail body to use as values in the Incident I create.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2020 07:54 AM
Hi Stuart,
I haven't explored more on this.
But I assume you require this
1) there will be an incoming email to the instance
2) now you need a flow to process that and create record
Will let you know if I try and find something on this
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2023 05:17 AM