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:

This is the response, example of a file content:

Thank you!