FluxyAPIFluxyAPI
BlocksOperations & Manipulation

Case Format

Convert text between different casing styles like UPPERCASE, lowercase, camelCase, etc.

Case Format Block

The Case Format Block allows you to standardise and transform the casing of string variables. This is especially useful when normalizing user input or preparing keys for database storage.

Configuration

FieldRequiredDescription
Input StringThe text to be transformed.
FormatThe target casing style.

Supported Formats

  • UPPERCASE — Converts all characters to uppercase.
  • lowercase — Converts all characters to lowercase.
  • camelCase — e.g., myVariableName.
  • PascalCase — e.g., MyVariableName.
  • snake_case — e.g., my_variable_name.
  • kebab-case — e.g., my-variable-name.

Output Variable

Specify a Variable Name to store the formatted string.

Success Payload

The output will be the raw formatted string.

"theFormattedString"

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

Errors & Responses

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

{
  "error_key": "CASE_INPUT_MISSING",
  "error_message": "Input string is required."
}

Common Error Keys: CASE_INPUT_MISSING, CASE_VAR_MISSING, CASE_RUNTIME_ERROR

On this page