Inspiration
When a patient triage line, emergency clinic dispatch, or customer support workflow loses a voice call mid-sentence, callers are usually forced to dial back and repeat everything. ChimeFlow is an omnichannel triage, PII/clinical guardrail, and carrier failover workbench for teams building agentic conversations across voice (PSTN/WebRTC), SMS, and email.
What it does
- Deterministic Multi-Channel Failover Test Bench: Simulates four real-world triage and support scenarios via voice, SMS, and email. Inject a carrier timeout, undelivered SMS delivery receipt, or SIP trunk failure and evaluate retries, failover boundaries, blocked channels, and human fallbacks in milliseconds.
- Precise Carrier-Level GSM-7 / UCS-2 Segment Counter & Clinical/PII Shield: Counts 7-bit GSM-7 (with extensions to 2-bits) and 16-bit UCS-2 message segments, automatically obfuscates validated credit card numbers, SSNs, phone numbers, emails, and clinical identifiers prior to any payload transmission, and maintains an 8:00 AM to 9:00 PM recipient local quiet period.
- Browser Interactive Web Audio DTMF Keypad & Confidence-Failover Conversation Tester: Simulate a live triage call in the web browser, whereby pressing digits generates true ITU-T dual-tone multi-frequency (DTMF) sine waves and confidence or risk words in the conversation instantly transfer to a human operator.
- Schema Verified Request Payloads & Lambda Handler Scaffolder: Exports schema validated request payloads (SpeakAndGetDigits, PlayAudioAndGetDigits, CallAndBridge, SendTextMessage, SendEmail, CreateSipMediaApplication) and a lambda handler skeleton.
How we built it
Built in zero-dependency vanilla JavaScript (engine.js, render.js, app.js) with SVG timeline visualizations, Web Audio API DTMF synthesis, and automated node:test unit and DOM smoke suites verifying GSM-7/UCS-2 segmentation, Luhn/PII redaction, failover state machines, and payload schemas.
Links
- Live Workbench: https://aariv.me/chimeflow/
- Source Code: https://github.com/draarivpatel-ui/chimeflow
Built With
- accessibility
- clinic
- css3
- healthcare
- html5
- javascript
- simulation
- telephony
- triage
- webaudio