FluxyAPIFluxyAPI
BlocksOperations & Manipulation

Conversion & Encoding

Convert data types or encode strings (e.g., Base64, Hex).

Conversion & Encoding Block

The Conversion & Encoding Block lets you safely transform data from one type to another, or encode strings into standard formats for transmission or storage.

Configuration

FieldRequiredDescription
Input DataThe data or variable to convert.
OperationThe conversion operation to apply.

Common Operations

  • Type Casting: To String, To Number, To Boolean, Parse JSON.
  • Encoding: To Base64, From Base64, To Hex, From Hex, URL Encode, URL Decode.

Output Variable

Specify a Variable Name to store the output.

Success Payload

The output will be the raw converted string.

"SGVsbG8gV29ybGQ="

(Note: It returns a raw string, not an object.)

Errors & Responses

If an error occurs, the variable will be populated with:

{
  "error_key": "CONVERSION_RUNTIME_ERROR",
  "error_message": "Conversion/encoding operation failed."
}

Common Error Keys: CONVERSION_INPUT_MISSING, CONVERSION_VAR_MISSING, CONVERSION_RUNTIME_ERROR

On this page