Hello,
TLDR: Can't figure out how to forward email attachment to a new recipient. I only have 1 day of experience using MS Flow.
I am trying to create an automated flow which extracts an email address from the body of an email, and then forwards the attachment on the original email to said person. I am having two issues:
Issue#1 - I am using the "SPLIT" expression to locate the email address that is in the body of my email (see HTML code below).
After several expressions that should leave me with only the email address
- last(split(variables('Email Body'),'<td colspan="2">SID - Submitter ID </td>'))
split(variables('EmailStep1'),'<td colspan="2">')
first(split(variables('EmailStep2'),' '))
"<tr>
<td colspan="2">SID - Submitter ID </td>
<td colspan="2">connor.riley@123.com </td>
</tr>"
Eventually, (no matter what i do) i end up with something similar to this screenshot below.
Any recommendations? - Am i using the wrong method to extract the email?

Issue#2 - I'm not sure what function i can use to get my attachment from the original email.
I see a funciton to "get attachment" from an email, but it requires an Email ID which i am not sure how to find.
