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

  1. Voice Provider Webhook (post-call)
  2. Verify Provider Signature (HMAC-SHA256)
  3. Mask Medical PII (transcript)
  4. Vault Recording (PDPL retention)
  5. Clinical Triage (medical_intent)
  6. Route by Urgency
  7. Clinician Approval (urgent/emergency)
  8. WhatsApp Alert — On-Call Clinician
  9. CRM: Log Routine Call
  10. Log Info-Only Call (no follow-up)
  11. Log Unknown — Manual Triage Queue
  12. 200 OK to Voice Provider

All templates