CRM · Чтение
CRM · Настройки · Проверка
crm_workspace_settings_validate
Попробуйте три запроса
Получить данные
- Вы указываетеОбъект
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «CRM / Настройки / Проверка» выполни чтение в текущей компании. Выведи кратко: companyId, результат.
- companyId
- Поле ответа
- result
- Результат
Задать параметры
- Вы указываетеЗадача
- ПомощникСхема входа
- Вы получаетеУсловия чтения
Запрос в чат
Покажи, как получить «CRM / Настройки / Проверка» на учебном примере с values.dmReplyLanguage = auto. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
- values.dmReplyLanguage
- auto
- values.dmAutomationEnabled
- true
- values.commentAutomationEnabled
- true
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «CRM / Настройки / Проверка» объясни companyId, результат. Отметь отсутствующие значения.
- companyId
- Поле ответа
- result
- Результат
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании.
Описание разработчика
Validate a proposed partial native CRM AI configuration without saving it or enabling replies.
Параметры запроса
- values
- Значения для записи. Состав и вложенность указаны в схеме. обязательно по схеме · 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": {
"values": {
"type": "object",
"properties": {
"businessName": {
"description": "Native businessName value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 120
},
"businessType": {
"description": "Native businessType value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 120
},
"dmConversationPrompt": {
"description": "Native dmConversationPrompt value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 20000
},
"dmKnowledgeBase": {
"description": "Native dmKnowledgeBase value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 20000
},
"dmSalesGoal": {
"description": "Native dmSalesGoal value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 20000
},
"dmPricingPolicy": {
"description": "Native dmPricingPolicy value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 20000
},
"dmReplyLanguage": {
"description": "Native dmReplyLanguage value; use the value and type returned by the corresponding service.",
"type": "string",
"enum": [
"auto",
"ru",
"en",
"es"
]
},
"dmAutomationEnabled": {
"description": "Native dmAutomationEnabled value; use the value and type returned by the corresponding service.",
"type": "boolean"
},
"commentAutomationEnabled": {
"description": "Native commentAutomationEnabled value; use the value and type returned by the corresponding service.",
"type": "boolean"
},
"dmPauseWhenHumanReplies": {
"description": "Native dmPauseWhenHumanReplies value; use the value and type returned by the corresponding service.",
"type": "boolean"
},
"dmPauseWhenUnsure": {
"description": "Native dmPauseWhenUnsure value; use the value and type returned by the corresponding service.",
"type": "boolean"
},
"dmRequireApprovalForSensitiveReplies": {
"description": "Native dmRequireApprovalForSensitiveReplies value; use the value and type returned by the corresponding service.",
"type": "boolean"
},
"dmQuietHoursEnabled": {
"description": "Native dmQuietHoursEnabled value; use the value and type returned by the corresponding service.",
"type": "boolean"
},
"dmQuietHoursStart": {
"description": "Native dmQuietHoursStart value; use the value and type returned by the corresponding service.",
"type": "string",
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$"
},
"dmQuietHoursEnd": {
"description": "Native dmQuietHoursEnd value; use the value and type returned by the corresponding service.",
"type": "string",
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$"
},
"dmQuietHoursTimezone": {
"description": "Native dmQuietHoursTimezone value; use the value and type returned by the corresponding service.",
"type": "string",
"maxLength": 100
},
"dmMinReplyDelaySeconds": {
"description": "Native dmMinReplyDelaySeconds value; use the value and type returned by the corresponding service.",
"type": "integer",
"minimum": 0,
"maximum": 3600
},
"dmMaxReplyDelaySeconds": {
"description": "Native dmMaxReplyDelaySeconds value; use the value and type returned by the corresponding service.",
"type": "integer",
"minimum": 0,
"maximum": 3600
},
"dmDailyReplyLimit": {
"description": "Native dmDailyReplyLimit value; use the value and type returned by the corresponding service.",
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"dmHourlyDmLimit": {
"description": "Native dmHourlyDmLimit value; use the value and type returned by the corresponding service.",
"type": "integer",
"minimum": 0,
"maximum": 1000
}
},
"additionalProperties": false,
"description": "Native values value; use the value and type returned by the corresponding service."
}
},
"required": [
"values"
],
"additionalProperties": false
}Выход · 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"
}
}
]
}
}
}