We have following microservice workflow automation config:
```
 "get-providers-to-fetch": {
 type: "api",
 params: {
 method: "GET",
 url: "https://immo.so/api/providers",
 query: {
 all: "${input.all}",
 },
 async: false,
 },
 next: [
 {
 name: "scrape-provider",
 forEach: true,
 params: {},
 },
 ],
 },
 "scrape-provider": {
 type: "api",
 params: {
 method: "GET",
 url: "https://immo.so/api/scrape",
 query: {
 provider: "${input.provider}",
 endpoint: "${input.endpoint}",
 page: "${input.page}",
 batchSize: "${input.batchSize}",
 },
 async: false,
 },
 next: [
 {
 name: "scrape-provider",
 if: "${output.hasNextPage} === true",
 params: {
 provider: "${input.provider}",
 endpoint: "${input.endpoint}",
 page: "${input.page}",
 batchSize: "${input.batchSize}",
 // only param changes is pagination from
 from: "${output.from}",
 },
 },
 ],
 },

```

Is there a better way to recursively run pagination on scrape-provider? How would you change the config
user