Can AI speed up service without hiding the human transition?
Automate conversations without losing commercial context or hiding when AI should step aside.
CASE FILE. 04 / AUTOMATION / AI
Connects WhatsApp by QR code, organizes the CRM, and uses business-aware AI to respond, qualify leads, schedule, follow up, and hand conversations to people.
BRIEF. 01 / PROBLEM AND BOUNDARY
A deliberate view of the current state. Metrics and the hypothesis remain editorial until public evidence can replace them.
Automate conversations without losing commercial context or hiding when AI should step aside.
SYSTEM TRACE. 02 / PRIMARY FLOW
Web console → Fastify API → Redis/PostgreSQL queues and state → WhatsApp session through Baileys.
Next.js / inbox and CRM
Fastify / policies and commands
Redis / PostgreSQL
Baileys / model / handoff
intent → policy → authoritative state → observable effectAn editorial sequence for discussing contract, authority, and effect. It does not represent real production telemetry.
Normalizes, correlates, and removes known redelivery.
message.receivedResolves conversation owner, policy, and AI eligibility.
reply | handoff | holdPersists context and queues only the effect that remains valid.
work.scheduledUpdates inbox, CRM, and decision reason for the operator.
conversation.projectedDECISION LOG. 03 / TRADE-OFFS
Treat AI as a per-conversation controllable mode and keep human handoff as a first-class product path.
RELIABILITY. 04 / FAIL WITH CONTEXT
These are not published production metrics. They are risks the design must make observable and candidate signals for the next round.
The WhatsApp session disconnects during a support sequence.
A message is redelivered and duplicates a CRM or follow-up effect.
Automation replies after the conversation has been handed to a person.
Recovery time and stability of connected sessions.
Handoff reason, human correction, and workflow resumption.
Duplicated, delayed, blocked, or unconfirmed messages.
INCIDENT DRILL. 05 / CONTAINMENT → RECOVERY → PROOF
Editorial resilience exercises, not real incidents or production runbooks. Each drill turns a failure mode into a response that can be discussed and tested.
DESIGN EXERCISE / REVIEW AGAINST REAL TELEMETRY AND RUNBOOKS BEFORE OPERATING
EVIDENCE. 06 / WHAT CAN BE DEFENDED
Expand quality metrics, context recovery, and operational guarantees for connected sessions.

INTERVIEW MODE. 07 / DEEPEN THE CONVERSATION
Questions that connect the case to system design, product, and operations without turning a contextual decision into a universal rule.
How to ensure a handoff invalidates already queued work.
↗Which context to send the model and which state never to entrust to it.
↗How to observe quality without retaining sensitive conversations indefinitely.
↗CASE FILE / 04