Skip to content

Transform

Modify, reshape, and transform data fields. The Transform node lets you apply one or more rules to every item passing through it, changing field values, renaming fields, converting types, and more.

Configuration

You can define up to 20 transform rules. Rules are applied in order, so later rules can build on the results of earlier ones.

Each rule has the following fields:

FieldDescriptionNotes
OperationThe transformation to performRequired. See the full list below. Defaults to Set Value.
FieldThe field path to operate onRequired. Supports dot notation for nested fields, e.g., user.name.
ValueThe value to use for the operationSupports templates (e.g., {{data.first_name}}). Shown for operations that need a value.
ExtraAn additional parameter for certain operationsShown for Replace, Date Format, and Substring.
AlgorithmThe hash algorithm to useShown only for the Hash operation.

Operations

String Operations

OperationDescriptionValueExtra
Set ValueSet the field to a specific valueThe value to set--
UppercaseConvert the field value to uppercase----
LowercaseConvert the field value to lowercase----
TrimRemove leading and trailing whitespace----
ReplaceReplace occurrences of a substringThe text to findThe replacement text
PrependAdd text before the current valueThe text to prepend--
AppendAdd text after the current valueThe text to append--
SlugConvert the value to a URL-friendly slug----
SplitSplit a string into an arrayThe delimiter to split on--
JoinJoin an array into a stringThe delimiter to join with--
SubstringExtract a portion of the stringThe start indexThe end index

Encoding Operations

OperationDescriptionValueExtra
Base64 EncodeEncode the value as Base64----
Base64 DecodeDecode a Base64 string----
HashHash the value using a selected algorithm----

The Hash operation supports these algorithms:

  • SHA-256 (default)
  • SHA-1
  • MD5
  • SHA-512

Numeric Operations

OperationDescriptionValueExtra
RoundRound a number to the nearest integer----
CeilRound a number up----
FloorRound a number down----
AbsoluteGet the absolute value of a number----

Type Conversion Operations

OperationDescriptionValueExtra
To StringConvert the value to a string----
To NumberConvert the value to a number----
To BooleanConvert the value to a boolean----
Parse JSONParse a JSON string into structured data----

Other Operations

OperationDescriptionValueExtra
Remove FieldDelete the field from each item----
Rename FieldRename the field to a new nameThe new field name--
DefaultSet the field only if it is currently empty or missingThe default value--
Date FormatReformat a date stringThe input date formatThe desired output format

Output

The Transform node outputs the modified items on the output handle. The original data structure is preserved -- only the fields targeted by your rules are changed.

TIP

The Value field supports templates. You can reference other fields in the same item using {{data.field_name}} or fields from other nodes in the workflow using {{node-id.field_name}}.

TIP

Use the Default operation to fill in missing values without overwriting existing data. This is useful for normalizing data from sources that may have inconsistent fields.