cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
OSabbagh
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:

https://ABC.sharepoint.com/sites/Omar/folder1/FILE1.PDF

https://ABC.sharepoint.com/sites/Omar/folder1/FILE2.PDF

https://ABC.sharepoint.com/sites/Omar/folder1/FILE3.PDF

https://ABC.sharepoint.com/sites/Omar/folder1/FILE4.PDF

 

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 😞

1 ACCEPTED SOLUTION

Accepted Solutions

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

 

 

image.png

View solution in original post

2 REPLIES 2
v-yamao-msft
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.

1.PNG

Hope it could be your reference.

 

Best regards,

Mabel

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.

 

 

image.png

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (1,350)