Managers can't accurately forecast monthly revenue — data is scattered across deals.
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 a sales forecasting tool based on Bitrix24 CRM data. Take all pipeline deals with amounts and stages, plus closed deal history for 3 months. For each stage, calculate close probability. Forecast revenue = amount × probability. Show: total forecast, forecast by manager, comparison with last month. Send report to chat. API key: vibe_api_xxx Documentation: https://vibecode.bitrix24.com/v1/me Concrete endpoints: GET /v1/deals, POST /v1/deals/search, POST /v1/deals/aggregate, GET /v1/statuses 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.
Accurate revenue forecast based on real pipeline data. Managers see how much revenue to expect by month's end.
The API resource name does not always match the scope name. Use these exact paths — guessing /v1/:scope often returns 404.
crm
Managers waste time switching between chat and CRM to check deal status or client contacts.
Managers can't see the big picture: how many deals are in progress, which ones are stuck, where intervention is needed.
Managers process leads in order of arrival, not priority. Hot prospects wait in the queue.