Skip to content

Data Operations

The Data Operations node performs a variety of data transformations—such as string joining/splitting, JSON/XML serialization and deserialization, encoding/decoding, date and number conversions, and HTML encoding/decoding—directly within your workflow. It enables versatile, in-place manipulation of data types.


Dependencies

No external service or node dependencies are required for this node.


Operations

OperationDescription
JoinStringArrayJoins an array of strings into one string using the specified delimiter.
SplitStringSplits a single string by delimiter into an array of strings.
ObjectToJsonSerializes an object into its JSON representation.
JsonToObjectDeserializes a JSON string into a .NET object of the specified type.
Base64EncodeEncodes a UTF-8 string to Base64.
Base64DecodeDecodes a Base64 string to UTF-8.
UrlEncodeApplies URL percent-encoding.
UrlDecodeDecodes percent-encoded URL strings.
XmlToJsonParses an XML string into a JSON string.
JsonToXmlConverts a JSON string into an XML document (wrapped in <Root>).
DateToStringFormats a DateTime value into a string using a specified format.
StringToDateParses a string into a DateTime using a format string.
NumberToStringConverts a numeric value to its string representation.
StringToNumberParses a string into a numeric type.
HtmlEncodeEncodes HTML entities in a string.
HtmlDecodeDecodes HTML entities in a string into their literal equivalents.

Input Fields

LabelInput TypeDescriptionRequiredVisible WhenDefaultExample
OperationpicklistThe operation to perform.✅ YesAlwaysnullJoinStringArray
Input ArraytextArray of strings to join.⚠️ When VisibleWhen Operation is JoinStringArraynull["a","b","c"]
DelimitertextDelimiter for joining or splitting strings.⚠️ When VisibleWhen Operation is JoinStringArray or SplitString,,
Input StringtextString to encode/decode or split/convert.⚠️ When VisibleWhen Operation is SplitString, Base64Encode, Base64Decode, UrlEncode, UrlDecode, StringToDate, StringToNumber, HtmlEncode, HtmlDecodenull"This & That"
Input JSONtextJSON string to deserialize or convert.⚠️ When VisibleJsonToObject, JsonToXmlnull{"role":"IT"}
Input XMLtextXML string to convert.⚠️ When VisibleXmlToJsonnull<root><id>1</id></root>
Input ObjecttextObject (variable reference) to serialize to JSON.⚠️ When VisibleObjectToJsonnull{ "Name": "Alice" }
Input DateDateTimeDate to format.⚠️ When VisibleDateToStringnull08/13/2025 11:52:00
Date Formattext.NET date format string (e.g., o, yyyy-MM-dd HH:mm:ss).⚠️ When VisibleDateToString, StringToDateoyyyy-MM-dd
Input NumbertextNumeric value to convert or parse.⚠️ When VisibleNumberToString, StringToNumbernull42
Target TypetextFully qualified .NET type name for deserialization.⚠️ When VisibleJsonToObjectnullSystem.Object
Output Variable NametextName of the variable that stores the result.✅ YesAlwaysnullresultVar

Output

The result of the selected operation is stored in the specified Output Variable Name. This can be referenced by downstream nodes using {VariableName} syntax.


Examples

JoinStringArray – Joins an array of strings using a delimiter.

Joins the array into a single comma-separated string.

FieldValue
Input Array["apple","banana","cherry"]
OperationJoinStringArray
Delimiter,
Output"apple, banana, cherry"
SplitString – Splits a string into an array by delimiter.

Splits the string at commas into separate elements.

FieldValue
Input String"apple,banana,cherry"
OperationSplitString
Delimiter,
Output["apple","banana","cherry"]
ObjectToJson – Serializes an object to JSON.

Serializes a user object into JSON.

FieldValue
Input Object{ "Name": "Alice", "Age": 30 }
OperationObjectToJson
Output{"Name":"Alice","Age":30}
JsonToObject – Deserializes JSON into a .NET object.

Deserializes JSON into a dictionary-like object.

FieldValue
Input JSON{"id":1,"name":"Test"}
OperationJsonToObject
Target TypeSystem.Collections.Generic.Dictionary\2[System.String,System.Object]`
Output{ "id": 1, "name": "Test" } (object)
Base64Encode – Encodes UTF-8 string to Base64.
FieldValue
Input StringHello
OperationBase64Encode
OutputSGVsbG8=
Base64Decode – Decodes Base64 to UTF-8 string.
FieldValue
Input StringU29tZS1kYXRhLTEyMw==
OperationBase64Decode
OutputSome-data-123
UrlEncode – Percent-encodes a string for URLs.
FieldValue
Input StringHello world & good day
OperationUrlEncode
OutputHello%20world%20%26%20good%20day
UrlDecode – Decodes a percent-encoded URL string.
FieldValue
Input Stringname%3DAlice%20Smith%26role%3DAdmin
OperationUrlDecode
Outputname=Alice Smith&role=Admin
XmlToJson – Converts XML to JSON string.
FieldValue
Input XML<user><id>1</id><name>Alice</name></user>
OperationXmlToJson
Output{"user":{"id":"1","name":"Alice"}}</code></span>
JsonToXml – Converts JSON to XML (wrapped in <Root>).
FieldValue
Input JSON{"user":{"id":1,"name":"Alice"}}</code></span>
OperationJsonToXml
Output<Root><user><id>1</id><name>Alice</name></user></Root>
DateToString – Formats a DateTime using a format string.
FieldValue
Input Date2025-06-02T15:04:05Z
Date Formatyyyy-MM-dd HH:mm:ss
OperationDateToString
Output2025-06-02 15:04:05
StringToDate – Parses a string into a DateTime.
FieldValue
Input String2025-06-02 15:04:05
Date Formatyyyy-MM-dd HH:mm:ss
OperationStringToDate
Output2025-06-02T15:04:05Z (DateTime)
NumberToString – Converts a number to a string.
FieldValue
Input Number12345.6789
OperationNumberToString
Output"12345.6789"
StringToNumber – Parses a numeric string.
FieldValue
Input String42.5
OperationStringToNumber
Output42.5 (number)
HtmlEncode – Encodes HTML entities.
FieldValue
Input String<a href="?q=1&x=2">Link</a>
OperationHtmlEncode
Output&lt;a href=&quot;?q=1&amp;x=2&quot;&gt;Link&lt;/a&gt;
HtmlDecode – Decodes HTML entities.
FieldValue
Input String&lt;strong&gt;Hello&amp;nbsp;World&lt;/strong&gt;
OperationHtmlDecode
Output<strong>Hello World</strong>

Potential Errors

Error ConditionDescription
Required Parameters not foundA required input field for the selected operation is missing.
Invalid Type or FormatInput is not in an expected type or format (e.g., invalid JSON/XML or wrong number/string format).
Deserialization Failure (JsonToObject)JSON cannot be deserialized into the specified .NET type (check Target Type).
Encoding/Decoding ErrorInput string is not valid for the selected transformation (e.g., malformed Base64, invalid URL encoding).
Date/Number Parse ErrorThe provided format string or input value is incompatible or malformed.

Developer Notes

  • Ensure object inputs (e.g., for ObjectToJson or JsonToObject) are correctly structured for .NET.
  • For JsonToObject, verify whether an assembly-qualified type name is required for Target Type.
  • After execution, only the Output Variable Name persists; transient input fields are cleared from context.

Tentech 2024