I am New to power automate and am running into some issues,
I have an email getting sent to a Email address and i am trying to only take from that email what i need.
The issue i am facing is that i have some fields that contain errors but they all have the same Delimitators, i will put an example bellow
This one was simple as the Start and finish are different but these names are not used in the HTML anyware elce.
OriginalMessageId>11123853</OriginalMessageId
But these are were i am having issues. what i would like it to show is bellow the 4 lines of HTML from the email
What the HTML is
<Issue type="2025">Payment 70066391 successfully uploaded from a file.</Issue>
<Issue type="2025">Payment 70066391 successfully uploaded from a file.</Issue>
<Issue type="104503">Payment successfully validated.</Issue>
<Issue type="181002">Payment has passed Account Validation.</Issue>
What i would like it to look like
70066391 successfully uploaded from a file.
70066391 successfully uploaded from a file.
Payment successfully validated.
Payment has passed Account Validation.
now in Power automate i can get one of these to work with the following config but cannot get it to do them all what am i missing
Initialize variable
Name = EmailStep12
last(split(Variables('EmailBody'),'<Issue type="'))
Initialize Variable
Name = EmailStep13Issue
first(split(variables('EmailStep12'),'</Issue>'))
Then Putting the Variable EmailStep13Issue into the Body of the email i send.
Now even if i copy this it only Duplicates the same error being Printed.
Any Help would be awsome.