studio-web
latest
false
Studio Web user guide
- Getting started
- For administrators
- RPA workflow projects
- Creating an RPA workflow from an idea
- Creating a project
- How to start an RPA workflow
- Managing project files and folders
- Connecting RPA workflows to your accounts
- Configuring activities
- Managing the activities in a project
- Passing values between activities
- Iterating through items
- Managing the data in a project
- Configuring a project to use your data
- Using file and folder resources
- Local setup for RPA workflow and app projects
- App projects
- Agentic processes
- Maestro Case
- Maestro Flow
- Agents
- Solutions
- API workflows
- Tests
Convert a file into a Base64-encoded string using a native activity in the Studio Web API workflow designer.
The File to Base64 activity converts a file into a Base64-encoded string directly in the API workflow designer, without writing custom JavaScript code.
Use it when a downstream step expects a file as an inline Base64 string, for example when sending an image or audio file to an AI model or API that accepts Base64-encoded payloads.
Using the File to Base64 activity
To add a File to Base64 activity to your workflow:
- On your API workflow designer canvas, select the plus (+) icon. The Add activity menu appears.
- Select More ..., then File to Base64.
- In the Properties panel, configure the input file and the variable that stores the resulting Base64 string.
- Debug the workflow to execute the activity and generate output fields for later use.