base64 function. Conversion.(Power Automate Cloud flows)

Japanese version.

This function converts (encodes) text to Base64 (a format in which data is represented as text for sending e-mail, etc.).

However, situations in which conversion to Base64 is necessary are rare.

Spec

base64('<value>')

ArgumentDefaultDescription
valueRequired fieldText to convert.

How to use

In most cases, it is used in the "value" when initializing or setting variables of type "String".

Click on the "Expression" tab, base64, and the function name and () will be set in the expression field.

Click on the button, and if the display looks like the following, the setting is complete.

You can change the function by clicking this purple icon.

As an argument, specify the text to be converted by enclosing it in '.

When dynamic content or variables are used in expressions, special specifications are required.

(How to get dynamic content with expressions.)

Result of base64('123').

---

Links

Conversion Functions(Power Automate Cloud flows)