Workflow Logic

Variables & Object Manipulation

Workflow-scoped array variables (CREATE / APPEND / GET) plus object utilities (MERGE_ARRAYS, GET_OBJECT_VALUE, FIND_ARRAY_OBJECT).

Variables & Object Manipulation

Stateful helpers that let a workflow accumulate, transform, and look up data across components. Array variables are scoped to a single workflow run with an auto-expiring TTL.


CREATE_ARRAY_VARIABLE

CREATE_ARRAY_VARIABLE Workflow

Creates (or resets) a named array variable for the current workflow execution.

Config

FieldTypeDescription
namestringVariable name (letters, digits, underscores; must start with a letter or underscore)

Outputs

FieldTypeDescription
successbooleanAlways true when the create succeeded

APPEND_ARRAY_VARIABLE

APPEND_ARRAY_VARIABLE Workflow

Appends a value to an existing array variable. The variable must already exist (call CREATE_ARRAY_VARIABLE first).

Config

FieldTypeDescription
namestringVariable name

Inputs

FieldTypeDescription
valueanyValue to append

Outputs

FieldTypeDescription
itemsany[]The full array after the append

GET_ARRAY_VARIABLE

GET_ARRAY_VARIABLE Workflow

Reads the current value of a named array variable.

Config

FieldTypeDescription
namestringVariable name

Outputs

FieldTypeDescription
itemsany[]The current array value

MERGE_ARRAYS

MERGE_ARRAYS Workflow

Flattens multiple array inputs into a single combined array. Inputs are dynamic — connect as many upstream array outputs as you need.

Inputs

Dynamic — every connected input must be an array. They are concatenated in connection order.

Outputs

FieldTypeDescription
itemsany[]The combined array

GET_OBJECT_VALUE

GET_OBJECT_VALUE Workflow

Extracts a single property from an object by configured key. Returns null when the key is absent.

Config

FieldTypeDescription
keystringProperty name to read

Inputs

FieldTypeDescription
itemobjectThe object to read from

Outputs

FieldTypeDescription
valueany | nullThe property value, or null if missing

FIND_ARRAY_OBJECT

FIND_ARRAY_OBJECT Workflow

Searches an array of objects for the first item whose property key equals value.

Config

FieldTypeDescription
keystringProperty to match on each item

Inputs

FieldTypeDescription
valueanyValue to search for
itemsobject[]Array of objects to search

Outputs

FieldTypeDescription
foundbooleanWhether a match was found
itemobject | nullThe first matching object, or null

Typical pattern

[Trigger]


CREATE_ARRAY_VARIABLE (name: "results")


FOR_EACH ───▶ <process each item>
   │ (per iteration)

APPEND_ARRAY_VARIABLE (name: "results", value: <iteration output>)


GET_ARRAY_VARIABLE (name: "results")
   │ items

RETURN

On this page