Voice AI — Inbound Call (Vapi)
Inbound healthcare voice-AI call (Vapi default; adapt header/secret for Retell or Bland): webhook trigger, verify x-vapi-signature HMAC, mask medical PII in the transcript, classify clinical urgency (emergency/urgent/routine), require human approval before any clinical follow-up, vault the call recording with PDPL-aligned retention, and alert the on-call clinician via WhatsApp.
Steps in this flow
- Voice Provider Webhook (post-call)
- Verify Provider Signature (HMAC-SHA256)
- Mask Medical PII (transcript)
- Vault Recording (PDPL retention)
- Clinical Triage (medical_intent)
- Route by Urgency
- Clinician Approval (urgent/emergency)
- WhatsApp Alert — On-Call Clinician
- CRM: Log Routine Call
- Log Info-Only Call (no follow-up)
- Log Unknown — Manual Triage Queue
- 200 OK to Voice Provider