How to get all items of specific node in workflow?

Hi dear friends

Can anyone tell me how can I get all items of specific node in one function node.
In fact I know how to get previous node items.

Best regards;

Sorry but that is currently sadly not possible. I added it to the ToDo-List.

1 Like

That is now possible with [email protected]:

In function node:

const allItems = $items("IF");

and also in an expression:

{{ $items("IF") }}

The documentation can be found here:
https://docs.n8n.io/#/nodes?id=method-itemsnodename-string-outputindex-number-runindex-number

2 Likes