Skip to main content
Jeremias Meister - Tools & Pipeline

Action Data

List Operations

Performs various operations on lists (arrays) including insert, append, pop, delete, slice, reverse, sort, join, and more.

Node IDListOperationsAction

Parameters

ParameterTypeRequiredDefaultDescription
Operation operation enum
  • get
  • insert
  • append
  • prepend
  • pop
  • popFront
  • delete
  • slice
  • reverse
  • sort
  • unique
  • length
  • contains
  • indexOf
  • concat
  • clear
  • create
  • join
  • parse
Yes append The operation to perform on the list.
Index index integer No 0 Index for operations like 'get', 'insert', 'delete'. Can be negative to count from end (-1 = last item).
Value value textarea No — Value to insert, append, search for, or create a list from. Can be a JSON value or string. Can be set by a data connection.
Start Index (Slice) startIndex integer No 0 Start index for 'slice' operation. Negative indices count from end.
End Index (Slice) endIndex integer No -1 End index for 'slice' operation (exclusive). -1 means end of list.
Sort Order sortOrder enum
  • ascending
  • descending
No ascending Sort order for 'sort' operation.
Delimiter delimiter string No , String used to separate items in the 'join' operation (e.g., "," or " ").

Inputs

InputTypeRequiredDescription
Execute input0 object Yes An execution signal that carries the input list. Expects a data object with a list value.

Outputs

OutputTypeIdentifierDescription
Result output0 object get:item/insert:list/append:list/prepend:list/pop:list&popped_item/popfront:list&popped_item/delete:list/slice:list/reverse:list/sort:list/unique:list/length:length/contains:contains/indexof:index/concat:list/clear:list/create:list/join:string/parse:list The result of the operation (modified list, extracted item, boolean, string, or number depending on operation).