In the first code block, it works; I can successfully search for a value in my array.
Please share your workflow
However, I can’t get it to work in the second block, where there’s an intermediate block. I don’t know how to reference the result of a node located further down in the in an absolute way.
most of the time {{ $('Previous node name').item... }} work to access nodes even as far back as the trigger. but sometimes it isn’t able to get it, like if there are different branches of the workflow that converge back, in that case, use a merge node (combine by position)