@michellebelle In that case you will need to use an expression.
Get the Name
You can use a Compose action to compose your file name. Insert an expression and use the split() function.

Click on the Dynamic content tab and insert the From dynamic content into the split() function.

Add a comma and a < between single quotes.

This function will split the From string of text at the < into an array. To get the first item of the array (which is the name) you'll need to wrap the entire expression in a first() function.
[
"Jane Doe",
"jane@soandso.com>"
]
Press the Up Arrow Key to go to the start of the expression and enter:
first(

Press the Down Arrow Key to go to the end of the expression and insert a closing bracket.

This is what it should look like.

You can use the outputs of this Compose action in your flow where you save the attachment to your OneDrive.
Hope this helps!
If I helped you solve your problem—please mark my post as a solution ✅. Consider giving me a 👍 if you liked my response!
|