Автоматизации · Изменение
Flow · Изменение
flows_workspace_update
Попробуйте три запроса
Подготовить
- Вы указываетеСценарий
- ПомощникПодготовка
- Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Flow / Изменение». Для изменения нужны сценарий, graph. Покажи объект и ожидаемый эффект до выполнения.
- flowId
- Сценарий
- graph
- Параметр
Применить
- Вы указываетеСогласованные значения
- ПомощникОдин вызов
- Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Flow / Изменение» с параметром flowId = DEMO-101. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
- flowId
- DEMO-101
- expectedRevision
- 4
Проверить итог
- Вы указываетеИсходный ответ
- ПомощникСверка результата
- Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Flow / Изменение» по исходному ответу. Покажи companyId, результат. Объясни, чем подтвердить эффект для выбранного объекта.
- До измененияПрочитать версию
- При записиПередать выбранную версию
- После ответаПеречитать объект
Как работает действие
Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения. Прочитайте актуальную версию записи перед подготовкой запроса.
Описание разработчика
Save a new native Flow Studio graph version at the exact current draft revision. On errors use system_logs_search; read sabsus_get_master_prompt topic=automations for diagnosis. Existing published execution is unchanged; incomplete nodes can be saved and then validated. For an unknown outcome, read the original receipt before retrying; correlate logs by diagnosticId or requestId.
Параметры запроса
- flowId
- Native flowId value; use the value and type returned by the corresponding service. обязательно по схеме · string
- requestId
- Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
- expectedRevision
- Версия, прочитанная перед изменением. обязательно по схеме · integer · максимум 9007199254740991
- graph
- Native graph value; use the value and type returned by the corresponding service. обязательно по схеме · object
Что вернёт команда
- companyId
- Native companyId value; use the value and type returned by the corresponding service. обязательно по схеме · string
- result
- Native result value; use the value and type returned by the corresponding service. обязательно по схеме · object
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"flowId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Native flowId value; use the value and type returned by the corresponding service."
},
"requestId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,128}$",
"description": "Stable request ID for these exact arguments. Keep it if the response is uncertain."
},
"expectedRevision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Native expectedRevision value; use the value and type returned by the corresponding service."
},
"graph": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "Native name value; use the value and type returned by the corresponding service."
},
"description": {
"description": "Native description value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 5000
},
"items": {
"maxItems": 2000,
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
}
},
"description": "Native items value; use the value and type returned by the corresponding service."
},
"positions": {
"description": "Native positions value; use the value and type returned by the corresponding service.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "object",
"properties": {
"x": {
"type": "number",
"description": "Native x value; use the value and type returned by the corresponding service."
},
"y": {
"type": "number",
"description": "Native y value; use the value and type returned by the corresponding service."
}
},
"required": [
"x",
"y"
],
"additionalProperties": false
}
},
"viewport": {
"description": "Native viewport value; use the value and type returned by the corresponding service.",
"type": "object",
"properties": {
"x": {
"type": "number",
"description": "Native x value; use the value and type returned by the corresponding service."
},
"y": {
"type": "number",
"description": "Native y value; use the value and type returned by the corresponding service."
},
"zoom": {
"type": "number",
"minimum": 0.05,
"maximum": 4,
"description": "Native zoom value; use the value and type returned by the corresponding service."
}
},
"required": [
"x",
"y",
"zoom"
],
"additionalProperties": false
}
},
"required": [
"name",
"items"
],
"additionalProperties": false,
"description": "Native graph value; use the value and type returned by the corresponding service."
}
},
"required": [
"flowId",
"requestId",
"expectedRevision",
"graph"
],
"additionalProperties": false,
"$defs": {
"__schema0": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/__schema0"
}
},
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
}
}
]
}
}
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"companyId": {
"type": "string",
"description": "Native companyId value; use the value and type returned by the corresponding service."
},
"result": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"description": "Native result value; use the value and type returned by the corresponding service."
}
},
"required": [
"companyId",
"result"
],
"additionalProperties": false,
"$defs": {
"__schema0": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/__schema0"
}
},
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
}
}
]
}
}
}