Import Organizations
import_organizationsFind or create many organizations from a list in one call, match existing records without overwriting edits, and report skipped rows with their reasons.
Instructions
Find or create many organizations in one call, from a list loaded from a file or another source.
Call it for a list of more than a few companies; for one, use
find_or_create_organization. Each row is matched and filled the way that tool does it,
so importing the same list again saves nothing new and never overwrites a later edit. A
row that fails is skipped and reported with its reason and index; every other row is
saved. A matched row whose value differs from the one held is reported under kept.
At most 500 rows per call; split a longer list.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rows": "<rows>"
},
"name": "import_organizations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | Up to 500 companies, one object per row. A row needs a name, a domain, or an external reference a record here holds. Values are text; an empty string counts as absent. | |
| source | No | Where the list came from, recorded on each organization it creates (default "import"). | import |
| fields_by | No | Who is setting the rows' custom fields: an agent, a run, or a person. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||