td-d0fc9e

Widen merchant-kb Intercom fetch window + include open conversations

open task P3 Parent: td-5a8ff4
Created Apr 16, 2026 4:12 PM Updated Apr 16, 2026 4:12 PM
Description
Current fetch (pipeline/intercom-fetch.py, called by rc-mkb-intercom-sync cron) pulls only *closed* conversations tagged '1 - Shopify Merchant' from the *last 7 days*. Conversations that are still open, untagged, or older than 7 days never enter the raw/ folder. Triggered by Jaime flagging that Everyday Dose was missing its Apr 6–15 A/B test conversations. Verified on disk: pipeline/intercom-raw/ has 11 Everyday Dose conversations, latest created 2026-03-04. The April convos exist in Intercom but aren't fetched. Fix options: (1) widen the closed-window to 30 days (cheap, catches delayed tags), (2) also fetch open conversations with the merchant tag (captures in-flight), (3) add a manual 'force fetch by merchant id' mode for investigations. (1)+(3) probably covers most cases without blowing up API usage.
Session Log (0 entries)