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

Вход · 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."
}
}
}