CRYPTO Base64 decode function

The CRYPTO Base64 decode function in RPA.

Help CentreFunctions & Formulas

This article describes the RPA Crypto functionality to decode Base64 to text.

For a full list of available functions, please read CRYPTO functions.


Description

The Base64 decode function converts a Base64-encoded string back to its original text. This is commonly used to decode API responses that return data in Base64 format.


Setting it up

To use the Base64 decode function, follow these instructions:

{{popups:rpas/add:action=crypto-base64-decode}}

Once on a process map:

  1. Navigate to the process where you would like to add the Base64 decode function
  2. Click on the green button’s drop-down (right side of the green button labelled “Process”)
  3. On the menu that appears, click on the “+ Activity” item
  4. From here you can select the CRYPTO Base64 decode option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
TextYesText-The Base64-encoded text to decode
VariableNoTextdecodedVariable name to store the decoded result

Output variables

VariableTypeDescription
{decoded}StringThe decoded text

Errors

ErrorDescription
Invalid Base64The input is not valid Base64-encoded text

Tips

  • Use to decode API responses that return data in Base64 format
  • If decoding fails, verify the input is properly Base64-encoded

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.