Actions12
- Клиенты Actions
- Филиалы Actions
- Группы Actions
Клиенты → Создать
AI-generatedSummary
Create a new customer record in Альфа-CRM with specified details such as name, phone, email, status, assigned manager ID, and a note.
Inputs
- Имя (required) — The name of the customer to create.
- Телефон — The customer's phone number; non-digit characters are stripped before sending.
- Email — The customer's email address.
- Статус — The status of the customer: 0 for Lead (Лид), 1 for Client (Клиент). Defaults to Lead.
- Ответственный менеджер (ID) — ID of the responsible manager assigned to the customer.
- Комментарий — A textual comment or note about the customer.
Output shape
a single JSON object representing the created customer record, including all server-assigned properties
Returns the created customer model from the API response. Throws an error if API call or authorization fails.
Examples
Example 1: Create customer named 'Ivan Ivanov' with phone and email.
Имя='Ivan Ivanov', Телефон='+7 912 345-67-89', Email='ivan@example.com', Статус=0 (Лид), Ответственный менеджер (ID)=0, Комментарий=''.