An empty CRM response is not evidence of no follow-up
说明与用途
该方案通过正确解释空活动数组、区分缺失与未知后续操作,并突出覆盖缺口,防止误报后续跟进需求。
问题
A CRM agent incorrectly flags deals with no visible unfinished activities as needing follow‑up, even when the data shows incomplete activity reads or missing coverage.
结果
The recipe prevents false positives by correctly interpreting empty activity arrays, distinguishing between missing and unknown follow‑ups, and highlighting coverage gaps.
工作流
- Clone the bitrix‑read‑kit repository at a fixed commit
- Run the demo script to generate a synthetic report
- Filter deals where activity_read_complete is true and visible_open_activity_ids is empty to identify missing follow‑ups
- Filter deals where activity_read_complete is false to identify unknowns
- Inspect the coverage object to confirm which pages were fully retrieved
- Run audits at different as‑of times to see how classification changes over time
- Use the model only to explain evidence, not to fabricate conclusions
证据
The JSON behind it contains two empty arrays. One belongs to a completed activity read. The other belongs to an incomplete read.
This tempting filter produces the wrong work queue: missing = [row["deal_id"] for row in report["deals"] if not row["visible_open_activity_ids"]] # [101, 105]
A narrower predicate preserves what the reader actually established: missing = [row["deal_id"] for row in report["deals"] if row["activity_read_complete"] and not row["visible_open_activity_ids"]]
- 记录日期: 2026-10-15T09:56:04.000Z