Skip to content

Returns a portion of an array selected from start to end (end not included) where start and end represent the index of items in that array. Array slice lives in the Array category of the fx menu.

ParameterTypeRequiredDefaultDescription
Inputstringyes—Value to transform. Previous step output or a literal.
Startnumberyes0Zero-based index at which to start extraction. Negative values are allowed.
Endnumberno—Zero-based index at which to end extraction (end not included)

Input is the primary value (previous step output or a literal).

TypeDescription
stringResult of the Array slice transformation.
  • Array arguments must be valid JSON arrays. Invalid JSON or non-array values raise an error.
Run Array slice

Returns a portion of an array selected from start to end (end not included) where start and end represent the index of items in that array. Adjust optional parameters when the defaults do not match your payload.

  1. Set Input to the value to transform (previous step output or a literal).

  2. Review Start, End and keep defaults unless your format requires otherwise.

  3. Confirm Output value shows the transformed result.