Function Node: Access all items from previous node output

You can use $items(). So in your case that would be:

const allItems = $items("Filter Tasks");

You can find the documentation here:
https://docs.n8n.io/nodes/expressions.html#method-items-nodename-string-outputindex-number-runindex-number

3 Likes