Skip to content

Workflow Node Data Types

Nodes are defined by various different input and output data types.

When referencing a node's data for use in another, the types must be compatible with each other.

Data Type Conversions

Data can be shared across nodes as long as the types are Exact (expected) or are Compatible based on the following conversions:

TIP

You can view the data type by clicking on a node and viewing the value within the parenthesis. This will be above the reference data drop-down menu. Node reference drop-down menu.

String

Strings are compatible with:

TypeDescription
String: ChoiceVariation of string.
String: CodeVariation of string.
BytesEncoded as UTF-8 with lossy conversion (invalid characters are replaced with ).
BoolConverts to "true" or "false".
IntegerBase-10 decimal encoding.

Bytes

Bytes are compatible with:

TypeDescription
StringUTF-8 encoded bytes.
BoolConverts to "true" or "false" in bytes.
IntegerFirst converts to string type and then to UTF-8 encoded bytes.

Bool

Booleans are compatible with:

TypeDescription
IntegerIs true if integer is not zero - otherwise false.
Bytes/StringIs true for "true", "on", "yes", and "1" - otherwise false.

Integer

Integers are compatible with:

TypeDescription
BoolIs true if integer is 1 - false if 0.
BytesConverted to string loosely, supports hex (0x), binary (0b), octal (0o), supports sign (+, -).
StringParsed from string, supports hex (0x), binary (0b), octal (0o), supports sign (+, -).

Request & Responses

There is no conversion besides their own.