cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
2mcBart
Level: Powered On

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
Community Support Team
Community Support Team

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.
2 REPLIES 2
Community Support Team
Community Support Team

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.
2mcBart
Level: Powered On

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

Works, thx helps a lot

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 350 members 5,166 guests
Please welcome our newest community members: