upsert_company_by_domain
Create the canonical CRM company record for a website domain when none exists, or update it when it does. Pass domain plus at least one of seed (name, industry, size, address, linkedIn, headQuartersCountry; applied only when the company is created) or fields (allowed keys: fiberDetails, industry, description, address, headQuartersCountry, linkedIn, companyTwitterUrl, linkedInLogoUrl, size, yearFounded, companyType; applied on every call, overwriting the stored values of an existing record). Optional nameFromEnrichment replaces a placeholder name that still equals the domain. Returns { data: { created, _id, domain } } where data._id is the company id. This writes only the company record that all FuseAI accounts share for this domain, so a change shows for every account that has this company; it does not mark the company as saved for the user. The record is part of FuseAI's own company catalog: the call itself reaches no outside service and starts no job or automation, but running campaigns use these company details when writing AI messages to prospects at this company, in any account, so an update changes what those prospects are sent.
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": {
"domain": "<domain>"
},
"name": "upsert_company_by_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| domain | Yes | ||
| fields | No | ||
| nameFromEnrichment | No |