Salesforce · Arazzo Workflow
Salesforce Bulk Insert Records
Version 1.0.0
Run the full Bulk API 2.0 insert lifecycle — create an ingest job, upload CSV, close, poll, and read successful results.
View Spec
View on GitHub
AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSalesArazzoWorkflows
Provider
Workflows
bulk-insert-records
Bulk insert records into a Salesforce object via the Bulk API 2.0 ingest lifecycle.
Creates an insert ingest job, uploads CSV data, closes the job, polls until JobComplete, and returns the successful results CSV.
1
createJob
createIngestJob
Create a new Bulk API 2.0 ingest job configured for the insert operation against the target object. The job starts in the Open state.
2
uploadData
uploadJobData
Upload the CSV payload to the open ingest job. The first row must be a header of field API names matching the target object.
3
closeJob
updateIngestJob
Close the ingest job by setting its state to UploadComplete, which tells Salesforce to begin processing the uploaded data.
4
pollJob
getIngestJobInfo
Poll the ingest job state. When the job reaches JobComplete, continue to retrieve results; while still InProgress or UploadComplete, loop back to poll again; if the job Failed or Aborted, stop the workflow.
5
getResults
getSuccessfulResults
Retrieve the CSV of successfully processed records once the job has reached JobComplete. Each row includes the added sf__Id column.