To interact with data inside Salesforce® as part of a chain, add a step with a Salesforce connection command. For example:
- Load, extract, and delete data via SOQL and bulk operations
- Create and manage Salesforce objects
- Update and create records
To enable these commands, an IT admin first creates a Salesforce connector. The connector interacts with all versions of Salesforce Sales Cloud—Salesforce Essentials®, Lightning® Professional, Lightning Enterprise, and Lightning Unlimited—via the REST API.
Bulk Delete
Deletes a large volume of records based on a comma-separated values (CSV) file.
Note: If a record fails to delete, the command returns a CSV listing the row numbers of the failed records, along with the reason for the failure. You can use branching to perform actions when the command fails, or load the failures to Google® Drive for later analysis.
Inputs
Input |
Detail |
Concurrency Mode |
Select whether to process records at the same time or sequentially.
- To process records at the same time, select Parallel.
- To process records sequentially, select Serial.
Note: For a very large job, select Serial, as the volume of database connections could cause the job to fail in Parallel mode. However, Serial mode may result in much longer process times.
|
SObject Name |
Enter the type of SObject to perform the operation on |
Input File |
Enter the file that contains the records to delete |
File Format |
Select whether the Input File input is CSV, JSON, or XML |
Batch Size |
Enter the number of records to process per batch. We recommend you leave the default. |
Wait for Completion |
To poll Salesforce and only move to the next command when all records are processed, check this box. To trigger the command and immediately move onto the next step, uncheck this box. |
Outputs
Output |
Output Type |
Bulk Delete Error Log |
File |
Exit Codes
Code |
Type |
Detail |
0 |
Success |
Success |
1 |
Error |
General failure |
Bulk Insert
Inserts a large volume of records based on CSV file
Note: If a record fails to insert, the command returns a CSV listing the row numbers of the failed records, along with the reason for the failure. You can use branching to perform actions when the command fails, or load the failures to Google® Drive for later analysis.
Inputs
Input |
Detail |
Concurrency Mode |
Select whether to process records at the same time or sequentially.
- To process records at the same time, select Parallel.
- To process records sequentially, select Serial.
Note: For a very large job, select Serial, as the volume of database connections could cause the job to fail in Parallel mode. However, Serial mode may result in much longer process times.
|
SObject Name |
Enter the type of SObject to perform the operation on |
Input File |
Enter the file that contains the records to insert |
File Format |
Select whether the Input File input is CSV, JSON, or XML |
Batch Size |
Enter the number of records to process per batch. We recommend you leave the default. |
Wait for Completion |
To poll Salesforce and only move to the next command when all records are processed, check this box. To trigger the command and immediately move onto the next step, uncheck this box. |
Outputs
Output |
Output Type |
Bulk Insert Error Log |
File |
Exit Codes
Code |
Type |
Detail |
0 |
Success |
Success |
1 |
Error |
General failure |
Bulk Query
Queries a large volume of records
Inputs
Input |
Detail |
Concurrency Mode |
Select whether to process records at the same time or sequentially.
- To process records at the same time, select Parallel.
- To process records sequentially, select Serial.
Note: For a very large job, select Serial, as the volume of database connections could cause the job to fail in Parallel mode. However, Serial mode may result in much longer process times.
|
SObject Name |
Enter the type of SObject to perform the operation on |
SOQL Query |
Enter the SOQL query to execute |
Outputs
Output |
Output Type |
Bulk Query Results CSV |
File |
Exit Codes
Code |
Type |
Detail |
0 |
Success |
Success |
1 |
Error |
General failure |
Bulk Update
Updates a large volume of records
Note: If a record fails to update, the command returns a CSV listing the row numbers of the failed records, along with the reason for the failure. You can use branching to perform actions when the command fails, or load the failures to Google® Drive for later analysis.
Inputs
Input |
Detail |
Concurrency Mode |
Select whether to process records at the same time or sequentially.
- To process records at the same time, select Parallel.
- To process records sequentially, select Serial.
Note: For a very large job, select Serial, as the volume of database connections could cause the job to fail in Parallel mode. However, Serial mode may result in much longer process times.
|
SObject Name |
Enter the type of SObject to perform the operation on |
Input File |
Enter the file that contains the records to update |
File Format |
Select whether the Input File input is CSV, JSON, or XML |
Batch Size |
Enter the number of records to process per batch. We recommend you leave the default. |
Wait for Completion |
To poll Salesforce and only move to the next command when all records are processed, check this box. To trigger the command and immediately move onto the next step, uncheck this box. |
Outputs
Output |
Output Type |
Bulk Update Error Log |
File |
Exit Codes
Code |
Type |
Detail |
0 |
Success |
Success |
1 |
Error |
General failure |
Bulk Upsert
Performs an upsert on a large volume of records, either updating existing records or creating new ones based on the external ID field
Note: If a record fails to upsert, the command returns a CSV listing the row numbers of the failed records, along with the reason for the failure. You can use branching to perform actions when the command fails, or load the failures to Google® Drive for later analysis.
Inputs
Input |
Detail |
Concurrency Mode |
Select whether to process records at the same time or sequentially.
- To process records at the same time, select Parallel.
- To process records sequentially, select Serial.
Note: For a very large job, select Serial, as the volume of database connections could cause the job to fail in Parallel mode. However, Serial mode may result in much longer process times.
|
SObject Name |
Enter the type of SObject to perform the operation on |
Input File |
Enter the file that contains the records to upsert |
File Format |
Select whether the Input File input is CSV, JSON, or XML |
Batch Size |
Enter the number of records to process per batch. We recommend you leave the default. |
Wait for Completion |
To poll Salesforce and only move to the next command when all records are processed, check this box. To trigger the command and immediately move onto the next step, uncheck this box. |
External ID |
To identify whether a record already exists or needs to created, enter the external ID field required for the object involved in the upsert |
Outputs
Output |
Output Type |
Bulk Upsert Error Log |
File |
Exit Codes
Code |
Type |
Detail |
0 |
Success |
Success |
1 |
Error |
General failure |
Create Record
Creates a new record in Salesforce
Inputs
Input |
Detail |
Name |
Enter the name of the SObject to create the record under |
Fields |
Enter the record fields to update, in the format of FIELD_NAME:VALUE |
Outputs
Output |
Output Type |
New Record ID |
String |
Exit Codes
Code |
Type |
Detail |
0 |
Success |
Success |
1 |
Error |
General failure |
Delete Record
Deletes a record in Salesforce given an ID
Inputs
Input |
Detail |
ID |
Enter the ID of the record to delete. If the ID is unknown, enter an external ID in the format of EXTERNAL_ID_NAME:VALUE , such as Name:John . |
Name |
Enter the name of the SObject to delete the record under |
Outputs
None
Exit Codes
Code |
Type |
Detail |
0 |
Success |
Success |
1 |
Error |
General failure |
Get Record
Retrieves a record from Salesforce given an ID
Inputs
Input |
Detail |
ID |
Enter the ID of the record to retreive |
Name |
Enter the name of the SObject to retrieve the record under |
Fields |
Enter the report's fields to include (optional) |
Outputs
Output |
Output Type |
Get Record JSON |
JSON |
Exit Codes
Code |
Type |
Detail |
0 |
Success |
Success |
1 |
Error |
General failure |
List Logins
Lists logins in the Salesforce environment
Inputs
None
Outputs
Output |
Output Type |
List Logins CSV |
File |
Exit Codes
Code |
Type |
Detail |
0 |
Success |
Success |
1 |
Error |
General failure |
List Objects
Lists SObjects from Salesforce
Inputs
None
Outputs
Output |
Output Type |
List Objects CSV |
File |
Exit Codes
Code |
Type |
Detail |
0 |
Success |
Success |
1 |
Error |
General failure |
List Reports
Lists reports from Salesforce
Inputs
None
Outputs
Output |
Output Type |
List Reports CSV |
File |
Exit Codes
Code |
Type |
Detail |
0 |
Success |
Success |
1 |
Error |
General failure |
SOQL Query
Executes a SOQL query, and generates its results as a CSV file
Note: SOQL syntax is very similar to SQL. The SOQL Query command can extract large volumes of data and can return data sets of 1 million or more records at a time. If the command fails because the SOQL query is incorrect or references objects that don't exist, the command notifies you via its outputs.
Inputs
Input |
Detail |
Query |
Enter the SOQL query to execute |
Query Command |
Select whether to include deleted records.
- To exclude deleted records, select Query.
- To include deleted records, select QueryAll.
|
Outputs
Output |
Output Type |
SOQL Query Output |
File |
Exit Codes
Code |
Type |
Detail |
0 |
Success |
Success |
1 |
Error |
General failure |
SObject - Create
Creates a new SObject in Salesforce
Inputs
Input |
Detail |
Name |
Enter the name of the new SObject. To denote this is a custom object, Salesforce automatically appends __c . |
Fields |
Enter the record fields to create, in the format of FIELD_NAME:TYPE , where TYPE corresponds to a Salesforce field type |
Outputs
None
Exit Codes
Code |
Type |
Detail |
0 |
Success |
Success |
1 |
Error |
General failure |
SObject - Delete
Deletes SObjects in Salesforce
Inputs
Input |
Detail |
Name |
Enter the name of the SObjects to create |
Outputs
None
Exit Codes
Code |
Type |
Detail |
0 |
Success |
Success |
1 |
Error |
General failure |
Update Record
Updates a record in Salesforce given an ID and field values
Inputs
Input |
Detail |
ID |
Enter the ID of the record to update |
Name |
Enter the name of the SObject to update the record under |
Fields |
Enter the record fields to update, in the format of FIELD_NAME:VALUE |
Outputs
None
Exit Codes
Code |
Type |
Detail |
0 |
Success |
Success |
1 |
Error |
General failure |