Actions15
Batch Insert Records
AI-generatedSummary
Submit each incoming item’s JSON as a new NetSuite record of the selected type. The node groups inputs into asynchronous jobs of up to 100 records and can either return job details immediately or wait for per-record results.
Inputs
- Record Type (required) — Choose the NetSuite record type. For Custom Record, provide its Custom Record Script ID.
- Input items (required) — Each incoming item’s JSON is used as the record data to insert.
- Wait For Results — Defaults to false. When disabled, output one item per submitted job with submitted, jobId, location, and itemCount. When enabled, wait for each job and output one item per input with success and, when available, id and location; failed records include an error.
- Batch Options — Optional idempotency key, parallel processing setting, poll interval, and per-job timeout. Inputs are split into jobs of up to 100; additional jobs receive suffixed idempotency keys. Poll interval and timeout apply only when waiting for results. If NetSuite reports a duplicate idempotency key, the node attaches to the existing job.
- Options — Max Retries controls retries for rate limits and server errors (default 5; set to 0 to disable). Full Response is displayed but is not used by this batch insert implementation.
Output shape
A list of items: one per submitted job by default, or one per input record when Wait For Results is enabled.
When waiting, each output is paired with its corresponding input. If a completed job has no result for an input, that output contains success: false and an error. Job submission or processing errors are thrown unless the node is configured to continue on fail.