ChatPilot
First Conversation
Trace the first inbound WhatsApp conversation through ChatPilot.
Trigger an inbound message from a test number. The pipeline should create or update:
| Table | Expected write |
|---|---|
| contacts | Phone, name, entry source, opt-in, metadata, and optional ctwa_clid. |
| conversations | Tenant/contact thread with status, state, active flag, and window_expires_at. |
| messages | WhatsApp message ID, direction, type, content, and timestamps. |
The bot loads tenant config, classifies the message, may query the tenant content library, and sends a reply. window_expires_at controls whether future sends can be session messages or must use approved templates.