Daily CRM Digest

CRM
crm
vibe:ai

The Problem

Your pipeline has dozens of open deals and no obvious order of attack. The ones going cold look the same as the ones closing this week — until it's too late.

How to use

  1. Get a free API key

    Sign up for Vibecode and issue a key with the scopes listed below. It takes less than a minute.

  2. Open your AI agent

    Launch Claude Code, Cursor, ChatGPT or whichever AI model you work with.

  3. 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.

Daily CRM Digest

Prompt for AI

Copy this prompt and send it to your AI model along with your Vibecode API key

Build me a Daily CRM Digest for Bitrix24. Every morning it reads my open deals and shows a one-line AI "focus for today", then four columns: deals closing this week, deals going stale (idle 7+ days), deals waiting on my reply, and new leads overnight — each with the amount and a short AI reason. Clean, light, scannable in 10 seconds.

Read deals with GET /v1/deals (filter by stage, close date, last activity date).
Group them into the four buckets in code; use POST /v1/chat/completions only to write the one-line focus summary and the short per-deal reasons. Compute all amounts/counts yourself.

API key: vibe_api_xxx (scopes: crm, vibe:ai)
API Discovery: https://vibecode.bitrix24.com/v1/me

Heads-up: CRM field sanitization

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.

What You Get

Every morning: a one-line focus for the day and four columns — closing this week, going stale, waiting on you, new overnight — each deal with its amount and a short reason.

Required Scopes

crm
vibe:ai

Endpoints for these scopes

The API resource name does not always match the scope name. Use these exact paths — guessing /v1/:scope often returns 404.

crm

/v1/leads
/v1/deals
/v1/contacts
/v1/companies
/v1/products
/v1/activities

Related Solutions

Get your free key