MCP Control
Обзор  ›  CRM
CRM · Изменение

CRM · Воронки · Установка значения · Этап · Flow

crm_pipeline_set_stage_flow
Контактные карточки и телефон

Попробуйте три запроса

Подготовить
  1. Вы указываетеPipelineid
  2. ПомощникПодготовка
  3. Вы получаетеПредпросмотр
Запрос в чат
Подготовь «CRM / Воронки / Установка значения / Этап / Flow». Для изменения нужны pipelineId, stageId. Покажи объект и ожидаемый эффект до выполнения.
Что входит в подготовку
pipelineId
Параметр
stageId
Параметр
flowId
Сценарий
Применить
  1. Вы указываетеСогласованные значения
  2. ПомощникОдин вызов
  3. Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «CRM / Воронки / Установка значения / Этап / Flow» с параметром pipelineId = DEMO-101. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
Фрагмент учебных параметров
pipelineId
DEMO-101
stageId
DEMO-101
Проверить итог
  1. Вы указываетеИсходный ответ
  2. ПомощникСверка результата
  3. Вы получаетеПодтверждение
Запрос в чат
Проверь результат «CRM / Воронки / Установка значения / Этап / Flow» по исходному ответу. Покажи pipelineId, stageId. Объясни, чем подтвердить эффект для выбранного объекта.
Как сверить изменение
  1. До измененияПрочитать версию
  2. При записиПередать выбранную версию
  3. После ответаПеречитать объект
Как работает действие

Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения. Прочитайте актуальную версию записи перед подготовкой запроса.

Описание разработчика

Bind or clear the protected stage.flow field of one canonical pipeline stage. Requires current company-wide CRM and Flow write access, an exact pipeline revision and an active webhook Flow for binding. Preserves every other pipeline field and stage. No Flow is run by this configuration operation.

Параметры запроса
pipelineId
Exact canonical company pipeline, stage or Flow identifier, according to the field name. обязательно по схеме · string
stageId
Exact canonical company pipeline, stage or Flow identifier, according to the field name. обязательно по схеме · string
expectedRevision
Версия, прочитанная перед изменением. обязательно по схеме · string
flowId
Active native Flow ID to bind, or null to clear this stage binding. обязательно по схеме · null
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
pipelineId
Exact canonical company pipeline, stage or Flow identifier, according to the field name. обязательно по схеме · string
stageId
Exact canonical company pipeline, stage or Flow identifier, according to the field name. обязательно по схеме · string
flowId
Current protected native stage Flow binding, or null when none is configured. обязательно по схеме · null
revision
Exact Firestore revision of this pipeline configuration. обязательно по схеме · string
Поля и технические схемы
Входные поля и поля ответа crm_pipeline_set_stage_flow
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "pipelineId": {
      "$ref": "#/$defs/_mcp0"
    },
    "stageId": {
      "$ref": "#/$defs/_mcp0"
    },
    "expectedRevision": {
      "type": "string",
      "pattern": "^\\d{1,12}:\\d{1,9}$",
      "description": "Exact Firestore revision of this pipeline configuration."
    },
    "flowId": {
      "anyOf": [
        {
          "$ref": "#/$defs/_mcp0"
        },
        {
          "type": "null"
        }
      ],
      "description": "Active native Flow ID to bind, or null to clear this stage binding."
    },
    "requestId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$",
      "description": "Stable idempotency key for these exact binding arguments."
    }
  },
  "required": [
    "pipelineId",
    "stageId",
    "expectedRevision",
    "flowId",
    "requestId"
  ],
  "additionalProperties": false,
  "$defs": {
    "_mcp0": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,160}$",
      "description": "Exact canonical company pipeline, stage or Flow identifier, according to the field name."
    }
  }
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "pipelineId": {
      "$ref": "#/$defs/_mcp0"
    },
    "stageId": {
      "$ref": "#/$defs/_mcp0"
    },
    "flowId": {
      "anyOf": [
        {
          "$ref": "#/$defs/_mcp0"
        },
        {
          "type": "null"
        }
      ],
      "description": "Current protected native stage Flow binding, or null when none is configured."
    },
    "revision": {
      "type": "string",
      "pattern": "^\\d{1,12}:\\d{1,9}$",
      "description": "Exact Firestore revision of this pipeline configuration."
    }
  },
  "required": [
    "pipelineId",
    "stageId",
    "flowId",
    "revision"
  ],
  "additionalProperties": false,
  "$defs": {
    "_mcp0": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,160}$",
      "description": "Exact canonical company pipeline, stage or Flow identifier, according to the field name."
    }
  }
}