capabilities.work

Paginated SOQL Export

A 2-step recipe with Salesforce Sales Cloud. We can help you get access.

Recipe · 2 steps

Paginated SOQL Export

Execute a SOQL query and fetch the next batch when not done.

  1. Execute the SOQL query and read the first batch.
  2. Retrieve the next batch of results using the query locator.
What you'll need to have ready
  • accessToken: OAuth 2.0 access token used as the Bearer credential.
  • query: The SOQL query string to execute.
  • queryLocator: The query locator (the identifier at the end of nextRecordsUrl) used to fetch the next batch when the first page is not done.
For your developer

Arazzo workflow salesforce-sales-cloud:paginated-soql-export, 2 operations: executeSOQLQuery → getNextQueryResults. Specs on APIs.io.