I am currently trying to retrieve anything that comes after 'Company Name: ' up until 'E-Mail Address'.
I have tried substring(body('Html_to_text'),add(lastIndexOf(body('Html_to_text'),'Company Name: '), 14),14)
But this ends up giving me 'E-' in the return, and every email trigger is going to have a different length company name.
Here is a sample example of an e-mail trigger the flow will recieve:
---------------------------------------------------------------------------
See communication from Sana contact us form below:
Reason: Question
Product URL for sample request: Paste product URL here for sample requests
Name: Mike Lester O-Neal
Company name: Test 1025 2
E-mail address: Powerautomate@gmail.com
Phone number: 704194352
Street address: 123 Chicken Lane
City: Austin
State: Texas
Zip code: 00000
Business segment:
Current customer:
How did you hear about us:
Comments:
53463634
---------------------------------------------------
