Insert at Index

data · C154 · starter-package 7.0.1

Insert an item at an exact zero-based list position while preserving the original list.

When to use

Insert an item at an exact zero-based list position while preserving the original list.

Inputs

  • list — List: list; required; supported workflow value for list.
  • index — Index: number; required; supported workflow value for index.
  • item — Item: any; required; supported workflow value for item.

Outputs

  • List (list): deterministic result output.

Behavior and boundaries

Index is a whole number from 0 through List length. Index equal to the length appends the item; larger, negative, fractional, or nonnumeric values fail.

These operations do not change the original input. Unsupported, circular, invalid, or excessively large values stop the workflow with a clear message.

Example

List ["a", "c"], Index 1, and Item "b" produce ["a", "b", "c"].

Failure cases

Execution stops with an actionable Nodestly error when a required connector is missing, a value has the wrong type or shape, a configured index/mode is unsupported, or the result would exceed collection limits.

Errors and recovery

When this block reports an error, no downstream output is emitted. Correct the highlighted input or setting described by the message, then run the workflow again.