Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to Parse Email Body text using Inbound Email in flow designer

Biso_Boby
Tera Contributor

I have a requirement to auto submit a catalog item, based on the inbound email content.  I have seen few links but seems they are all for plain text. 

 

I get the data in below table format, need to retrieve those field values and map it to catalog variables and submit the catalog item.

 

Contract ID4566
Contract NameTest
VendorTestXYZ

 

Can someone please assist.

 

@Ankur Bawiskar @Sandeep Rajput @Dr Atul G- LNG 

6 REPLIES 6

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Biso_Boby To be frank, email parsing is not a reliable option. If a user changes the format or adds extra words here and there, the logic can easily break. However, since ServiceNow has changed this feature, you can try the links shared by other members in the thread.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Rafael Batistot
Kilo Patron

Hi @Biso_Boby 

Try use:

RafaelBatistot_0-1759141597402.png
https://checksumfailed.com/tools/parseemail/

 

If you found this response helpful, please mark it as Helpful. If it fully answered your question, consider marking it as Correct. Doing so helps other users find accurate and useful information more easily.