create_stage
Add a stage to a Kommo pipeline, inserted after existing editable stages with sort computed automatically; returns the created stage.
Instructions
Add a stage to a pipeline. It is placed after the pipeline's existing editable stages (sort is computed automatically). Not idempotent: each call creates another stage. Returns the created stage. Clears the stage and pipeline caches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Stage name, e.g. "Negotiation". | |
| color | No | Hex color sent to Kommo as-is, e.g. #4CAF50. Optional; Kommo may restrict it to its own palette. | |
| pipeline_id | Yes | Kommo pipeline ID (integer). Obtain it from list_pipelines. |