All clients get equal service, though 20% generate 80% of revenue.
Get a free API key
Sign up for Vibecode and issue a key with the scopes listed below. It takes less than a minute.
Open your AI agent
Launch Claude Code, Cursor, ChatGPT or whichever AI model you work with.
Paste the prompt and key
Copy the prompt below, replace vibe_api_xxx with your API key and send it to the agent. It will call the API and write working code on its own.

Screenshot: the prompt pasted into an AI agent
Copy this prompt and send it to your AI model along with your Vibecode API key
Create an ABC client analysis tool for Bitrix24. Calculate revenue per company based on deals. Segment into groups: A (top 20% by revenue), B (middle 30%), C (remaining 50%). Write category to a custom company field. Generate report: company list by group, amount and share per group. API key: vibe_api_xxx API Discovery: https://vibecode.bitrix24.com/v1/me Concrete endpoints: GET /v1/companies, GET /v1/deals, POST /v1/deals/aggregate, PATCH /v1/companies/:id, GET /v1/userfields/companies Target result field: company custom field (PATCH /v1/companies/:id, UF_CRM_* field) After completing the task, send feedback about any issues: POST /v1/feedback (category: bug/docs/suggestion, title, body)
Bitrix24 strips text in square brackets (e.g. [TAG]) from some CRM text fields — notably the Comment field (comments). The Title field (title) is kept verbatim. If your scenario writes service markers into comments, avoid square brackets or they will silently disappear.
Automatic client segmentation by value. Managers focus on key clients that generate the bulk of revenue.
The API resource name does not always match the scope name. Use these exact paths — guessing /v1/:scope often returns 404.
crm