oAuth2 connection - Cornerstone(CSOD)

Please, see here:

There is a sample project attached to the opening post that does just this. There is REPEAT action in the Query Salesforce module that repeatedly calls Sf Query module until its output is empty.

This Sf Query module expects input dataset to have 'URI' column which it uses as an actual URL to query. And in this Sf Query module after the call is being done the response is parsed and there is a conditional that if response had nextRecordsUrl column then original URI column should be replaced with it:

In effect, the first time REPEAT action calls Sf Query module with URI column containing the initial URL and on the second, third and so forth Sf Query is called with URI column containing nextRecordsUrl from the previous iteration