Bulk create Salesforce records
sf_bulk_create_recordsCreate multiple Salesforce records in a single API call, with optional all-or-none rollback and automatic batching for larger inputs.
Instructions
Create up to 200 records in one call (POST /composite/sobjects). Each record is a field map. Set allOrNone to true to roll back the whole batch if any record fails. Larger inputs are split into multiple calls automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| records | Yes | Array of field maps, e.g. [{ "Name": "A" }, { "Name": "B" }]. | |
| sobject | Yes | API name of the sObject, e.g. "Account", "Contact", or "My_Object__c". | |
| allOrNone | No | Roll back the entire batch if any record fails. Default false. |