Get started with a work or school account

Power Automate enables users to automate repetitive desktop tasks through a collection of premade actions.

Using the available actions and built-in recorder, you can automate any business procedure, such as filling forms, retrieving data from the web or desktop applications, and sending standardized emails.

Combining these features allows you to create robust flows that disengage humans from repetitive, unproductive procedures. Tasks like copying data across different systems are common in business environments, and Power Automate can entirely handle them.

Apart from third-party applications, Power Automate automates integrated Windows applications and features. Creating backups of critical files and running diagnostics or custom scripts can be performed effectively through desktop flows.

Using Power Automate with a work or school account is available at no extra cost. To use Power Automate for desktop, your default environment must contain a Dataverse database. To unlock more RPA features, such as running flows automatically, premium cloud connectors, and flow sharing and monitoring, start a trial or upgrade to an Organization premium account.

To start a trial, select Go premium on the Power Automate console.

Flow example

To become familiar with the available features of Power Automate, follow the steps below to create a desktop flow.

The presented flow copies all the files located in the documents folder and creates a backup to a secondary drive. The original location of each file is appended to an existing log file.

Note

To implement this example, a secondary drive has to be connected to your machine. If a secondary drive isn't available, select a different destination folder for the files.

To create the desktop flow:

  1. Launch Power Automate and select the New flow button in the Console.

    Screenshot of the New flow button in the console.

  2. Enter a name for the flow and then select Create. In this example, the name of the flow is Backup flow.

    Screenshot of the Build a flow dialog.

  3. When the flow designer is open, add the Get special folder action in the workspace and retrieve the path of the documents folder.

    Screenshot of the Get special folder action.

  4. Add the Get files in folder action to retrieve all the files located in the previously retrieved folder. Optionally, set the action to retrieve the files located in subfolders of the selected folder.

    Screenshot of the Get files in folder action.

  5. Deploy a For each loop to access and handle each file of the retrieved list independently.

    Screenshot of a For each loop.

  6. Inside the For each loop, add the Get file path part action to retrieve the path of the currently selected file.

    Screenshot of the Get file path part action.

  7. Add the Copy file action to copy the currently selected file to the desired location. In this example, the destination folder is called Backup and it's located in the D drive.

    Note

    If a secondary drive isn't available, select a different destination folder for the copied file.

    Screenshot of the Copy file action.

  8. Use the Write text to file action to append a new registry in the log file. In this example, the file is called Logs.txt, and each registry contains the original path of the copied file.

    Screenshot of the Write text to file action.

  9. To test if the flow runs as expected, select the Run button on the upper part of the flow designer.

  10. To check how every single action is implemented, run the flow step by step using the Run next action button.

  11. If the flow runs as expected, select Save and close the flow designer window.

    Screenshot of the final flow, and the Run, Run next action, and Save buttons.

  12. Now, you can run your flow directly using the Run button in the console. To stop the flow before its completion, select Stop.

    Screenshot of the Run and Stop buttons in the console.

Next Steps