cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SamirPathak
Advocate I
Advocate I

Is there any method to red content of word and pdf file from SharePoint library?

Hi,

 

I am building flow to read content of word or pdf file and analyze it further using Text Analyics service. I am not able to read content of word file using getFileContent, it is not returning me actual content of file which can further act as input to Text Analytcs service. Please help.

6 REPLIES 6
Brad_Groux
Community Champion
Community Champion

If you could provide an expanded screenshot of your Flow and steps, and of any detailed error messages you're receiving we could likely better assist you.

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

v-bacao-msft
Community Support
Community Support

Hi @SamirPathak ,

 

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

Dynamic content- File Content of "Get file content" action would return a binary text representation of the file, there is no suitable way to analyze the binary content within Microsoft Flow currently.

Image reference:

29.PNG

If you would like this feature to get file content with plain text 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

 

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.

 

 

HI @v-bacao-msft 

 

Thanks , Yeah I observed same. Trying to find method to convert binary to text. if not will submit idea soon.

observed another error while passing output of getFileContent to text analytics service to generate key phrases, attached here, please see if it make any sense.

SampleFlow.png

 

Hi @SamirPathak ,

 

The content needed here is Text, but the obtained File content is the already encoded content, and there is currently no suitable method to decode through Flow.

 

In addition, the content of the file displayed here seems to be too large, so there is no way to analyze it.

 

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.

We are also looking for a method to do this. Has there been any progress on this?

HarshadGothal
Regular Visitor

We are also trying to send the mail with the word content is there way to send the word content?

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,681)