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

Get File Content and insert to body of an email

Hi all,

 

I have a flow that on occurence checks a SharePoint Document library for a file and gets it's contents.

 

I'm able to create an email and attach the file to that email no problem however as the document is a Word document I'd like to extract the text from the file and insert it to the body of the email.

 

My flow runs but I just get special characters from the dynamic content onwards.

 

Hope you can help.

 

Scott

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Get File Content and insert to body of an email

Hi @scotth82,

 

I have made a test on my side,and I afraid that there is no any way to get file content from a Word document in sharepoint library.

I afraid that there is no way to achieve your needs in Microsoft Flow currently.

 

If you would like this feature to get file content from a Word document to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

As an alternative way, you could save the document as a text file instead of a Word document in sharepoint,and the you could get the file content from the dynamic content.

 

Best regards,

Alice

 

View solution in original post

3 REPLIES 3
Community Support Team
Community Support Team

Re: Get File Content and insert to body of an email

Hi @scotth82,

 

I have made a test on my side,and I afraid that there is no any way to get file content from a Word document in sharepoint library.

I afraid that there is no way to achieve your needs in Microsoft Flow currently.

 

If you would like this feature to get file content from a Word document to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

As an alternative way, you could save the document as a text file instead of a Word document in sharepoint,and the you could get the file content from the dynamic content.

 

Best regards,

Alice

 

View solution in original post

scotth82
Level: Powered On

Re: Get File Content and insert to body of an email

Thanks Alice.

 

pbunyan22
Level: Powered On

Re: Get File Content and insert to body of an email

What about for pdf's?

I'm having a rough time getting pdf content to show up the body of the email. Is that possible?

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 (4,925)