I found this little trick to quickly convert a string to base64 and decode it back if needed inside Orchestrator.
Note The Base64 encoding technique is a method to convert data, including binary data sets, into ASCII character sets. It is necessary to realize that base64 encoding is not a method to compress or encrypt data.
Simply, inside an action or workflow, Select Runtime Environment as Node.js 18 and paste this script. This will convert plainString to base64 format.
That’s exactly same with the result I got from base64encode.org
You can convert the base64 encoded string back to plain string using this script inside a Node.js 18 action.