Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Send email with attaching file from SharePoint library document

Hey guys,


I want to do the following flow


Trigger -> Email received

in this email's body there will be multiple file paths to a sharepoint. For example:


I need to set an array variable for each path,


then to connect another part of the flow to grab those attachment's located in the paths, then email it.



Please help 😞 im completely lost stuck and don't know where to  begin 😞


Accepted Solutions

Solution to grabbing attachment from sharepoint given file path from email.




View solution in original post

Community Support
Community Support

Hi @OSabbagh,


Do you want to send email with attachments from SharePoint libraries?

If you would like to set a variable for each path, please check the following flow for a reference.

Trigger the flow by a button.

Add the action Initialize variable, make its name to path1, Type to String. And set Value as the path to the file.

Add the action Send an email, insert the path variable to the body likes below, and make sure enable Yes for the Is HTML table.


Hope it could be your reference.


Best regards,


Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Solution to grabbing attachment from sharepoint given file path from email.




Helpful resources

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

AI Builder AMA June 7th carousel (up on May 25th, take down June 8th) (1).png

'Ask Microsoft Anything' about AI Builder!

The AI Builder team invite you to ask questions and provide helpful answers at our next AMA.

Users online (1,550)