Notifications
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 522 Super User 2025 Season 2
Tomac 364 Moderator
abm abm 243 Most Valuable Professional