Сотрудники · Чтение
Найти сотрудника по имени
Ищет профиль сотрудника в доступных точках компании.
employees_search
Попробуйте три запроса
Получить данные
- Вы указываетеФилиал
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Найти сотрудника по имени» выполни чтение по выбранной записи (филиал). Выведи кратко: список позиций, следующая страница.
- items
- Список позиций
- nextCursor
- Следующая страница
- hasMore
- Продолжение
Следующая страница
- Вы указываетеПредыдущий ответ
- ПомощникПродолжение
- Вы получаетеСледующая страница
Запрос в чат
Продолжи «Найти сотрудника по имени» с позиции прошлого ответа. Сохрани фильтры и размер страницы 3. Покажи новые строки отдельно.
Страница 1До 3 строк
Страница 2Продолжение
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Найти сотрудника по имени» объясни список позиций, следующая страница. Отметь отсутствующие значения.
- items
- Список позиций
- nextCursor
- Следующая страница
- hasMore
- Продолжение
Пример вызова через sabsus_action_call
{
"name": "employees_search",
"arguments": {
"query": "Анна",
"limit": 5
}
}Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании. При постраничном чтении используйте продолжение ответа с теми же фильтрами.
Описание разработчика
Find native workforce staff profiles by stored name in this workspace and allowed locations. Uses the existing workforce dashboard staff classification. Obtain employeeId for workforce dashboards or employee availability without requiring CRM access. Returns profile labels only; it neither reads nor assigns employee access rights.
Параметры запроса
- query
- Поисковое выражение для этой операции. необязательно · string · до символов 200
- locationId
- Идентификатор точки из текущего подключения. необязательно · string · до символов 128
- limit
- Максимальное число элементов на этой странице. обязательно по схеме · integer · по умолчанию 20 · минимум 1 · максимум 50
- cursor
- Продолжение из предыдущего ответа при тех же фильтрах. необязательно · string · до символов 600
Что вернёт команда
- items
- Записи, которые вернул этот запрос. обязательно по схеме · array · до элементов 50
- nextCursor
- Курсор для получения следующей страницы. обязательно по схеме · string / null
- hasMore
- Есть ли ещё одна страница результата. обязательно по схеме · boolean
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"query": {
"description": "Optional case-insensitive name or stored order-number substring. This filters a bounded scan, not a fuzzy or full-text index; continue with nextCursor even after an empty page.",
"type": "string",
"maxLength": 200
},
"locationId": {
"description": "Optional canonical establishment identifier from company location discovery. It must be available to this connection.",
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_~:@+.-]+$"
},
"limit": {
"default": 20,
"description": "Maximum matching records to return, from 1 to 50. Each request scans at most 200 stored records.",
"type": "integer",
"minimum": 1,
"maximum": 50
},
"cursor": {
"description": "Opaque nextCursor from the previous page of this exact search, workspace and location permissions. Keep the same filters.",
"type": "string",
"maxLength": 600
}
},
"required": [
"limit"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"items": {
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"employeeId": {
"type": "string",
"description": "Canonical root users document identifier. Use unchanged in workforce and employee availability actions; this is not a Firebase Auth UID."
},
"displayName": {
"type": "string",
"description": "Stored staff display name, with first/last-name fallback."
},
"firstName": {
"type": "string",
"description": "Stored employee first name."
},
"lastName": {
"type": "string",
"description": "Stored employee last name."
},
"positionId": {
"description": "Stored Position identifier, or null when unassigned. This does not grant permissions.",
"type": [
"string",
"null"
]
},
"locationId": {
"description": "Stored establishment identifier, or null for an unassigned profile visible only to all-location staff.",
"type": [
"string",
"null"
]
},
"language": {
"type": "string",
"description": "Stored interface language, or an empty string when unspecified."
},
"blocked": {
"type": "boolean",
"description": "Whether the native profile explicitly marks the employee blocked."
}
},
"required": [
"employeeId",
"displayName",
"firstName",
"lastName",
"positionId",
"locationId",
"language",
"blocked"
],
"additionalProperties": false
},
"description": "Matching accessible records in stable document-ID order, not chronological or relevance order."
},
"nextCursor": {
"description": "Continue the same search using this cursor, or null when the scanned collection is exhausted.",
"type": [
"string",
"null"
]
},
"hasMore": {
"type": "boolean",
"description": "Whether more stored records remain to scan; later pages may contain no matching records."
}
},
"required": [
"items",
"nextCursor",
"hasMore"
],
"additionalProperties": false
}