Configuring requests for data that span multiple pages.
.nextPageToken
Is null
”.cursor
, you can add this parameter to your request with the value {{self.pageToken}}
.
error
field before continuing the workflow.
conversations.list
(see Slack documentation).
Slack allows for a maximum of 1000 channels to be retrieved at a time, but recommends no more than 200:
This method uses cursor-based pagination to make it easier to incrementally collect information. To begin pagination, specify alimit
value under1000
. We recommend no more than200
results at a time. Responses will include a top-levelresponse_metadata
attribute containing anext_cursor
value. By using this value as acursor
parameter in a subsequent request, along withlimit
, you may navigate through the collection page by virtual page.
conversations.list
in the URL.
{{
to open the variable menu. Select the response.body.channels
field from Test Data.
response.body.response_metadata.next_cursor
, as mentioned in their documentation quoted above.
response.body.response_metadata.next_cursor
does not exist”. This means that we will stop paging for additional results when Slack does not send us a next_cursor
value in the last response.
cursor
query parameter. Add cursor
to the URL Parameters and use {{
to open the variable menu and set the value to Page Token.