How gana37/kapture-collections-voicebot works
Maya is an outbound collections voicebot configured in Vapi, with a mock Express webhook for identity verification and collection outcomes. The documented call flow gates debt disclosure on verification, then handles promises to pay, payment links, dispositions, or human escalation. The graph includes the prompt and tool schemas, the webhook’s implemented operations, and its in-memory disposition log. Vapi setup and tool routing are documented, but the assistant configuration itself is external; no live telephony or payment integration is implemented here.
Main entry points: server.js Express webhook · system_prompt.txt Conversation rules · tool_definitions.json Tool schemas
Components 15
Voice interaction
- Vapi assistant
- Conversation rules
vapi/system_prompt.txt - Tool schemas
vapi/tool_definitions.json - Deepgram transcription
- OpenAI model
- ElevenLabs voice
Webhook operations
- Express webhook
mock-server/server.js - Identity verification
mock-server/server.js
Collection outcomes
- Promise logging
mock-server/server.js - Payment link response
mock-server/server.js - Agent escalation
mock-server/server.js - Disposition logging
mock-server/server.js - In-memory call log
mock-server/server.js - Disposition query
mock-server/server.js
Other components
- Borrower
Connections 16
- Borrower → Vapi assistant: speaks with
README.md - Conversation rules → Vapi assistant: guides responses
README.md - Tool schemas → Vapi assistant: registers tools
README.md - Vapi assistant → Deepgram transcription: uses transcription
README.md - Vapi assistant → OpenAI model: uses model
README.md - Vapi assistant → ElevenLabs voice: uses voice
README.md - Vapi assistant → Express webhook: posts tool calls
README.md - Express webhook → Identity verification: routes to
mock-server/server.js - Express webhook → Promise logging: routes to
mock-server/server.js - Express webhook → Payment link response: routes to
mock-server/server.js - Express webhook → Agent escalation: routes to
mock-server/server.js - Express webhook → Disposition logging: routes to
mock-server/server.js - Promise logging → In-memory call log: appends record
mock-server/server.js - Agent escalation → In-memory call log: appends record
mock-server/server.js - Disposition logging → In-memory call log: appends record
mock-server/server.js - Disposition query → In-memory call log: reads records
mock-server/server.js