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 / Retrieve file content ...
Power Automate
Unanswered

Retrieve file content from SharePoint

(0) ShareShare
ReportReport
Posted on by 8

Hi everyone,

I'm currently creating a chatbot using Copilot Studio that involves calling a Power Automate flow to get certain file content from SharePoint. The flow retrieves the file content and uses it further as a string.

 

The files I'm working with can be in PDF or Word format. I have a URL to access the file in SharePoint.

 

However, I'm encountering an issue with the output from the Power Automate flow. The output seems to be in a bunch of characters (instead of the file content), which I can't use as a string.

 

Could someone help me transform the file content from SharePoint into a usable string?

 

A screenshot of my flow:

retrieve file flow.jpg

This is the response, example of a file content:

response.png

 

Thank you!

Categories:
I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at

    Hi @lena112 

     

    see whether this helps 🙂

     

    https://www.tachytelic.net/2021/05/power-automate-extract-text-from-word-docx-file/

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

  • lena112 Profile Picture
    8 on at

    Thanks, but some of my files are pdf. What do i do with them? 

    And this method has many steps, is there a shorter method? 

  • Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at

    Hi @lena112 

     

    for PDF Files > you need to try with ai builder or any other premium connectors to extract the text, the extraction of word/pdf document should be done on basis of file type, if file type = pdf> then follow the path for extracting pdf data , else go with word document extraction data.

     

    Also i could not find any other option apart from this to extract text from word documents , else you have to use premium connectors for this purposes.

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard