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
Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,678)