Search Object Node & Pagination
The Search Object node is limited to a maximum pageSize of 100. If you have more records than that of the Object Type being searched, the result payload will include a nextPageToken. Simply set msg.nextPage to the value of nextPageToken and pass through (using a switch or loop) the Search Object node again. This will continue to retrieve pages of results, and nextPageToken will be undefined on the last page of results - a condition you can use to allow exit of your switch or loop to continue your flow logic.
Last updated