Michael P
07/27/2024, 6:41 PMVapi
07/27/2024, 6:42 PMassistantOverrides
with variableValues
to pass dynamic variables during the call.
Here's how you can do it:
1. When you receive the caller's phone number at your endpoint and look up their information in your database, prepare the data to be passed back to VAPI.
2. Use the assistantOverrides
field with variableValues
to set the dynamic variables such as first_name
, last_name
, and caller_number
.
3. Make an API call to VAPI with the correct payload structure to update the call context.
The payload should look something like this:
json
{
"assistantOverrides": {
"variableValues": {
"first_name": "John",
"last_name": "Doe",
"caller_number": "1234567890"
}
}
}
You would send this payload to the appropriate VAPI endpoint that is designed to update the call context with dynamic variables. If you're not sure which endpoint to use or how to structure the request correctly, please ask support for more info on this. They will be able to provide you with the specific details for your VAPI setup.Vapi
07/27/2024, 6:42 PMMichael P
07/27/2024, 6:48 PMMichael P
07/27/2024, 7:22 PMErikZ
07/27/2024, 7:25 PMErikZ
07/27/2024, 7:26 PMMichael P
07/27/2024, 7:46 PMMichael P
07/27/2024, 7:47 PMErikZ
07/27/2024, 7:49 PMErikZ
07/27/2024, 7:49 PMMichael P
07/27/2024, 7:50 PMMichael P
07/27/2024, 7:50 PMErikZ
07/27/2024, 7:50 PMErikZ
07/27/2024, 7:50 PMErikZ
07/27/2024, 7:50 PMErikZ
07/27/2024, 7:50 PMMichael P
07/27/2024, 7:51 PMMichael P
07/27/2024, 7:51 PMMichael P
07/27/2024, 9:11 PMSahil
07/27/2024, 11:53 PMSahil
07/27/2024, 11:54 PMMichael P
07/30/2024, 4:44 PMMichael P
07/30/2024, 5:24 PMErikZ
07/30/2024, 5:46 PMErikZ
07/30/2024, 5:47 PMErikZ
07/30/2024, 5:50 PMMichael P
07/30/2024, 8:55 PMMichael P
07/30/2024, 11:10 PMMichael P
07/30/2024, 11:11 PMMichael P
07/31/2024, 5:31 PMMichael P
07/31/2024, 5:31 PMErikZ
07/31/2024, 5:44 PMErikZ
07/31/2024, 5:44 PMErikZ
07/31/2024, 5:44 PMShubham Bajaj
07/31/2024, 8:51 PMMichael P
07/31/2024, 8:52 PMMichael P
07/31/2024, 8:53 PMShubham Bajaj
07/31/2024, 8:54 PMMichael P
07/31/2024, 8:56 PMMichael P
07/31/2024, 8:57 PMMichael P
07/31/2024, 8:59 PMShubham Bajaj
07/31/2024, 9:00 PMChowderr
07/31/2024, 11:08 PMChowderr
07/31/2024, 11:11 PMMichael P
08/01/2024, 5:39 AMChowderr
08/01/2024, 5:47 AMMichael P
08/01/2024, 5:48 AMChowderr
08/01/2024, 5:54 AMMichael P
08/01/2024, 5:57 AMMichael P
08/01/2024, 5:58 AMMichael P
08/01/2024, 5:59 AMMichael P
08/01/2024, 5:59 AMChowderr
08/01/2024, 5:59 AMMichael P
08/01/2024, 6:00 AMChowderr
08/01/2024, 6:00 AMMichael P
08/01/2024, 6:00 AMMichael P
08/01/2024, 6:01 AMChowderr
08/01/2024, 6:01 AMMichael P
08/01/2024, 6:01 AMMichael P
08/01/2024, 6:01 AMChowderr
08/01/2024, 6:01 AMMichael P
08/01/2024, 6:02 AMChowderr
08/01/2024, 6:02 AMChowderr
08/01/2024, 6:02 AMMichael P
08/01/2024, 6:02 AMMichael P
08/01/2024, 6:03 AMMichael P
08/01/2024, 6:03 AMChowderr
08/01/2024, 6:03 AMMichael P
08/01/2024, 6:04 AMMichael P
08/01/2024, 6:04 AMChowderr
08/01/2024, 6:04 AMMichael P
08/01/2024, 6:04 AMMichael P
08/01/2024, 6:04 AMChowderr
08/01/2024, 6:05 AMMichael P
08/01/2024, 6:05 AMChowderr
08/01/2024, 6:05 AMKarthick Annamalai
08/01/2024, 6:01 PMShubham Bajaj
08/01/2024, 7:00 PMKarthick Annamalai
08/05/2024, 7:25 PMShubham Bajaj
08/05/2024, 8:17 PMKarthick Annamalai
08/06/2024, 6:07 PMShubham Bajaj
08/06/2024, 9:50 PMKarthick Annamalai
08/07/2024, 3:31 PM