Announcements
Power Automate Desktop has a built-in action called Get random text which you can use to create a GUID-like string.
Steps:
Add the Get random text action:
Random text length: 32 (or any length you prefer)
Text type: Alphanumeric
Output to variable: e.g., %UniqueID%
%UniqueID%
(Optional) Format it to look like a GUID:
You can insert dashes to make it look like: 8-4-4-4-12
8-4-4-4-12
For example, you can:
Use Substring to split parts
Use Set Variable to concatenate with -
-
Example: If you want something simpler, you can just keep it as a 32-character string, which is unique enough for file references.
If you prefer a real GUID format, here’s a PowerShell trick that’s super reliable.
Add Run PowerShell Script action:
[guid]::NewGuid().ToString()
Store the result in a variable, e.g., %UniqueID%
This returns:
7a8b9c12-3456-7890-abcd-ef1234567890
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Haque 523
Valantis 318
David_MA 235 Super User 2026 Season 1