Import Contacts
import_contactsBulk find or create up to 500 contacts from a list, matching existing records and creating missing ones while reporting skipped rows.
Instructions
Find or create many contacts in one call, from a list loaded from a file or another source.
Call it for a list of more than a few people; for one, use find_or_create_contact.
Each row is matched and filled the way that tool does it, so importing the same list again
saves nothing new. A row's organization_domain names its organization, which is found
or created. 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_contacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | Up to 500 people, one object per row. A row needs a name, an email, 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 contact and 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 | |||