Bulk Insert Records (Bulk API 2.0)
sf_bulk_insert_recordsInsert multiple Salesforce records asynchronously using Bulk API 2.0. Supports upsert via external ID and returns a job ID for tracking.
Instructions
Inserts multiple records of the same object type asynchronously using Salesforce Bulk API 2.0. More efficient than individual REST calls for large volumes. Returns a job ID to track status.
objectApiName: Salesforce object API name records: array of record objects with field:value pairs externalIdField: if provided, performs an upsert on this external ID field instead of insert
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| records | Yes | Array of records to insert (field:value pairs) | |
| objectApiName | Yes | Object API name, e.g. 'Contact' | |
| externalIdField | No | External ID field for upsert (omit for insert) |