Desktop Flows and RPA in Power Automate

·By Elysiate·Updated May 6, 2026·
workflow-automation-integrationsworkflow-automationintegrationspower-automatemicrosoft-automation
·

Level: intermediate · ~16 min read · Intent: informational

Key takeaways

  • Desktop flows are Power Automate's robotic process automation layer for automating tasks on the web, desktop, and legacy applications when connectors or APIs are not enough.
  • They are strongest when the workflow must interact with a user interface directly, but they are usually less stable than cloud-first API automation.
  • The biggest design choice is attended versus unattended execution. That choice affects licensing, machine setup, security, and operational risk.
  • Strong desktop automation depends on environment control, selectors, permissions, session handling, and realistic recovery plans, not just recording clicks.

FAQ

What are desktop flows in Power Automate?
Desktop flows are Power Automate's RPA workflows for automating rule-based tasks on websites, desktop software, and legacy applications by interacting with the UI.
When should a team use desktop flows?
Teams should use desktop flows when the target system lacks a usable connector or API, or when the process genuinely requires desktop or browser UI interaction.
What is the difference between attended and unattended desktop flows?
Attended runs happen with a user context on a machine, while unattended runs are triggered without human supervision and require stricter machine, licensing, and session setup.
What is the biggest risk with desktop RPA?
The biggest risk is brittleness. UI changes, display differences, locked sessions, permissions, or timing issues can break flows more easily than API-based automation.
0

Desktop flows are the part of Power Automate that make the platform feel larger than a connector library.

They let teams automate work that still happens in desktop software, browser interfaces, and older systems that do not expose clean APIs.

That is exactly why they are powerful and exactly why they need more discipline.

Why this lesson matters

Many business processes still depend on:

  • legacy internal apps
  • desktop software
  • browser steps that are not exposed through connectors
  • file system tasks
  • manual data entry across screens

Cloud automation alone cannot always reach those systems cleanly.

Desktop flows matter because they fill that gap. They also introduce a different class of reliability and environment risk than API-first automation.

The short answer

Use desktop flows when the workflow genuinely needs UI-level automation on the web or desktop.

Prefer cloud flows when the target system already has a good connector, API, or event model.

Desktop RPA is strongest when it is solving a real access gap, not when it is being used out of habit.

What desktop flows actually are

Microsoft describes desktop flows as its robotic process automation layer for repetitive desktop processes.

In practice, that means the flow can:

  • click buttons
  • enter text
  • read or move data between screens
  • automate browser or desktop tasks
  • interact with applications that do not expose a modern API

This makes desktop flows valuable for bridging older systems into broader automation.

Desktop flows are best for systems connectors cannot reach

That is the key use case.

Good fits include:

  • legacy apps
  • browser-only processes
  • internal tools with weak integration options
  • desktop software that still drives part of the business process
  • semi-manual back-office workflows

If the same workflow can be done cleanly through a connector or API, that is usually the safer option.

Attended versus unattended changes the whole operating model

This is one of the most important distinctions.

Attended desktop automation is closer to a user-assisted workflow.

Unattended desktop automation is closer to a production automation system that needs:

  • machine setup
  • secure credentials
  • proper session handling
  • stronger recovery thinking
  • the right license and connection model

Microsoft's current docs also note that unattended runs create a remote desktop session and have specific constraints around active user sessions, screen resolution, and supported privileges.

That means the flow design cannot ignore the machine environment.

Desktop flows often work best when a cloud flow orchestrates them

A healthy pattern is:

  • cloud flow decides when automation should run
  • desktop flow handles the UI-only step
  • cloud flow receives outputs or continues orchestration afterward

This keeps the desktop layer narrow and purposeful.

That is usually much safer than building a giant end-to-end process entirely at the UI level.

Reliability is mostly an environment problem

This is what many teams learn after their first few desktop flows.

Failures often come from:

  • screen resolution differences
  • timing issues
  • selector drift
  • login state changes
  • permission problems
  • unexpected pop-ups
  • machine session conflicts

The automation is not just code or configuration. It is a dependency on a controlled runtime environment.

Good desktop RPA uses selectors and guardrails, not just recordings

Recording can be a helpful starting point. It is not enough for serious automation.

Strong desktop flows usually need:

  • robust selectors
  • validation steps
  • waits and checks
  • clear error handling
  • careful assumptions about windows, focus, and session state

That is what makes the flow survivable after the first UI change.

Common mistakes

Mistake 1: Using desktop flows when a connector or API already solves the job

That adds fragility for no reason.

Mistake 2: Treating unattended automation like attended automation without changing the design

The session and machine constraints are different.

Mistake 3: Automating clicks without validating the environment

UI automation breaks quickly when assumptions stay implicit.

Mistake 4: Letting one desktop flow own too much business logic

Keep the UI layer narrow when possible.

Mistake 5: Ignoring recovery and support expectations

Desktop RPA should always be designed as something that can fail in production.

Final checklist

Before using desktop flows and RPA in Power Automate, ask:

  1. Does this process really require UI-level automation?
  2. Is there a better connector or API-based alternative?
  3. Will the flow run attended or unattended?
  4. Is the target machine environment controlled well enough?
  5. What happens if the UI changes or the session state differs?
  6. Can the desktop layer stay narrow while cloud flows handle broader orchestration?

If those answers are clear, desktop automation can be a strong addition rather than a brittle workaround.

FAQ

What are desktop flows in Power Automate?

Desktop flows are Power Automate's RPA workflows for automating rule-based tasks on websites, desktop software, and legacy applications by interacting with the UI.

When should a team use desktop flows?

Teams should use desktop flows when the target system lacks a usable connector or API, or when the process genuinely requires desktop or browser UI interaction.

What is the difference between attended and unattended desktop flows?

Attended runs happen with a user context on a machine, while unattended runs are triggered without human supervision and require stricter machine, licensing, and session setup.

What is the biggest risk with desktop RPA?

The biggest risk is brittleness. UI changes, display differences, locked sessions, permissions, or timing issues can break flows more easily than API-based automation.

Final thoughts

Desktop flows are most valuable when they solve the last-mile automation gap that cloud connectors cannot reach.

They work best when the team treats the desktop environment as part of the system, not as an afterthought.

About the author

Elysiate publishes practical guides and privacy-first tools for data workflows, developer tooling, SEO, and product engineering.

Related posts