.hardboiledfish
05/20/2024, 8:32 PMVapi Support
05/20/2024, 8:32 PMVapi Support
05/20/2024, 8:32 PM{call object} and the overall flow.
1. Creating an Assistant:
First, you create an assistant by defining its behavior and capabilities in a JSON configuration. This includes setting up the transcriber to recognize specific keywords, the model to handle the conversation, and other details like the forwarding phone number and initial messages [(1)]() .
2. Buy a Phone Number:
You'll then purchase a phone number that will be used to receive inbound calls. This number is linked to your assistant, allowing it to handle calls made to this number.
3. Configure Your Server URL:
Your server will handle dynamic responses based on the caller's history or needs. When a call is received, Vapi sends a request to your server with a {call object}, which contains details about the call. Your server's response can then customize the assistant's behavior for that specific call.
4. Save the Conversation:
At the end of each call, your server can save the conversation summary and other relevant data using the {call object}. This allows your assistant to reference previous interactions the next time the same caller phones.
5. Handle Incoming Calls:
Each time a call is made to your number, the server checks if there is a stored conversation for that caller. If there is, it returns an assistant configuration that picks up where the conversation left off. If not, it starts with the default assistant configuration.
The {call object} is handled by your server. When Vapi sends this object to your server, it includes data about the ongoing call. Your server processes this information to determine how the assiVapi Support
05/20/2024, 8:32 PM.hardboiledfish
05/20/2024, 9:19 PMSahil
05/20/2024, 9:21 PMAiBizBox
05/21/2024, 1:10 PMSahil
05/21/2024, 1:40 PM.hardboiledfish
05/25/2024, 10:43 PMAiBizBox
05/26/2024, 7:00 AMAiBizBox
05/26/2024, 7:03 AMAiBizBox
05/26/2024, 7:10 AMSahil
05/26/2024, 8:46 AMAiBizBox
05/26/2024, 11:05 PMSahil
05/27/2024, 5:46 AM