Thanks @Ibrahim Munir, such an easy and clear video. I was implementing the use of tools to check for available slots on google calendar and to book appointments on the calendar. When the Assistant is talking and gets to a point is says ### and continues with the prompt and ####. Please what could be the problem?
Great video, Ibrahim. Can you explain why you created the 'base' assistant (as you called it) first/separately, instead of creating the assistant from the 'create call' POST request? Do they accomplish different things? Thanks!
Appreciate the support. No specific reason besides it just being a bit more readable, easier to follow. Creating the assistant in the POST should work as well, and could save an extra op in Make possibly. Hope that helps.
thank you , very much... i have question. well i need help with : Error: 400 Bad Request {"message":"Bad control character in string literal in JSON at position 78 (line 4 column 30)","error":"Bad Request","statusCode":400} in the http model the last module
Glad you asked Michael! You can easily do this in VAPI with End of Call Reports (also called Call Analysis). You can grab any sort of information you want with structured data extraction inside of those reports, summarize the calls, evaluate the calls based on a rubric (success vs fail, scale of 1 to 10, etc). My video right after this one was actually on this entire topic. You'd get all the information you're probably looking for: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-w7yHxLSvXnU.htmlsi=si7HW2nWZt_6rQmy Thanks!
Great indepth tutorial! I'm trying to build an automated system for my client. I've coppied his voice and saved it to 11Labs. We are using Google Calendar to schedule calls for his clients. How can I trigger a call to be made to the clients on the selected time & date. During this phone call, certain questions will be asked by VAPI so that a personalised regime will be sent to the client via email when the call ends. Do you have any videos relating to this kind of project?
You can edit the scheduling option for the scenario to run during certain time intervals (e.g. every 24 hours), that could help. For the post-call processing automation you are describing with the client email, that looks like you need to use end of call reports (also called call analysis) inside VAPI. I have a video on this that you can watch: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-w7yHxLSvXnU.html Hope this answers the question.
Lovely video❤... Please how do I build an assistant that receives inbound calls only during business hours. I will rely appreciate your response on this🙌
I have followed your step by step setup but encounter some issue at the last MAKE HTTP module. Output: Status Code 401. Cookie headers: Data {"message":"JWT is empty.","error":"Unauthorized","statusCode":401}. What could be the potential issue here and how could it be resolved. Appreciate your guidance.
Sounds like an authentication issue possibly since it mentions JWT. If you can confirm that header is correct -- "Authorization" for the header name and then "Bearer [PRIVATE_API_KEY here without brackets]" for the value. Let me know if that helps. If it doesn't, it might help to send the entire request or picture of what you're doing if you're comfortable doing so to help figure out the issue. Either pasting it here after removing sensitive information or you could also email me at ibrahim@shadow-ai.co and I could take a look on there.
Hey, ive tried this but it does not work. My prompt is not executed and the voice AI does not know what its doing. I noticed VAPI has changed its API section. Can you do an updated outbound calling?
Hey grizzely, sure I can look into making an updated video, thanks for the feedback! VAPI does frequently update the platform and the API and I've noticed this before. The video though should still be pretty up-to-date since I've used templates like these for recent project builds. You will have to make some changes, but it shouldn't be too crazy.
I have questions here, on your video the @ VAPI API create phone call body, I sawed fields content customer ID, customer number, name, extension, phoneNumber ID, phoneNumber, etc. on the right hand site. My VAPI API @create phone call body was different from yours. How and where did you get these: customer ID, customer number, name, extension, phoneNumber ID, phoneNumber ? Appreciate your sharing..🙂
No worries, happy to answer them: For the create phone call, make sure you can confirm that you're looking at the right type of request (maybe you accidentally went to create assistant). Here's a link to the correct documentation, just in case: docs.vapi.ai/api-reference/calls/create-call The customer number/name/extension are all inside the customer object. customerId and phoneNumberId and phoneNumber are all separate objects too. They're usually towards the end of the request body and assistant object is usually at the top (assistant object is pretty long as well). So make sure you scroll all throughout the request body to make sure you don't miss it since these customer/phone objects are a lot more smaller.
Hard to say without taking a closer look, but I would probably look at phoneNumberId and confirm it's correct. Make sure it's being copied correctly from VAPI Sometimes there's also hidden issues with the encoding if you use a text editor before pasting into Make. I would suggest if nothing else work, try typing in the ID manually. Worst come to worst, try manually writing the body and see if that works. I've had these types of issues in the past and just doing it manually instead of pasting it in has worked for me before.
@@speaqr_ai That should be the only ID in the request body of the last module Try manually entering the ID instead of copy pasting because sometimes hidden characters can get pasted when copy pasting which can cause issues
@@theibrahimmunir Finally got it to work! The mistake was on my side, thank you so much. What would i have to change in order for it to cycle through the rows of the spreadsheet after hanging up on the first call?
@@speaqr_aiGlad it’s working now! In the case of Google Sheets, just set the field “Maximum number of returned rows” to be empty and it should go through every single row.
How to integrate that for an inbound call? E.g. A call comes in and I want to check if the user is in a database. If he already is in the database, greet him with his name, if not add a new contact to that database.
Hey Sian, I haven't made a video on this yet, but it's covered in the VAPI docs, see this page. docs.vapi.ai/server-url/events All you have to do is set the serverUrl of the assistant to a Make scenario. In the Make scenario, you have a webhook. If VAPI sends a request of type "assistant-request" (see VAPI docs for more info), then you know someone is calling you. They'll send you the phone number, you just go in your database and get the user's info (e.g. first name) and put it into the system prompt. If they don't exist in the phone number, then you just use some default system prompt. Hope that helps.