I’m trying to configure pagination for API requests in n8n, but I’m facing some issues. The API I’m using supports pagination through parameters like skip, returning 1000 records per request. I’ve set the skip parameter as {{ $pageCount + 1000 }}, but the request isn’t progressing as expected, and the data returned is identical across multiple iterations.
I’m not sure whether the increment should be done like 1 + 1000 = 1001, and the next one should be 2 + 1000 = 1002, or if the value should accumulate the 1000 for each pagination (i.e., 1000, 2000, 3000, etc.).
Can anyone explain how to ensure the $pageCount variable increments correctly so that the skip value is calculated incrementally (1000, 2000, 3000, etc.)?