Looping http-request node

Hi!
Hope you are all doing fine.
One question. I created the below simple workflow (example) :

The thing is the API only accept 10 items per request but I would like to use it with for example 100 items.
So is there a way to create a loop :

  • in the webhook output json there will be 100 items.
  • send 10 items by 10 items to the http request node.
  • buffering the results
  • send all the results into the same excel file (concatened results)

Do you think it is possible to do it?

Thanks a lot

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:

Yes! There are two ways to do this. One built into the http node called pagination.
Another would be by making a custom loop.

I did an in depth explanation here. Please read through that

Feel free to ask any follow up questions in this thread or on that one.

Hope that answers your question!

1 Like