Actions9
- Input Actions
- Module Actions
- Profile Actions
- Reporting Actions
- Structure Actions
Input → Batch Input
AI-generatedSummary
Batch Input
Inputs
- companyCode (required) — The company code as seen in the URL.
- target (required) — Target object sent as request body (JSON).
- items (required) — Array of items to input (JSON).
- requestOptions.batching.batchSize — Items per batch; -1 disables batching, 0 treated as 1. Default: 50.
- requestOptions.batching.batchInterval — Time in milliseconds between each batch; 0 disables interval. Default: 1000.
- requestOptions.allowUnauthorizedCerts — Whether to accept invalid SSL certificates. Default: false.
- requestOptions.proxy — HTTP proxy to use (e.g. http://myproxy:3128). Default: empty.
- requestOptions.timeout — Timeout in ms to wait for response headers before aborting. Default: 10000.
Output shape
Returns the JSON response from the Smartbooks API POST /api/v1/c/{{companyCode}}/input/batch endpoint.
When batching is enabled, the node splits the items array into chunks of batchSize and sends each chunk sequentially, waiting batchInterval between requests.
Examples
Example 1: Send 200 input records in batches of 50 with a 1‑second pause between batches.
Set companyCode to your code, target to the appropriate payload structure, items to an array of 200 objects, requestOptions.batching.batchSize = 50, requestOptions.batching.batchInterval = 1000.