Company
Date Published
Author
Jordan Dearsley
Word count
1061
Language
English
Hacker News points
None

Summary

This guide provides a step-by-step process to build a multi-functional voicebot in minutes using the Vapi API. The voicebot is designed to provide technical support to inbound callers and remember where conversations left off if calls are disconnected. To start, developers need to define the purpose of the voicebot and set up their backend infrastructure by connecting with service providers such as Deepgram for transcription, OpenAI's ChatGPT-3.5-turbo and ChatGPT-4-turbo for model, and ElevenLabs, PlayHT, Deepgram, OpenAI, and RimeAI for voice. The guide then walks through the process of defining the voicebot's configuration, including transcriber, model, messages, forwarding phone number, first message, and recording enabled. Developers can obtain a phone number for inbound calls and configure their server URL to fetch new configurations based on the caller's phone number. They also need to enable saving conversations at the end of the call using the Server URL's `end-of-call-report` message. Finally, developers need to get voicebot ready to receive calls by hitting the server's endpoint with a message like `assistant-request`, and respond accordingly with either saved or new configurations. The guide concludes by encouraging developers to test their voicebots and deploy them on the Vapi dashboard.