n8n Β· Arrays

n8n length

Property that returns the number of characters in a string or items in an array. No parentheses.

Syntax

value.length

Example

$json.attachments.length

Result: 2

Equivalent in Make.com

length() β€” length(array or text)

Practice length β€” free interactive labs

More n8n arrays functions