CRM · Чтение
Лиды · Просмотр
lead_get
Попробуйте три запроса
Получить данные
- Вы указываетеЛид
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Лиды / Просмотр» выполни чтение по выбранной записи (лид). Выведи кратко: лид, title.
- leadId
- Лид
- title
- Поле ответа
- customerId
- Клиент
Задать параметры
- Вы указываетеЛид
- ПомощникСверка выбора
- Вы получаетеТочный объект
Запрос в чат
Покажи, как получить «Лиды / Просмотр» на учебном примере с leadId = DEMO-101. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
- leadId
- DEMO-101
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Лиды / Просмотр» объясни лид, title. Отметь отсутствующие значения.
- leadId
- Лид
- title
- Поле ответа
- customerId
- Клиент
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании.
Описание разработчика
Get one CRM lead from its canonical company-scoped identifier. Returns selected CRM fields and excludes scripts, provider payloads and internal AI state.
Параметры запроса
- leadId
- Canonical lead identifier returned by a search action in the currently connected workspace. Never construct it from a display name. обязательно по схеме · string · до символов 160
Что вернёт команда
- leadId
- Canonical Companies/{company}/Leads document identifier. обязательно по схеме · string
- title
- Stored lead title, document.name_lid. обязательно по схеме · string
- customerId
- Linked canonical users identifier, if one is stored. обязательно по схеме · string / null
- pipelineId
- Linked canonical company pipeline identifier. обязательно по схеме · string / null
- firstName
- Lead first name. обязательно по схеме · string
- lastName
- Lead last name. обязательно по схеме · string
- source
- Stored lead acquisition source. обязательно по схеме · string
- managerId
- Assigned user identifier; assignment does not grant permissions. обязательно по схеме · string / null
- comment
- Lead comment text. обязательно по схеме · string
- createdAt
- Stored event time represented in UTC, or null when absent. обязательно по схеме · string / null
- tags
- Stored tags, limited to 30. обязательно по схеме · array
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"leadId": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"pattern": "^[A-Za-z0-9_~:@+.-]+$",
"description": "Canonical lead identifier returned by a search action in the currently connected workspace. Never construct it from a display name."
}
},
"required": [
"leadId"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"leadId": {
"type": "string",
"description": "Canonical Companies/{company}/Leads document identifier."
},
"title": {
"type": "string",
"description": "Stored lead title, document.name_lid."
},
"customerId": {
"description": "Linked canonical users identifier, if one is stored.",
"type": [
"string",
"null"
]
},
"pipelineId": {
"description": "Linked canonical company pipeline identifier.",
"type": [
"string",
"null"
]
},
"firstName": {
"type": "string",
"description": "Lead first name."
},
"lastName": {
"type": "string",
"description": "Lead last name."
},
"source": {
"type": "string",
"description": "Stored lead acquisition source."
},
"managerId": {
"description": "Assigned user identifier; assignment does not grant permissions.",
"type": [
"string",
"null"
]
},
"comment": {
"type": "string",
"description": "Lead comment text."
},
"createdAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
{
"type": "null"
}
],
"description": "Stored event time represented in UTC, or null when absent."
},
"tags": {
"type": "array",
"items": {
"type": "string",
"description": "Stored CRM tag text."
},
"description": "Stored tags, limited to 30."
}
},
"required": [
"leadId",
"title",
"customerId",
"pipelineId",
"firstName",
"lastName",
"source",
"managerId",
"comment",
"createdAt",
"tags"
],
"additionalProperties": false
}