Adding number to left of array

I have an array and i would like to change the left side of array by adding numbers to it.

i would like to add a number to the left side of array as shown in red.

May i know how can i do it?

Hi @Benjamin123, this isn’t a transformation built into n8n but you could write your own Function to do this. Here’s an example:

Result:

Hope this helps!

@MutedJam thank you very much… it works… :smiley:

1 Like