Using a Salesforce Connection
Once you have set up a Salesforce connection, you can use it to bring Salesforce data into Nexadata (Datasets) or send transformed data back to Salesforce (Outputs). This article walks through each option step by step.
Here are the key capabilities:
-
Create datasets from any standard or custom object with a SOQL query that Nexadata builds for you, or that you write yourself
-
Create datasets from an existing Salesforce Report, with its filters already applied
-
Read in Real-time through the REST API, or in High-volume through Bulk API 2.0 for large objects
-
Write Workflow outputs to a Salesforce object with Insert, Update, Upsert, or Delete
-
See which rows Salesforce rejected, and why, without failing the whole run
Part 1: Creating a Dataset from a Salesforce Object (SOQL)
Section titled “Part 1: Creating a Dataset from a Salesforce Object (SOQL)”Use this option to read records from an object, such as Account, Opportunity, or a custom object, with the fields and filters you choose.
Step 1: Create a New Dataset
Section titled “Step 1: Create a New Dataset”-
Navigate to the Datasets section in Nexadata.
-
Click Create Dataset.
-
Enter a unique Name for the dataset.
-
Under Data Connection, select your Salesforce connection.
-
Leave Query type set to Salesforce Object Query Language (SOQL).
Step 2: Choose the Object and Properties
Section titled “Step 2: Choose the Object and Properties”-
Select the Object. Start typing to search the objects the signing-in user can read.
-
Select the Properties, the fields to read. The list shows each field’s label, such as Stage, and Nexadata builds the SOQL Query from your choices with each field’s API name, such as
StageName:SELECT Name, StageName, Amount, CloseDate FROM Opportunity -
To filter or sort, click Customize SOQL and edit the query, for example by adding
WHERE CloseDate = THIS_FISCAL_YEAR. To go back to the query Nexadata builds, click Reset to Auto-Generated.
Step 3: Set the Extract Options
Section titled “Step 3: Set the Extract Options”-
Include soft delete: Yes (the default) also reads records that are in the Salesforce Recycle Bin. Choose No to read only active records.
-
Extract mode: Real-time reads through the REST API and suits most objects. High-volume reads through Bulk API 2.0, which is better for objects with hundreds of thousands of records or more.
-
Record Batch Size: How many records Nexadata reads per request in Real-time mode. The default is
2000.
Leave Auto Detect Delimiter and Delimiter as they are. Nexadata sets the format of Salesforce data for you.

Step 4: Submit and Define Columns
Section titled “Step 4: Submit and Define Columns”-
Click Submit. Nexadata runs the query and reads a sample of the records.
-
On Define Columns, review the columns and save, as for any dataset. See How to Create a New Nexadata Dataset. The dataset is ready to use in Workflows.
Part 2: Creating a Dataset from a Salesforce Report
Section titled “Part 2: Creating a Dataset from a Salesforce Report”Use this option when a Salesforce Report already filters the records you need, so your Salesforce team can keep managing the logic in Salesforce.
Step 1: Create a New Dataset
Section titled “Step 1: Create a New Dataset”-
Navigate to the Datasets section in Nexadata.
-
Click Create Dataset.
-
Enter a unique Name for the dataset.
-
Under Data Connection, select your Salesforce connection.
-
Set Query type to Salesforce Report.
Step 2: Select the Report
Section titled “Step 2: Select the Report”Select the Report. The list shows the reports the signing-in user has recently viewed in Salesforce.
Leave Auto Detect Delimiter and Delimiter as they are.

Step 3: Submit and Define Columns
Section titled “Step 3: Submit and Define Columns”-
Click Submit. Nexadata runs the report and reads its rows.
-
On Define Columns, review the columns and save, as for any dataset.
Keep these report limits in mind:
-
Up to 2,000 rows. Nexadata reads the first 2,000 rows of a report. For more, use a SOQL dataset instead.
-
Values as Salesforce displays them. Amounts and dates arrive formatted, for example
$1,250.00or10/21/2026. Convert them in your Workflow if you need numbers or dates. -
Use tabular reports. A tabular report, without groupings, maps cleanly to rows and columns.
Part 3: Sending Data Back to Salesforce
Section titled “Part 3: Sending Data Back to Salesforce”Nexadata writes the rows of a Workflow output to one Salesforce object.
Step 1: Add an Output
Section titled “Step 1: Add an Output”-
Open the Workflow that produces the data you want to write, and go to its Outputs tab. See Workflow Outputs.
-
Add an output and enter a Name for it.
-
Click Customize Outputs, then under Data Connection to use, select your Salesforce connection. The Salesforce settings appear below.
Step 2: Choose a Mode and Action
Section titled “Step 2: Choose a Mode and Action”-
Choose the Mode:
-
High Volume (the default) writes through Bulk API 2.0. Use it for most outputs, and for any output with more than 2,000 rows.
-
Real Time writes through the REST API and returns results right away. It suits small outputs of up to 2,000 rows.
-
-
Choose the Action:
-
Insert creates a new record for each row.
-
Update changes existing records. Map a column to the object’s ID property so Nexadata knows which record each row updates.
-
Upsert updates records that already exist and creates the rest. It matches rows to records on an External ID field of the object, so map a column to that field. Upsert is available in High Volume mode.
-
Delete removes the records whose IDs are in the column mapped to the object’s ID property. Deleted records go to the Salesforce Recycle Bin.
-
Step 3: Choose the Object and Map Columns
Section titled “Step 3: Choose the Object and Map Columns”-
Select the Salesforce Object to write to. Start typing to search.
-
For each Column in the output, select the Salesforce Property it writes to. Leave a column unmapped to skip it.
For Update and Delete, map the column that holds the record ID to the object’s ID property. Salesforce labels it after the object, such as Opportunity ID or Account ID.
Fields that point to another record, such as Owner ID or Account ID on an Opportunity, take that record’s Salesforce ID, for example
005…for a user, not a name.

Step 4: Save and Run
Section titled “Step 4: Save and Run”Save the output and run the Workflow. Nexadata writes the rows to Salesforce according to your settings.
If Salesforce rejects some rows, for example because a required field is blank or a value is invalid, the rows it accepts are still written. The run finishes as Succeeded with warnings, and the output is listed under Outputs with warnings with the reason Salesforce gave for each rejected row. Open the run to see them, fix the data in the Workflow or in Salesforce, and run it again.
How Nexadata Writes to Salesforce
Section titled “How Nexadata Writes to Salesforce”-
Blank values are skipped. A blank cell in a mapped column leaves the Salesforce field as it is. Nexadata does not use blanks to clear fields.
-
Accepted rows stay written. In both modes, Salesforce saves the rows it accepts even when it rejects others. Fix the rejected rows and run the Workflow again. With Update or Upsert, rerunning is safe; with Insert, rerunning creates the accepted records a second time.
-
Size limits. Real Time writes up to 2,000 rows per output, and High Volume writes up to 100 MB per run. Larger outputs fail before anything is written, with a message saying which limit was reached.
-
Changes are recorded under the signing-in user. Salesforce shows that user as Last Modified By on every record Nexadata writes, so many teams connect with a dedicated integration user.
Tips and Best Practices
Section titled “Tips and Best Practices”-
Write to a sandbox first. Create a second connection to a sandbox and run a new output against it before pointing it at production.
-
Let SOQL do the filtering. A
WHEREclause in a customized query moves only the records you need into Nexadata. -
Prefer Update or Upsert for recurring loads. They change the same records on every run, where Insert creates new ones each time.
-
Keep the record Id. Include the Id property in datasets you plan to write back, so an Update output can map it straight back to Salesforce.