An outbound calling assistant that detects voicemail systems and handles live contacts appropriately.
This assistant monitors uses transcriptions to distinguish between voicemail systems and live humans. When voicemail is detected, it uses the leave_voicemail tool to deliver a pre-recorded message. For live contacts, it delivers a brief message and handles responses professionally.
-
Voicemail Detection — The assistant uses transcriptions to detect common voicemail phrases (e.g., "Please leave a message after the beep", "Your call has been forwarded to voicemail") and triggers the
leave_voicemailtool when confident. -
Live Person Handling — When a human answers, the assistant delivers the message and responds to acknowledgments or questions briefly before ending the call.
-
Tool-Based Voicemail — Uses Vapi's
voicemailtool type to deliver messages, ensuring the voicemail is left cleanly without the assistant speaking it aloud.
assistant.json— Full assistant configuration with voicemail detection logic in the system prompttools/leave_voicemail.json— Voicemail tool definition with trigger phrases and the message to leave
| Setting | Value |
|---|---|
| firstMessageMode | assistant-waits-for-user |
| voicemailDetectionEnabled | false |
| voicemailMessage | "" |
- This assistant uses prompt-based voicemail detection rather than Vapi's built-in
voicemailDetectionEnabledflag - Update the
leave_voicemailtool'sbeepDetectionEnabledto true if you also want to detect voicemail based on beeps. - Customize the voicemail message in
tools/leave_voicemail.jsonundermessages[0].content