CRM

Delete a pipeline

crm_delete_pipeline · Deletes data · Markdown

Deletes an empty pipeline; the last one stays.

$0.001 a call

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

An example

Delete the old trade fair 2025 pipeline. It's empty now.

Your agent callscrm_delete_pipeline$0.001 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
{
  "pipeline": "Trade fair 2025"
}
What comes back
{
  "deleted": {
    "id": 4102,
    "name": "Trade fair 2025"
  }
}

Use it when

A pipeline is no longer used and holds no deals.

What it does

Delete an empty pipeline (by id or name). A pipeline that holds deals cannot be deleted: move them to another pipeline first with crm_move_deal. The last pipeline cannot be deleted.

What comes back

deleted: the pipeline's name. Every reply also carries cost_usd and balance_usd.

Inputs

NameTypeWhat it is
pipelineRequiredstring1 to 80 characters.

The call

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

Terminal
curl -X POST https://api.conecto.chat/v1/tools/crm_delete_pipeline \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"pipeline":"Trade fair 2025"}'

When it refuses

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

CodeWhenWhat to do
not_found404No pipeline, or no stage in it, has that name or id.Call crm_list_pipelines and use a pipeline and stage from it.
conflict409The pipeline still holds deals, or it is the only one.Move its deals elsewhere with crm_move_deal first; the business always keeps one pipeline.

Give this to your agent.

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