Problem with 'find()' in expression

Hi people.

I trying to parse an Arry to extract a key and value from an object inside the other.

When I place: {{$json[“body”][“order”][“tracking_parameters”]}}

Return the Array. This is correct.

But, whem I try apply a find in this array, I reciva an sintax error.

{{$json[“body”][“order”][“tracking_parameters”].find(item => item !== null) || {}}}


Witch is the right sintaxe to do it?

n8n 1.1

Hi @leoborlot :wave: Can you provide an example workflow with some sample data so we could look into this more closely for you?

Arrow functions are currently not supported in expressions. See here:


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.