Vapi Support Bot
03/29/2025, 2:42 PM{{variableName}}
in your assistant's messages or prompts.
2. Configure your JSON payload correctly when making API calls:
json
{
"assistantId": "your-assistant-id",
"assistantOverrides": {
"variableValues": {
"name": "John"
}
},
"customer": {
"number": "+1xxxxxxxxxx"
},
"phoneNumberId": "your-phone-id"
}
3. Set the assistant ID on your phone number through the Vapi dashboard:
- Go to the "Phone Numbers" section
- Select your specific phone number
- In the "Inbound" area, select your assistant from the dropdown
If you're still experiencing issues, check that:
- The variable names in your variableValues
exactly match those in your assistant's prompts
- Your assistant is properly configured to accept dynamic variables
- You're not including both a transient assistant and an assistantId in the same request
Would you like me to explain any specific part of this configuration in more detail?
Sources:
- [Vapi Documentation Dynamic Variables](https://docs.vapi.ai/assistants/dynamic-variables)Vapi Support Bot
03/29/2025, 2:42 PMVapi Support Bot
03/29/2025, 3:16 PMVapi Support Bot
03/29/2025, 3:19 PMjson
"name": "{{13.`1`}}"
"number": "{{13.`0`}}"
"transcript": "{{13.`2`}}"
You need commas after each line:
json
"name": "{{13.`1`}}",
"number": "{{13.`0`}}",
"transcript": "{{13.`2`}}"
2. **Backtick characters in variable references**: The backticks (`) in your variable references (`{{13.1
}}`) are likely causing parsing issues. Variable references should use standard notation without backticks.
3. **Variable format mismatch**: According to [Vapi's documentation](https://docs.vapi.ai/assistants/dynamic-variables), dynamic variables should be defined with double curly braces in your prompts, but the webhook should send the actual values, not template references.
When you remove the assistant ID from the phone number, Vapi tries to get the assistant configuration from your webhook. This works sometimes but fails other times because your JSON has syntax errors.
Here's a corrected version of your JSON:
json
{
"assistantId": "cd6eda34-5653-4d97-a7a5-34c1eb2b2704",
"assistantOverrides": {
"variableValues": {
"name": "ActualNameValue",
"number": "ActualNumberValue",
"transcript": "ActualTranscriptValue"
}
},
"customer": {
"number": "ActualCustomerNumber"
},
"phoneNumberId": "0da90f65-04ef-4296-8dea-a3dd1c918037"
}
Replace the "ActualXValue" placeholders with the actual values from Make.com (not the template references).
Would you like me to explain how to properly map your Make.com variables to this format?
Sources:Vapi Support Bot
03/29/2025, 3:19 PMVapi Support Bot
03/29/2025, 3:30 PMjson
{
"variableValues": {
"name": "Max",
"number": "+33788059808",
"transcript": "AI: Bonjour, je suis l'assistante vocale.\nUser: Oui bien sûr ça m'intéresse."
}
}
According to [Vapi documentation](https://docs.vapi.ai/assistants/dynamic-variables), when you have an assistant ID already set on the phone number, you only need to provide the variable values, not the entire assistant configuration.
Is there anything specific about these approaches you'd like me to explain further?
Sources:Vapi Support Bot
03/29/2025, 3:30 PMVapi Support Bot
03/29/2025, 3:39 PMHello {{name}}
somewhere?
3. When you say "call work but not dynamic variable" for Option 2, does this mean the call connects and the assistant responds, but it doesn't use the personalized variables (like the name "Max")?
4. Have you tried removing the +
character in your webhook template for the number? I notice in your output there's a double ++
which might be causing issues.
Sources:
- [Vapi Documentation Dynamic Variables](https://docs.vapi.ai/assistants/dynamic-variables)
- [How webhook responses affect dynamic variables in Vapi](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1335054553250533439)
- [Vapi Documentation Server URL Events](https://docs.vapi.ai/server-url/events)Vapi Support Bot
03/29/2025, 4:08 PMassistantOverrides
wrapper? Like this:
json
{
"assistantOverrides": {
"variableValues": {
"name": "Max",
"number": "33788059808",
"transcript": "AI: Bonjour, je suis l'assistante vocale.\nUser: Oui bien sûr ça m'intéresse."
}
}
}
2. Have you checked if your Server URL is correctly configured in the Vapi dashboard? The URL should point directly to your Make webhook endpoint.
3. Are you seeing any errors in the Make.com execution history when Vapi tries to call your webhook? This could help identify if there's a connection issue.
4. Have you tried simplifying your test by using just one variable (like name
) to see if that works before adding the others?
Sources:
- [Vapi Documentation Dynamic Variables](https://docs.vapi.ai/assistants/dynamic-variables)
- [How webhook responses affect dynamic variables in Vapi](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1335054553250533439)
- [Vapi Documentation Server URL Events](https://docs.vapi.ai/server-url/events)Vapi Support Bot
03/29/2025, 4:39 PM{{Name}}
but your webhook sends "name": "Max"
, it won't work.
2. **Try with assistantOverrides format**: Since you mentioned Option 2 works with the assistantOverrides format but doesn't show dynamic variables, double-check that your assistant's prompt is using the exact same variable names:
json
{
"assistantOverrides": {
"variableValues": {
"name": "Max"
}
}
}
And in your prompt: Hello {{name}}
3. **Server URL location**: According to [Vapi documentation](https://docs.vapi.ai/server-url/events), the Server URL should be set at the phone number level, not just in organization settings. Try setting it specifically on the phone number you're testing with.
4. **Timing issue**: There might be a timing issue where the webhook isn't responding quickly enough. Try adding a small delay in your Make scenario before sending the response.
5. **Check webhook logs**: In the Vapi dashboard, check if there are any logs showing the webhook being called and what response is being received.
6. **Simplify further**: Try with just a single variable and the absolute minimum JSON structure:
json
{
"assistantOverrides": {
"variableValues": {
"name": "Max"
}
}
}
If none of these solutions work, you might want to reach out to Vapi support with your specific scenario details, as there might be something unique about your setup that's causing this issue.Vapi Support Bot
03/29/2025, 4:39 PMVapi Support Bot
03/29/2025, 4:44 PMVapi Support Bot
03/29/2025, 5:03 PMKyle
03/30/2025, 9:40 AMVapi Support Bot
03/30/2025, 10:42 AMVapi Support Bot
03/30/2025, 10:51 AMKyle
03/30/2025, 11:18 AM