Автоматизации · Изменение
Flow · Проверка · Настройка
flows_check_setup
Попробуйте три запроса
Подготовить
- Вы указываетеЧат
- ПомощникПодготовка
- Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Flow / Проверка / Настройка». Для изменения нужны чат, messageId. Покажи объект и ожидаемый эффект до выполнения.
- chatId
- Чат
- messageId
- Параметр
Применить
- Вы указываетеСогласованные значения
- ПомощникОдин вызов
- Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Flow / Проверка / Настройка» с параметром chatId = DEMO-101. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
- chatId
- DEMO-101
- messageId
- DEMO-101
Проверить итог
- Вы указываетеИсходный ответ
- ПомощникСверка результата
- Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Flow / Проверка / Настройка» по исходному ответу. Покажи сценарий, nodeId. Объясни, чем подтвердить эффект для выбранного объекта.
- ЗапросСохранить исходный ключ
- ОтветПроверить статус
- ПроверкаСверить эффект операции
Как работает действие
Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения.
Описание разработчика
Check credential/OAuth completion and finish native Flow binding after the provider callback. Requires current access and an unchanged draft revision. Returns status/referenceId only. A pending result may be checked again; secure Chat completion can resume the AI operation automatically.
Параметры запроса
- chatId
- Existing Chat. обязательно по схеме · string
- messageId
- Credential/oauth message from flows_request_setup. обязательно по схеме · string
- requestId
- Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
- flowId
- Native Flow. обязательно по схеме · string
- nodeId
- Native node. обязательно по схеме · string
- chatId
- Existing Chat. обязательно по схеме · string
- messageId
- Native credential/oauth message. обязательно по схеме · string
- sessionId
- Flow operation session. обязательно по схеме · string
- status
- Secure setup state. ready means saved and bound, not production activation. обязательно по схеме · string · варианты pending, ready, expired
- referenceId
- Credential/integration ID only when ready; no secret or OAuth URL. обязательно по схеме · string · до символов 160
- productionActivated
- Secure setup never activates the Flow. обязательно по схеме · boolean
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"chatId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Existing Chat."
},
"messageId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Credential/oauth message from flows_request_setup."
},
"requestId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,128}$",
"description": "Unique check attempt ID. Pending OAuth may need a later check."
}
},
"required": [
"chatId",
"messageId",
"requestId"
],
"additionalProperties": false
}Выход · 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 Flow."
},
"nodeId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Native node."
},
"chatId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Existing Chat."
},
"messageId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Native credential/oauth message."
},
"sessionId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Flow operation session."
},
"status": {
"type": "string",
"enum": [
"pending",
"ready",
"expired"
],
"description": "Secure setup state. ready means saved and bound, not production activation."
},
"referenceId": {
"type": "string",
"maxLength": 160,
"description": "Credential/integration ID only when ready; no secret or OAuth URL."
},
"productionActivated": {
"type": "boolean",
"const": false,
"description": "Secure setup never activates the Flow."
}
},
"required": [
"flowId",
"nodeId",
"chatId",
"messageId",
"sessionId",
"status",
"referenceId",
"productionActivated"
],
"additionalProperties": false
}