cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Add document from sharepoint library as an attachment in email

Experts ....

I am building a flow with a kind of on-boarding proces.
The flow must sent an email with existing files as an attachment.

Example, there is a file "EmployeeBenefits" in a sharepoint library, this file must be sent as an attchment to an email address.
Created a flow to send a email, but how and where can i simply add the file as an attachment ?
Please advise.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Add document from sharepoint library as an attachment in email

Hi @2mcBart ,

 

Now that you have specified the file, you could get its file name and file content directly, and then configure Send email action. This is also the most common method at present.

 

  • Use Get file metadata using path to get the file name of the file, specifying the file path.
  • Similarly, use Get file content using path to get the file content.
  • Finally, the file name and file content are configured in Send an email action.

 

Image reference:

12.PNG

Please take a try.

 

Best Regards,

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

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Add document from sharepoint library as an attachment in email

Hi @2mcBart ,

 

Now that you have specified the file, you could get its file name and file content directly, and then configure Send email action. This is also the most common method at present.

 

  • Use Get file metadata using path to get the file name of the file, specifying the file path.
  • Similarly, use Get file content using path to get the file content.
  • Finally, the file name and file content are configured in Send an email action.

 

Image reference:

12.PNG

Please take a try.

 

Best Regards,

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

View solution in original post

Highlighted
Frequent Visitor

Re: Add document from sharepoint library as an attachment in email

Works, thx helps a lot

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (7,575)