Loop node has no output values

I’m passing data from an edit node to the loop node, to iterate over the items.
When I add a single item it does recognize it, and shows the number of items.
The edit node is passing down an array of items, so it should work.
Does anyone has any guess why the loop node doesn’t have any output values?

In the previous steps:

  1. open ai node generates json output
  2. code node transforms the data into an array of items
  3. edit node to is making sure that I’m passing the array of items
  4. loop node to iterate over the generated items
  5. loop node doesn’t make any outputs.

Any help would be awesome!

Dont set the Batch Size property. Leave that on 1.

You’re essentially truing to set how many items it must batch, which is a number, to a date which is invalid, causing the loop to never happen

3 Likes

That’s awsome, it worked.
It confused me that leaving it to 1 is going to work.
In a previous node, where I’m retreiving data from postgres, I added the ID column from the schema to the batch size and it worked fine. That was a bit confusing

Great! Happy that resolved your issue. Please can you mark my response as the solution to help my stats

1 Like

absolutely and big thx!!! :slight_smile: