Describe the issue/error/question
I’ve created a workflow that reads an API and then uploads to imgur. The problem is it’s not looping the http node. It only uploads 1 item and it doesn’t do the remaining 29 items. How can I fix this?
What is the error message (if any)?
Please share the workflow
Share the output returned by the last node
Information on your n8n setup
- **n8n version:**0.184.0
- Database you’re using (default: SQLite):
- Running n8n with the execution process [own(default), main]:
- **Running n8n via [Docker, npm, n8n.cloud, desktop app]:**npm
Most nodes in n8n will automatically loop internally so you don’t need to take care of it manually, In theory if you drop the Split in Batches node it is likely to just work.
If you did want to use the split in batches node the trick would be to take the output of upload and attach it to the Split In Batches input like this.
Having had a play with the data though you will hit an error as not all of the incoming data has the field you are using available so you would need to use an if node to make sure it is not missing so you would have this using the Split in Batches node.
And this without it.