n8n Β· Arrays

n8n at()

Reads an element by position and supports negative indexes, so at(-1) is the last element.

Syntax

array.at(index)

Example

['a', 'b', 'c'].at(-1)

Result: c

Equivalent in Make.com

last() β€” last(array)

Practice at() β€” free interactive labs

More n8n arrays functions