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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Passing file from Powe...
Power Automate
Unanswered

Passing file from Power Automate Desktop to cloud flow through output variable

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a file in Power Automate Desktop (jpeg from a screenshot) that I am saving to a temp file. I am setting an output variable to be the file, and then reading that file in a cloud flow.

 

However, in the cloud flow all I get is the file path, rather than the actual content. Is there any way to pass the file content with the output variable?

 

Thanks in advance!

  • fraenK Profile Picture
    2,125 on at

    Just store the file within a locally synced OneDrive or Sharepoint library so you can access it through cloud flows.

     

  • damonroy Profile Picture
    Microsoft Employee on at

    Thanks fraenK! I was trying to avoid having the OneDrive sync client logged-in and running on the desktop, and the associated connection/access in the cloud flow, but that should work.

  • fraenK Profile Picture
    2,125 on at

    Alternatively you could upload the file using a browser, but that's much more complex

  • edgetrader Profile Picture
    4 on at

    One issue I’ve encountered is that I save a file using power automate desktop, then grab it as attachment in a flow. But the file hasn’t synched yet, so I get an old file. Is there any way to force a re-synch? Or, as this post originally asked — return the file content and meta data to the flow as a variable…so that I can assure that I have the most recent version? 

  • LW2016 Profile Picture
    30 on at

    I am having this same issue - were you able to find a solution?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I'm often passing the filename to the PAD desktop and then getting the file using "Get files". Often no file is retrieved because onedrive is still syncing. My current workaround is using a loop that retries the desktop flow until the file is located. This isn't perfect; I'm looking for a better way. 
    Update -> I'm looking into one PA Online flow to save the file; then a 2nd file using the trigger "On File Created". 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Here's a solution. Might not be pretty but it works.  -> 

    Ashleypettit1_0-1662687967300.png

     

  • comsys Profile Picture
    73 on at

    Create a File In a Document Library like this, then in cloud flow When SharePoint Item is Created can obtain it as a variable and process it.

     

    comsys_0-1713746929374.png

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 132

Last 30 days Overall leaderboard