Tip: HTTP Request node pagination without a loop

If your API returns a cursor, you can skip the manual loop and use the built in Pagination option on the HTTP Request node. Under Options add Pagination, pick Update a Parameter in Each Request, set the query parameter name to cursor and the value to {{ $response.body.next_cursor }}. Then set Pagination Complete When to Other and use a condition like {{ !$response.body.next_cursor }} so it stops on the last page. Adding a small interval between requests also keeps rate limits happy.

إعجاب واحد (1)