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 / Pass a file from Power...
Power Automate
Suggested Answer

Pass a file from PowerAutomate back to PowerApps

(0) ShareShare
ReportReport
Posted on by 47
So I have an app and I create an array of data and pass it back as a collection. I have people creating new files in the app as well. When they are attaching a document using the attachment datacard there is no problem everything works fine. 
 
I need help understanding how to pass back a single file (with the blob) back to PowerApps. Creating new documents is easy. But bringing a document back for review is the problem. I have them follow the steps to indicate what file they want and if they have the right permissions I easily get all the metadata back on the file but I can't get the file content to come back into PowerApps correctly. I used base64 and more and when I try to pass the it back into PowerAutomate it fails. 
 
Whole point is I want to reduce the time to retrieve the file. If I can't figure this out I have to retrieve the file in PowerAutomate create a copy and then add the metadata and I'm just looking for a more streamlined process. 
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,433 Super User 2025 Season 2 on at
     
    Can I ask, if they have permission to the file, why not simply use Launch of Download in the Power Apps.
     
    Pass back the URI/URL and launch it or download it.
     
    Is there a real reason to grab the content just to pass it back, which BTW will NOT be seen as a file.
     
    Just point them to where the document is, that or make a copy somewhere based on the requested file and let them read it there.
  • danielleh Profile Picture
    47 on at
    @michael

    The user may or may not have permissions for the file. If they do it pulls back a JSON with all the data included for the document everything but the file (because I can't get it into a blob). Then what I've been doing is downstream if they were able to pull it then to grab the document duplicate it for the next version and allow them to work on it. 

    Wanted to grab the file at the same time if it's possible to avoid the Get files and using the filter etc to get the contents. Just for efficiency. 
  • narayan225 Profile Picture
    2,547 Super User 2025 Season 2 on at
     
    You can follow the following article.
     
    This should help you make it happens.
     
    Hope this helps.
    Cheers!

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

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard