Dynamic Variables Explained | Vapi Tutorial *With Templates*
Вставка
- Опубліковано 7 лют 2025
- In this tutorial, we dive deep into one of the most essential features of Vapi: Dynamic Variables. Learn how to customize your AI voice assistants by integrating dynamic information like user names and other data points, without any coding knowledge. I’ll guide you step-by-step on setting up Dynamic Variables using Json, and to make things easier, I'm providing templates for both inbound and outbound calls. Watch till the end for additional resources and a free template to streamline your setup!
Try Vapi (my coffee thanks you!)
vapi.ai/?via=j...
My resource hub:
hub.integratic...
hub.integratic...
Work with us 👋🏼
integraticus.com/
My Links 🔗
👉🏻 Subscribe: / @jannismoore
👉🏻 Instagram: / jannismoore
👉🏻 LinkedIn: / jannismoore
👉🏻 More ways to reach me: integraticus.c...
#vapi #dynammicVariables #aiautomation
This is exactly what I was looking for since I started learning Vapi. Thank you so much!
Wake up a new Jannis video just dropped!
😂😂😂😂😂 exactly
Jannis is the ONLY way to go when it comes to VAPI, MAKE automations.
This guy exists everwhere
Awesome I appreciate you for sharing!
thank you so much for the value added.....big fan
best video
This supperrrr helpful ...
Awesome sauce! Was looking for this over the weekend. Right on time!
If you’re pulling data from High Level, you’d just replace that google sheet module, right?
Was thinking this same thing
Yep exactly. You can simply run the GHL requests before, collect the data, and feed it back in.
Awesome!! Love it..
Question:
Can an inbound and outbound call using a same phone number or id ?
Yes of course
Jannis this is great but with inbound is there a way to use variables without having to also spin up a new assistant in make? Sounds like no
You’re right, you need to initiate a transient assistant for that
Is the idea that only 1 dynamic agent can exist within the Vapi system per account since only 1 api can be used within the settings? Or is the idea that all calls from all numbers come into this scenario first and then routed to the appropriate assistant based on the assigned number to the assistant? Is there a way to push dynamic variables with an agent that is assigned a phone number? perhaps by calling toolsets? I'm just trying to figure out how this will work within one account for multiple clients with multiple assistants
You can set a separate server URL per phone number which should solve your problem
Hey Jannis, don't know if you have done a video on this before, but I was wondering if there's an easier way to do the outbound calls using a Vapi module. I was confused on where to get the "customer ID" field in the Vapi "create an outbound phone call" module. Thanks!
Hey, I have somewhere a tutorial specifically about a outbound caller setup. Generally you'd need some external setup if you want to do some more sophisticated list calling with dynamic data.
Jannis, One last thing. Can you include you VAPI prompt file in your downloads in txt to be included with your templates?
Will do for our next videos :)
Basically I am trying to add an "address" dynamic text field in vapi, and i am having trouble. i have the Dynamic-Cold-Caller-Sync-Data.json and Dynamic-Cold-Caller-Vapi.json set up from a previous video. Can I replace that with this? Thanks for your awesome videos.
Hello Jannis ,
For inbound call's here webhook is triggering at the beginning of the the call .
In my case I'm getting end of call report , so webhook triggers after the end of call . I'm not able to send dynamic variable's at the beginning of the call . Any solution for this ??
If I give it a google sheet with customer data, how does it decide who to call?
You need to loop through the sheet elements and call Vapi for each
Hey Jannis, I didn't get how to set up the HTTP Request and the Webhook Response nodes in inbound call part, as you also don't open and explain them. So the inbound call triggers the scenario, but what endpoint to use in the http request then? 'make a call' endpoint didn't work (for obvious reasons, as it calls the user while he is already in the line). How to return the assistant ID from the set variable node back to the system so that it can pick up the call? And how to set the webhook response?
You don't need to pick up the call during the setup. When there's an assistant request, then you can simply fetch the static assistant, which returns the assistant configuration. That's being sent back and is actually used instead of the static assistant directly.
@jannismoore still not clear to me, sry. Do you have a screenshot/another tutorial/can i pay you for a quick loom?
@jannismoore with 'fetch' you mean 'get assistant'? And with return webhook response - what should be its content?
@@botscaler Feel free to join our Discord community - there you can send screenshots which should make it easier
The webhook response is successful as is the GET on the incoming call but the call just hangs up instead of the bot starting.
Can you check in the logs what the call-ended reason is?
@jannismoore the call never even shows up but you can see API activity in the API logs
@@chadg3215 Are you using a Twilio Trial number by any chance?
@@jannismoore no but I got a bot to pick up the call now but can't get my assistant to pick up it's just some generic one.
Bro idk why I did all of the setup in VAPI even added the MAKE webhook and after testing it once it worked well but in the next try the VAPI setup got changed automatically. Out of no where and even spoiled the make webhook structure. Could u pls help me to fix that. VAPI is changing its settings automatically.
Vapi had some caching issues within their dashboard, which overwrote some of the settings. Is that what you refer to?
Hey, i try it, the template works but the agent didn't say the name i put on make..
I swear! I tried to make this video so people avoid having this issue. Please let me know what was the reason and how you solved it.
The only thing I can think of is that the name wasn't filled into the variable.
What's the response of the "Create JSON" module when you run it manually?
@@jannismoore hey jannis...I had this problem too...
It comes with variable name problems...
Soo my variable in jason was First_name... And the I was writing it in system prompt as first_name...
When I fixed upper case... It worked...
At this point its even case sensitive variable... It must exactly match...
Jannis, love the videos and the best for VAPI + Make. We are trying to develop a assistant that will take. a call with the purpose of 1. setting a office appointment and updating our calendar. 2. setting a Video Consultation via Google meet. sets available date and time and sends a confirm via gmail. ( or ) 3. fail over, transfers call to a LIVE office attendant. One thing we are concerned about is will VAPI continue to charge for time if it transfers to the office live attendat?
That's awesome! Vapi only charges for the time you call with the AI itself. On a transfer, there are no additional charges
@@jannismoore hope to see the next video with the appointment features above.... thanks keep your videos coming! They help more than you know...
Hey Jannis, awesome video! Quick question. I can not get Ava to say my first name, this is the first message
Hello {{first_name}}, this is Ava. I just got your submission on our Facebook ad. Is now a good time to talk ?
I even sent my first name is using the vapi module in make and hard coding my name in but no matter what I try it won't work. Do I need to turn dynamic variables on or something?
You just need to define them within the overrides. I suggest checking if they’re properly set in the Make.com webhook response
This Doesnt work either.
I can only account for my build, but not your implementation.
If you need help, sharing details would be the most viable thing for now :)
@@jannismoore i imported the blueprint which you provided and then configured the parameters like assistant id and everything.
when i call the bot , scenario executed with the correct data the way it should respond but still bot doesn't get this.
idk why this is happening. i tried both ways with dynamic variables and the other method from your previous video
@@Usman-v8r5k Check out my debug videos about make.com I guess you forgot something either within the scenario it Vapi. You'll see more details when you do a manual run - there'll be more details in the white bubble next to the HTTP module that initiates the Vapi call
is it just me or does this guy speak incredibly fast? The best info for VAPI developers for sure.... just too fast.
That's why UA-cam blessed us with the Playback speed feature :)