# Insert At using Array Node

**URL:** <https://forums.losant.com/t/insert-at-using-array-node/4014>\
**Category:** Help\
**Tags:** workflow\
**Created:** [August 20, 2021, 7:05pm UTC](https://forums.losant.com/t/insert-at-using-array-node/4014 "2021-08-20T19:05:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [August 20, 2021, 7:05pm UTC](https://forums.losant.com/t/insert-at-using-array-node/4014/1 "2021-08-20T19:05:51Z")

</div>

See attached screenshot.  
It doesn’t seem to matter what I use in the “Array Index Template” field, it still inserts it as index:0.

I must be missing something…

 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/7/7ea1adae3878c331fde47b42068bf800d4d45fe6.png)

---

<div class="post-metadata">

**Author:** ![Heath](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/heath/32/3036_2.png) [@Heath](https://forums.losant.com/u/Heath)\
**Post date:** [August 20, 2021, 7:39pm UTC](https://forums.losant.com/t/insert-at-using-array-node/4014/3 "2021-08-20T19:39:38Z")

</div>

Lars,

The Insert At operation is operating similar to the [start parameter in slice](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice) where since the index you are placing this value at is larger than the length of the array, `start` becomes the length of the array, which in your case is `0` because you are not providing a source array.

This is a bit different than vanilla JavaScript which would allow you to do this and would fill the other indexes with `undefined`.

Thank you,  
Heath
