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 / Interact with Desktop ...
Power Automate
Unanswered

Interact with Desktop flow from a Cloud flow

(0) ShareShare
ReportReport
Posted on by 21

Scheduling a desktop flow via a cloud flow, however at the beginning of my desktop flow there are choices that do different things. 

I would preferably like to be able set the value of a variable from the cloud flow but I'm not sure if that's possible as the value of said variable decides what route to go via IF statements.  

 

Thanks!

  • VJR Profile Picture
    7,635 on at

    Hi @BkingstonGTI 

    In the Desktop Flow take an Input variable.

    This variable will show up in the Cloud flow when you use the "Run a Desktop Flow" connector.

    Pass the value of that variable from the Cloud Flow

    Read that variable value in the Desktop flow and navigate your If statements accordingly.

  • BkingstonGTI Profile Picture
    21 on at

    I've basically never used cloud flows, not sure how to make a variable from the desktop flow to appear in the cloud flow. What connectors or whatever id need to use to pull data from my desktop flow.

     

    Thanks

  • VJR Profile Picture
    7,635 on at

    These free Microsoft Learn tutorials will help you on how to add input variables and use between Desktop and Cloud flows.

    https://docs.microsoft.com/en-us/learn/modules/input-parameters/

     

    Connect a cloud flow to desktop flows in Power Automate for desktop

    https://docs.microsoft.com/en-us/learn/modules/gateway-desktop-flow/

     

     

     

  • VJR Profile Picture
    7,635 on at
  • BkingstonGTI Profile Picture
    21 on at

    Not super resourceful, i understand everything in there, i just need to know how to set a variable within a cloud flow that my desktop flow can read. 

  • VJR Profile Picture
    7,635 on at

    - Add an Input variable in Desktop Flow as shown here

    https://docs.microsoft.com/en-us/learn/modules/input-parameters/3-define-input-variable

     

    - Create your Cloud Flow in www.flow.microsoft.com

    https://docs.microsoft.com/en-us/learn/modules/gateway-desktop-flow/4-cloud-flow

     

    - The Input variables that you added in Desktop Flow shows up in the Cloud Flow

    https://docs.microsoft.com/en-us/learn/modules/gateway-desktop-flow/5-cloud-desktop

     

    As an example, the red marked ones are the Input parameters created in Desktop Flows but showing up on Cloud Flows

     

    Instead of hard coded values here, you can also use variables from the Dynamic Content available in Cloud Flows.

     

    VJR_2-1651201632386.png

     

     

    - The above 3 variables will be available in your Desktop flows

    and this is the one you need to read and navigate in your If statements.

     

     

    In order to have a connection between Cloud and Desktop Flows there needs to be a Gateway setup

    Create Gateway:

    https://docs.microsoft.com/en-us/learn/modules/gateway-desktop-flow/3-gateway-connection

     

     

     

    All of these are taken from the links that I shared with you earlier.

    So which is the part that is not clear?

     

    --------------------------------------------------------------------------------------------------------------------

    Alternatively,

    This link has everything explained.

    var1 is the variable created in Desktop flows -> Then value passed from Cloud flows 

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    This should do what you're looking for. Basically you want to start your desktop flow from a cloud trigger. You can add user inputs as part of starting the flow. You'll have corresponding input variables in your desktop flow. When calling your desktop flow to start, you can assign your inputs to the desktop variables. The desktop flow will then be able to use these during its automation. 

    (ignore my error message)
    jarnolky_0-1651413610613.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