cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
scotth82 Helper II
Helper II

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

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

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 Helper II
Helper II

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

Thanks Alice.

 

Highlighted
pbunyan22
Frequent Visitor

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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: 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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (7,881)