Loop item is always undefined
For some reason loop item is always undefined. I tried to pass array of strings or numbers instead of variable but result is always the same
Error: Cannot read properties of undefined (reading 'item')
5 Replies
It is due to that the items need to be mapped from the the node below on which loop is executed, you can use variables to pass the items and loop over the email. Loop - https://docs.buildship.com/core-nodes/loop.
I tried to pass variable from the body that I receive on API call, It doesn't work either way, same error. I've submitted support ticket with my workflow from web ui
Thanks for sharing, received, will take a look and update you here.
By the time, I've found a workaround. If you add an empty node before Create Firestore node that just accepts loop item as a parameter and returns it everything works. Strange 🙂
Cool.