Create Items
item.create_manyCreate many rows (items) in one sheet in ONE call — use it instead of repeated item.create_humanized whenever you add more than one row (e.g. "add these 50 leads" from a pasted list). Each row is a fields map of attribute name → HUMAN VALUE, resolved exactly as item.create_humanized does. Up to 200 rows per call; for more, make several calls. A row whose value cannot be resolved, or that matches an existing row by a unique field, is skipped with a reason and the rest are created. Workflows on the sheet run for every created row, as for a row added by hand. The whole call is one batch: item.undo_batch with the returned batchId and sheetId removes every row it created. Returns { batchId, created, skipped, skippedCount, url } — tell the user the counts and the skip reasons.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | The rows to create, 1–200; split a longer list into several calls | |
| sheetId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Panel link to the sheet | |
| batchId | Yes | Id of the batch; pass it with sheetId to item.undo_batch to undo the whole batch. Null when nothing was written | |
| created | Yes | Rows created | |
| sheetId | Yes | Sheet the rows are in | |
| skipped | Yes | Rows left unchanged and why; at most 20 are listed | |
| spaceId | Yes | Space of that sheet; null for a sheet outside a space | |
| stopped | No | Set when a row failed unexpectedly: rows after it were not attempted; the rest stay written | |
| updated | Yes | Rows updated | |
| skippedCount | Yes | All rows skipped, including ones not listed |