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

Chirag A
Kilo Expert

Hi Mark,

Yes, that's true. You will just get the plain body text from email object. You need to build your own string parser for your custom properties that you are looking for.

 

Chirag A

Servicenow Dev

aavenir.com

That would be a sad thing though exactly what I'm expecting at this moment 😞 For now I'll stick to the "old" Inbound Actions. Maybe the Paris release brings some improvement on this?

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

Hi,

Yes the are not converted to an email variable in flow designer. So Yes normal plain text.


I have submitted an idea for this.


Thanks,

Ashutosh

What's the link for your idea so we can upvote it?