Parse Email subject via flow designer

TylerJ333505898
Tera Contributor

Is there a way i can use flow designer to parse the email subject? 

I have a inbound email triggering a flow based on sender and subject. This flow should submit a catalog item with different values from the subject into different variables. the body of the email does not show the values as its in a image and the only way i cant think of is via the subject. 

 

Currently the subject contains this:   Approved: Termination for John Smith, 123456 (2026-07-05)

I have three variables on a catalog item that are the below 

User Being Termed: (I would like it to show john smith)

Employee Number: (should be the 123456 above) 

 

Term Date: (Should be date in () (2026-07-05)

is this possible to do via flow designer? if so any pointers in how to would be helpful. 

2 REPLIES 2

Gangadhar Ravi
Giga Sage
Giga Sage

@TylerJ333505898  Please check if this share project is useful.

https://developer.servicenow.com/connect.do#!/share/contents/8408077_parse_email_flow_action?v=2.4&t...

 

Please mark my answer correct and helpful if this works for you.

I installed this one but i cant see to get it to work since the email body is a image not text. i havnt figured out yet how to separate the subject into each variable.