Documents

File To Base64

2min

Overview

Use this action to convert the content of a File variable to a Base64 string.

How to configure the File to Base64 action?

Step 1. Create a process and give it a name.

Step 2. Drag the File to Base64 action to the canvas and link it to the other actions.

Document image


Step 3. Create the variables needed for the configuration of the action, and then add them to the configuration panel:

Document image


File: you need to input the File where the content will be read from

Base64 content: the output contains the content converted to base64 string format



Step 4. Save, Validate and Run the process.

Step 5. You will be prompted to add the file for our input variable. Click Run.

Step 6. To verify the process click Check instance.

Step 7. In the Output section, you can see the base64Content variable with the file's content converted to base64 string format.

Updated 30 Jan 2024
Doc contributor
Doc contributor
Did this page help you?