Parsing email body with Inbound Email Flows

Mark Roethof
Tera Patron
Tera Patron

Hi all,

Just playing around a bit with Inbound Email Flows. To get a feeling for moving from Inbound Actions to Inbound Email Flows. Setting up an Inbound Email Flow works pretty quick, Incoming mail is processed, no worries.

Though…
What about parsing the email body? With Inbound Actions you could use something like "current.body.number", "current.body.something", to get the value on a line in your email body after for example "Number: ", "Something: ", etc..

How to achieve this with Inbound Email Flows?
I tried using for example:
fd_data.trigger.body.number;
fd_data.trigger.body_text.number;

Only this just returns null.

Any ideas? Or is it just like this does not work for Inbound Email Flows and you would need to parse the whole body_text or body?

Kind regards,
Mark

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

1 ACCEPTED SOLUTION

Mark Roethof
Tera Patron
Tera Patron

Also with Paris no proper solution for this. Or solution... stick with old school Inbound Actions.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

18 REPLIES 18

Hi Chirag,

we are in Quebec, is there any new feedback or tools in flow designer that we can use to parse HTML body ?

 

Thank you 

Bch

Mark Roethof
Tera Patron
Tera Patron

Also with Paris no proper solution for this. Or solution... stick with old school Inbound Actions.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Hi Mark, 

 

I am trying to accomplish similar goal, and run into this post. Is it still the case as of now. I am on Orlando. Also, I would like to trigger REST request by the inbound email in the flow designer. The REST POST request  body param value will be fetched from the key value pair in the inbound email body.

 

Thanks,

Nancy

Just spent hours on this in Quebec to no avail.

I was hoping maybe the in-line script editor would work, but I'm using the email body to populate catalog variables, and guess which objects dn't have access to in-line editor in flow designer.

😞

Jonah Piascik
Tera Expert

Haven't tried this yet, but was just searching for this exact functionality and stumbled on this post and this share project on developer...

Parse Email Flow Action - Share | ServiceNow Developers

I may give it a go tomorrow...