HI I have a workflow where i tell n8n to loop throught next 1000 items( I have not idea if there are just 10 or 1000 but i tell him to continue from the item he left last time and add +1000 ) because i can not get this data, so the problem now is that sometimes it will stop after 220 items telling me there are no items left and it stops, so i want to do is even if i initially insert there to loop through 1000, is to complete the loop faster after 250 and post all found information into database .
How can i make the loop more flexible considering there is no way for me to know how many items can be looped it can be anything from 1 to 1000
It looks like your topic is missing some important information. Could you provide the following if applicable.
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system:
Hi Victor, I am sorry you’re having trouble. Unfortunately it’s not clear to me where exactly your workflow stops. Assuming you’re using the Loop Over Items node, this can handle any number of incoming items:
This workflow completes just fine for all items, regardless of how many there are in the end.
Perhaps you can share a workflow using which your problem can be reproduced?