I have a project where part of the project is to parse emails that come in from an internet-facing form. The emails that are coming in are textually the same (except for the responses) so there will be specific delimited strings.
For the flow I start with the trigger (incoming email based on Subject), initialize a few variables, and then do HTML-to-text. This is some output from that step with some information redacted:
First NameJoe Last NameSchmo Address316 Pierce AveCityAnywhere Zip
Code99999Phone Number999 99-9999Email Addressthisemail@outlook.comLocation of
PropertyHere and there
Every email will have the delimiters of 'First Name', 'Last Name', 'Address', 'City', 'Zip', 'Phone Number', 'Email Address', 'Location of Property'. The data between these delimiters will be variable. I understand using substrings in programming, getting the index of the first set of data (the easiest as in this case it would be 10)...but I am wondering if there is an easier way to extract this data from the email without having to write a substring parsing statement that is a mile long.
Thanks for any information.
Solved! Go to Solution.
Take a look at the split() expression. It will be ugly, but using a series of split expressions might be the easiest way. The delimiter in a split expression can be a series of characters - i.e. 'First Name', 'Zip', etc..
Take a look at the split() expression. It will be ugly, but using a series of split expressions might be the easiest way. The delimiter in a split expression can be a series of characters - i.e. 'First Name', 'Zip', etc..
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
12 | |
9 | |
8 | |
6 | |
4 |
User | Count |
---|---|
19 | |
19 | |
17 | |
9 | |
7 |