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

View solution in original post

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.

View solution in original post

2mcBart
Level: Powered On

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

Works, thx helps a lot

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

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 Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,181)