Pagination help needed

hey i am trying to get page by adding 1 to the previous page how can i make it work in the workflow fellow(pagination)

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:

hello @Arsh_Tyagi
That approach wouldn’t work as the Code node will be executed multiple times and only then the HTTP Node starts to work. You will need to use the Loop node or build-in pagination of the HTTP Request node (that is better and simpler).

@barn4k tried using pagination too but didn’t work instead gave me a json error

Could you show me how to use loop node to do this

Here is the example

Take a note that if the HTTP node output’s more than 1 item at a time, the workflow should be tuned, unless it won’t work.

Thank you so much for this workflow you have sorted all the things