web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Extract text data from...
Power Automate
Unanswered

Extract text data from the docx file from sharepoint

(0) ShareShare
ReportReport
Posted on by 4

hey guys I am actually working with the power automate .From the SharePoint shared Document/MVP_Coe I need to extract the text from the documents whenever a file gets uploaded. How can I actually convert the output of get file content base64 string to the original text (text inside the document). Can anybody help me with this part.WhatsApp Image 2024-01-24 at 2.56.52 PM.jpeg

 

WhatsApp Image 2024-01-24 at 2.56.53 PM.jpeg

 

WhatsApp Image 2024-01-24 at 2.56.53 PM (1).jpeg

 

WhatsApp Image 2024-01-24 at 2.56.53 PM (2).jpeg

 the base64tostring functions expression is :base64toString(outputs('Get_file_content')?['body'])

 

but it shows error.

@ManishSolanki  @Pstork1 

Categories:
I have the same question (0)
  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @Nivitha_16 

     

    Pls try below expression:

    base64toString(outputs('Get_file_content')?['body']?['$content'])

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

  • Nivitha_16 Profile Picture
    4 on at

    May i Know why am i getting the input and output like this after adding the expression

    base64toString(outputs('Get_file_content')?['body']?['$content'])

    WhatsApp Image 2024-01-24 at 4.14.54 PM.jpeg

  • Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    DOCX files are actually .zip containers that hold an XMl document.  Here's an article on how to get at the content in a Docx. Extract text from Word docx files with Power Automate (tachytelic.net)

  • Nivitha_16 Profile Picture
    4 on at

    Is there a way to do this extracting text from the word docx file from sharepoint folder path why because my use case it to save the docx file in sharepoint from there I need to extract the text. The trigger and flow i have mentioned above.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard