salesforce_bulk_insert
Insert multiple Salesforce records in bulk using the Bulk API, processing large record sets in batches to return per-record success IDs or errors.
Instructions
Bulk insert multiple records.
Use this to create many records efficiently. The Bulk API processes records in batches and is optimized for high volumes.
Args: sobject: SObject type (e.g., 'Account', 'Contact', 'Lead') records: List of records to insert. Each record is a dict of field name to value. Example: [{"Name": "Acme"}, {"Name": "Globex"}]
Returns: List of results for each record, containing: - success: Whether the insert succeeded - id: The new record ID (if successful) - errors: Any errors that occurred
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| records | Yes | ||
| sobject | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |