The FlowSynx Base64 Plugin is a built-in, plug-and-play integration for the FlowSynx automation engine. It enables encoding, decoding, and validation of Base64-encoded data within workflows, with no custom coding required.
This plugin is automatically installed by the FlowSynx engine when selected in the workflow builder. It is not intended for standalone developer usage outside the FlowSynx platform.
The Base64 Plugin allows FlowSynx users to:
- Encode raw data (strings or byte arrays) into Base64 format.
- Decode Base64-encoded data back into its original form.
- Validate whether a given string is properly Base64-encoded.
It integrates seamlessly into FlowSynx no-code/low-code workflows for data transformation and validation tasks.
- encode: Encodes the
Data
parameter into a Base64 string. - decode: Decodes a Base64 string in
Data
back into its original form. - valid: Checks if the
Data
parameter is a valid Base64-encoded string and returns a boolean result.
The plugin accepts the following parameters:
Operation
(string): Required. The type of operation to perform. Supported values areencode
,decode
, andvalid
.Data
(object): Required. The input data to process. Forencode
, this can be a string or byte array. Fordecode
andvalid
, this must be a Base64-encoded string.
{
"Operation": "encode",
"Data": "Hello, FlowSynx!"
}
Input Parameters:
{
"Operation": "encode",
"Data": "Hello, FlowSynx!"
}
Output:
"SGVsbG8sIEZsb3dTeW54IQ=="
Input Parameters:
{
"Operation": "decode",
"Data": "SGVsbG8sIEZsb3dTeW54IQ=="
}
Output:
"Hello, FlowSynx!"
Input Parameters:
{
"Operation": "valid",
"Data": "SGVsbG8sIEZsb3dTeW54IQ=="
}
Output:
true
Example with invalid Base64 string:
{
"Operation": "valid",
"Data": "Not a valid Base64!!"
}
Output:
false
- Add the Base64 plugin to your FlowSynx workflow.
- Set
Operation
to one of:encode
,decode
, orvalid
. - Provide input data in
Data
. - Use the plugin output downstream in your workflow for further processing or decision-making.
- If
decode
fails, ensure theData
parameter contains a valid Base64-encoded string. - The
valid
operation can be used prior todecode
to avoid runtime errors. - For non-UTF8 encoded binary data, make sure your workflow handles byte arrays correctly.
- No data is persisted unless explicitly configured.
- All operations run in a secure sandbox within FlowSynx.
- Only authorized platform users can view or modify configurations.
© FlowSynx. All rights reserved.3