Thanks @Jon for your help. I don’t think it is what I am looking for… unless I understand correctly what your explained.
I would like for all blocks execute some nodes, so in my current setup I have hard coded a maximum of 5 blocks.
For each block I test block[n][0] in the switch to create the corresponding http request to create a new block in notion. As you can see below I have hard coded 5 times the same nodes with block[n+1][0]. Instead of that I would like to loop through my blocks to be able to do i from 0 to n.
Sorry if I am not clear… Thanks for help.
