FluxyAPIFluxyAPI
BlocksOperations & Manipulation

String Transform

Perform advanced string manipulation like splitting, joining, or trimming.

String Transform Block

The String Transform Block provides common programming string methods to manipulate text variables in your flow.

Configuration

FieldRequiredDescription
Input StringThe text to transform.
OperationThe type of transformation.

Supported Operations

  • Trim — Removes whitespace from both ends.
  • Split — Splits the string into an Array based on a provided delimiter.
  • Substring — Extracts a portion of the string between two indices.
  • Reverse — Reverses the character order of the string.

Output Variable

Specify a Variable Name to store the output.

Success Payload

If you use split, the result will be an array; otherwise, it will typically be a string.

[
  "part1",
  "part2"
]

Errors & Responses

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

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

Common Error Keys: TRANSFORM_INPUT_MISSING, TRANSFORM_VAR_MISSING, TRANSFORM_RUNTIME_ERROR

On this page