Session objective

Inspect the current RingCentral/Litify SMS implementation in /Users/samaguiar/Documents/Projects/Repos/sail-litify/Litify_AI_Integration_Project without editing files. Goal was to identify the safest existing way for an Attorney Hub client birthday row to present a prebuilt SMS draft without sending it.

Work completed

Recommendation

For an Attorney Hub birthday row that should present a prebuilt SMS draft without sending it, use the draft-only RingCentral web app deep link pattern from litifyRingCentralPanelV2, not the Apex direct-send method. Feed the button from the safer BirthdayTextQueueService row shape because it already includes toNumber and messageText and excludes SMS STOP, birthday opt-out, deceased clients, missing mobile numbers, duplicate clients, and already-sent-today birthday texts. The button should be labeled like Open birthday text draft to avoid implying an immediate send.

Pending or cautions

Handoff for a future agent

If asked to implement, keep the first pass small and reversible. Prefer adding a shared client-side URL builder equivalent to litifyRingCentralPanelV2.buildRingCentralAppUrl(WORKSPACE_SMS, messageText) into the Attorney Hub birthday row component or a tiny shared LWC utility. Avoid calling BirthdayTextQueueController.sendReviewedBirthdayText unless Sam explicitly wants live sending, because that path sends SMS. Use BirthdayTextQueueService.getReviewedQueue data for eligibility and draft text rather than the older hub-local birthday list if practical. QA should include a source-level test for URL encoding of number and content, plus a no-send browser check that the RingCentral draft opens without invoking Apex send.

Reason for ending session