Save a company
Creates a company, or updates the one with the same name or with the company_id you give, which can rename it; only the fields you send change.
$0.01 a call
From your agent’s balance. A call that fails costs nothing.
An example
Add Hotel Elbblick as a company: an 85-person hotel on the harbour, and a prospect for its new restaurant kitchen.
Your agent callscrm_save_company$0.01 a call
The example business is Hansen & Voss, a restaurant-equipment wholesaler in Hamburg with 60 staff. The reply is the one the tool really gives.
{
"name": "Hotel Elbblick",
"domain": "hotel-elbblick.example",
"website": "https://hotel-elbblick.example",
"industry": "Hospitality",
"employee_count": 85,
"lifecycle_stage": "prospect",
"tags": [
"hospitality"
]
}Use it when
An organisation belongs in the CRM: a customer's business, a hotel, a studio, a supplier. Give company_id when one you have changes its name.
- For a person, use
crm_save_contact. - For many companies at once, use
crm_save_companies.
What it does
Create a company, or update the one with this name (case-insensitive). With company_id, update that company instead, and a name renames it. Only the fields you send change; tags are added, custom fields merged.
What comes back
The company as saved (id, name, domain, website, industry, employee count, lifecycle stage, notes, tags, custom fields), and created: true when it is new. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
company_id | integer | At least 1. |
name | string | Required unless company_id is given; with it, the company's new name. 1 to 255 characters. |
domain | string | Up to 255 characters. |
website | string | Up to 500 characters. |
industry | string | Up to 120 characters. |
employee_count | integer | At least 0. |
lifecycle_stage | string | One of: prospect,onboarding,customer,churned. |
notes | string | Up to 20,000 characters. |
custom_fields | object | Custom fields as {"key": value}, merged into the existing ones; null clears one. Keys defined with crm_define_field are checked against their type. |
tags | array of strings | Tags to add, e.g. ["vip"]; a new tag is made on first use. crm_tag_records removes tags. Up to 20 items. |
The call
Over MCP, call crm_save_company on https://api.conecto.chat/mcp/crm. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/crm_save_company \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Hotel Elbblick","domain":"hotel-elbblick.example","website":"https://hotel-elbblick.example","industry":"Hospitality","employee_count":85,"lifecycle_stage":"prospect","tags":["hospitality"]}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
invalid_input400 | A custom field value does not fit the field's type, or the record would hold too many custom fields. | Send a value of the type crm_list_fields shows for that key, or null to clear it. |
conflict409 | Another call saved the same record at the same moment. | Call again: it will update the record that now exists. |
not_found404 | No company of the business has that company_id. | Find the company with crm_search or crm_find_companies and use its id. |
conflict409 | Another company already has the new name. | Merge the two with crm_merge_companies, or pick another name. |
invalid_input400 | Neither a name nor company_id was given, or the name is blank. | Send the name, or company_id to change a company you have. |
More CRM tools
All 41 tools- Search the CRM
crm_searchFinds contacts, companies and deals from whatever you have: a name, an email, a phone number in any format, a domain or a deal title.Free* - Find contacts
crm_find_contactsFinds contacts by name, email, company or phone, by filters on any field or tag, or by a saved segment, one page at a time.Free* - Get a contact
crm_get_contactOne contact, by id or email, with its tags, custom fields, recent activity, open tasks and deals.Free* - Everything open with a customer
crm_get_customerEverything open with one customer in one read: deals, tickets, invoices, quotes, signatures, meetings and their last messages.Free* - Save a contact
crm_save_contactCreates a contact, or updates the one with the same email; only the fields you send change.$0.01 a call - Save many contacts
crm_save_contactsCreates or updates up to 100 contacts in one call, each like crm_save_contact; you pay only for the ones saved.$0.01 per record saved - Update a contact
crm_update_contactChanges fields on a contact by its id, its email included; only the fields you send change.$0.01 a call - Archive a contact
crm_archive_contactHides a contact from searches and lists; its history is kept.$0.001 a call
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md