
Announcements
Hi all,
Complete PowerAutomate novice here, but I'm really trying to learn! I've spent the best part of 2 days trying to get the correct text from an email into a Microsoft Excel table.
I think the problem is stemming because the email body contains a "security notice" before the relevant text, and I'm struggling to find an expression to just pick the relevant text.
Here's what I'm trying to do:
Email gets sent to set email address.
The format is:
CAUTION: — This email originated from outside of the organisation. Do not click
links or open attachments unless you are sure the content is safe even if you
know the sender.
Name: Test
Date of Birth: 20/10/1980
Location: United Kingdom
I've then created a spreadsheet with a table that has the relevant rows added.
I've tried expression:
Hi @OwenJP90
There are a couple ways but first I would
split by ': '
Thats colon space
with that you should get the name value Test in the [3] spot.
Try that. Either way, once you split by that, you can see the output of the Compose where you do the split and verify where Test is.
If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others
Cheers
Thank You
Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
https://gernaeysoftware.com
LinkedIn: https://www.linkedin.com/in/michaelgernaey