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

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (3,482)