How to convert multiple items "item[0], item[1], item[2], item[3]..." to just 1 "item[0]"?

Hi.
How can I convert multiple node items into just one item such as item[0]?

Below is an illustrative example image

Grateful for the attention!

Hey @hlf,

Welcome to the community :sparkling_heart:

You can use the Item Lists node or use the Function node. For the Function node, you can refer to the code snippet documented here: JavaScript Code Snippets | Docs

1 Like

Hey @harshil1712,

I did this easily with the Item List node.

The only thing I needed to do was update n8n as it was in a very old version and didn’t have a list of items node.

Thanks for the tip.

1 Like