Salesforce · Arazzo Workflow
Salesforce Bulk Delete Records
Version 1.0.0
Run the full Bulk API 2.0 delete lifecycle — create a delete ingest job, upload a CSV of Ids, close, poll, and read successful results.
View Spec
View on GitHub
AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSalesArazzoWorkflows
Provider
Workflows
bulk-delete-records
Bulk delete records from a Salesforce object via the Bulk API 2.0 ingest lifecycle.
Creates a delete ingest job, uploads a CSV of record Ids, 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 delete operation against the target object. The job starts in the Open state.
2
uploadData
uploadJobData
Upload the CSV of record Ids to the open ingest job. The header row must contain the single Id column.
3
closeJob
updateIngestJob
Close the ingest job by setting its state to UploadComplete, which tells Salesforce to begin processing the deletions.
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 deleted records once the job has reached JobComplete.