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
v-yuazh-msft
Community Support
Community Support

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

4 REPLIES 4
v-yuazh-msft
Community Support
Community Support

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

 

Thanks Alice.

 

Anonymous
Not applicable

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?

Hi, 
did you find a solution for this? 

I'm also struggling to get contents of a PDF file. 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,248)