Working with the clipboard
Power Automate Desktop can send keyboard input as hardware input, so it can reproduce user operations such as copy and paste. By using actions, you can also work with the clipboard directly.
Also, if your flow handles sensitive information, data that shouldn’t be seen may be left behind on the clipboard.
This article summarizes the built-in Power Automate Desktop actions for working with the clipboard.
Get clipboard text
Section titled “Get clipboard text”This action stores the text data on the clipboard at the time it runs in a variable.

The action can fail with an error if it can’t get the clipboard contents, so be ready for errors with error handling such as an “On block error” block.
Set clipboard text
Section titled “Set clipboard text”This action lets you overwrite the clipboard value directly.

This action can also fail with an error if it can’t set the clipboard contents.
Clear clipboard contents
Section titled “Clear clipboard contents”This action deletes the clipboard value at the time it runs.

If you run the “Get clipboard text” action described above after this action, you’ll see that an empty string is stored.
This action never fails with an error.