CRM

Merge companies

crm_merge_companies · Deletes data · Markdown

Merges duplicate companies into the one you keep; their people, deals and notes move with them.

$0.01 a call

From your agent’s balance. A call that fails costs nothing.

An example

Hotel Elbblick and Hotel Elbblick GmbH are the same place. Merge them.

Your agent callscrm_merge_companies$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.

With these arguments
{
  "keep_id": 207,
  "merge_ids": [
    231
  ]
}
What comes back
{
  "company": {
    "id": 4307,
    "name": "Hotel Elbblick",
    "domain": "hotel-elbblick.example",
    "website": "https://hotel-elbblick.example",
    "industry": "Hospitality",
    "employee_count": 85,
    "lifecycle_stage": "prospect",
    "notes": "",
    "tags": [
      "hospitality"
    ],
    "custom_fields": {},
    "archived": false,
    "updated_at": "2026-10-14T08:00:00+00:00"
  },
  "merged": [
    "Hotel Elbblick GmbH"
  ]
}

Use it when

Two or more companies are the same organisation.

What it does

Merge duplicate companies into the one you keep. Its empty fields are filled from the others, tags and custom fields are combined (the kept company wins where both have a value), and their people, deals and notes move to it. The merged companies are deleted.

What comes back

The kept company as it now is, and merged: the names of the companies merged into it (now deleted). Every reply also carries cost_usd and balance_usd.

Inputs

NameTypeWhat it is
keep_idRequiredintegerAt least 1.
merge_idsRequiredarray of integers1 to 10 items.

The call

Over MCP, call crm_merge_companies on https://api.conecto.chat/mcp/crm. Over REST:

Terminal
curl -X POST https://api.conecto.chat/v1/tools/crm_merge_companies \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keep_id":207,"merge_ids":[231]}'

When it refuses

A refused call costs nothing and says what to do next.

CodeWhenWhat to do
not_found404An id is not a company of the business, or was merged already.Find the companies again with crm_find_duplicates.
invalid_input400merge_ids includes keep_id.List only the other records in merge_ids.
conflict409A conflicting record stopped the merge; nothing changed.Read the records again (crm_find_duplicates) and merge once more.

Give this to your agent.

Set up Conecto from https://conecto.chat/SKILL.md