After seeding a sandbox, check the records you actually need: did the Accounts arrive, and are the Contacts attached to the right parents? A saved SOQL query makes that check repeatable. Once the results look right, export a small CSV for review.
This walkthrough uses the 48-record sandbox starter recipe. The queries target its Orgbit Demo Account naming prefix. You can use the same pattern with your own test-data marker.
Example boundary: the screenshot shows a saved query in Orgbit’s browser preview with a fictional sandbox selected. Query execution and CSV export require Orgbit Desktop and an authorized Salesforce org. The expected counts below assume one successful recipe load with no earlier matching records. They are not captured live query results.
Choose the org before writing the query
Open the workspace selector, choose your sandbox, and open Workbench. Check both the alias and environment type. A familiar query can return very different information in another org.
For this example, leave Tooling API off. We are querying ordinary business records: Account and Contact. Tooling API serves a different set of development and tooling objects.
Name the query Demo accounts — verification. A descriptive name tells you what the query checks when you return next week.
Query only the demo Accounts
Enter this query:
SELECT Id, Name, Description
FROM Account
WHERE Name LIKE 'Orgbit Demo Account %'
ORDER BY Name
LIMIT 100
The WHERE clause narrows the result to our demo prefix. ORDER BY Name makes the list easier to scan; it sorts text, so “Account 10” appears before “Account 2.” LIMIT 100 puts an explicit ceiling on this inspection query.
Save the query. In the desktop app, choose Run query. If you have selected part of the source, Orgbit runs that selection, so clear the selection when you intend to run the whole query.
The Results tab is useful for scanning rows; JSON is useful when you want to inspect the returned structure. Keep your first query short enough to understand each selected field.
Verify counts and parent relationships
After one complete load of the starter recipe, the expected totals are 12 Accounts and 24 Contacts. Run these queries separately:
SELECT COUNT()
FROM Account
WHERE Name LIKE 'Orgbit Demo Account %'
SELECT COUNT()
FROM Contact
WHERE Account.Name LIKE 'Orgbit Demo Account %'
Then inspect a few relationships:
SELECT Id, FirstName, LastName, Email, Account.Name
FROM Contact
WHERE Account.Name LIKE 'Orgbit Demo Account %'
ORDER BY Account.Name, LastName
LIMIT 100
Here, Account.Name follows the Contact’s parent relationship. You do not need to export both objects and join the files just to check the parent’s name.
If you see too many records, check whether the recipe ran more than once or whether older data uses the same prefix. Too few can indicate a partial load or a permissions difference. Use the generation/load log to investigate before repeating the load.
The Opportunity check uses the same relationship filter and should return 12 after one successful load:
SELECT COUNT()
FROM Opportunity
WHERE Account.Name LIKE 'Orgbit Demo Account %'
Export the returned results to CSV
Run the Account detail query again, inspect the returned rows, and choose CSV in the results toolbar. Save the file with a name that records the environment and purpose, such as sandbox-demo-accounts.csv.
Orgbit’s interactive query results are limited to 1,000 records. CSV export contains the results returned to the Workbench; it is not a full-org export or backup. Use a dedicated bulk-export workflow when you need a complete large dataset.
Select only fields needed for the review. These examples use synthetic data, but queries against your real org can return customer information. Share the resulting file according to the same rules you apply to the underlying Salesforce records.
Save a useful verification set
Keep three queries with clear names: demo Accounts, Contact relationships, and record counts. Orgbit associates saved queries with their target org, which helps keep a sandbox investigation separate from work in another environment.
History records execution metadata. Use saved queries for the reusable source, and export results you deliberately need to retain. When the dataset changes, rerun the checks rather than assuming a previous CSV is still current.
For language syntax and query behavior, consult the Salesforce SOQL reference. For the dataset used here, start with the Snowfakery tutorial.

