adverse-sapphire
adverse-sapphire5mo ago

Issue with {{name}} Variable Not Pronouncing Correctly in Outbound Calls

Hello Vapi.ai Support Team, We are currently using Vapi.ai's outbound call automation under this email address. We’ve set everything up properly, including creating the assistant, configuring the system prompt, and selecting the appropriate voice. During testing yesterday, everything worked as expected. However, today when we uploaded a list of call numbers for outbound automation, we encountered a major issue: Issue: We imported a CSV file via the Phone Numbers section, and the data (name and mobile number) was correctly mapped. In our system prompt, we used the dynamic variable {{name}} in relevant places to personalize the message. However, during the outbound calls, the assistant either: Pauses awkwardly where the name should be spoken, or Repeats the same name for all calls, instead of dynamically using the one from the CSV. Could you please investigate this and let us know what might be causing this issue? We would appreciate any steps to resolve this or validate the correct usage of the {{name}} variable in outbound calls. Thank you for your support. #support
7 Replies
Vapi Support Bot
Check Your Variable Configuration in assistantOverrides To fix the {{name}} variable issue, verify your API request is correctly passing the variable using the assistantOverrides parameter:
{
"assistantOverrides": {
"variableValues": {
"name": "ProspectNameFromCSV" // Replace with your actual variable
}
}
}
{
"assistantOverrides": {
"variableValues": {
"name": "ProspectNameFromCSV" // Replace with your actual variable
}
}
}
Make sure the variable name in your system prompt matches exactly what's being passed in the request (including proper case sensitivity). Sources: - Discord discussion about variable issues - Discord discussion about variable interpolation
⤵️ Mention @Vapi Support Bot for follow-ups 🐥
adverse-sapphire
adverse-sapphireOP5mo ago
You can see all the images — when I created and uploaded the dynamic variable {{name}} for a personalized experience, it didn’t work as expected. For example, in the first image, I uploaded mobile numbers and names, and the data was perfectly aligned in the correct columns. I also used the correct variable name in the system prompt. We imported a CSV file via the Phone Numbers section, and the data (name and mobile number) was correctly mapped. In our system prompt, we used the dynamic variable {{name}} in relevant places to personalize the message. However, during outbound calls, the assistant either: Pauses awkwardly where the name should be spoken, or Repeats the same name for all calls, instead of dynamically using the name from the CSV. Can you help me resolve this issue
No description
No description
No description
Sahil
Sahil5mo ago
Hey! To help track down this issue, could you share: - The call IDs

This would really help us figure out what went wrong!
adverse-sapphire
adverse-sapphireOP5mo ago
Hi Shubham, Our Call ID is e877e67d‑a0d1‑40c6‑b1e8‑2e9b8235fb75. I used the Vapi mobile number +1 (515) 706‑0946, and I also selected the correct assistant for that call. Thanks,
Sahil
Sahil5mo ago
@SureshKumar hey, this is not the call ID. Instead, it's the phone number ID. I need the call IDs for which it's not working as you have expected. Please share the respective call IDs only.
adverse-sapphire
adverse-sapphireOP5mo ago
See this caller ID - 015bbca5-d883-4a04-9350-aae31a6c9c69 for you reference Here’s the recording URL with more details. Please listen to the attached audio recording—however, it isn’t playing correctly. https://storage.vapi.ai/6a102b78-eb88-41bf-b0c6-a49b98dd2fe8-1746034112658-78a1a84e-9fe3-4368-9864-0a378154eb05-stereo.wav
Sahil
Sahil5mo ago
Hello, I have reviewed the shared call ID log's and identified that you are not utilizing dynamic variables within your prompt. Consequently, the customer name is not being reflected. To rectify this issue, I recommend referring to the documentation https://docs.vapi.ai/assistants/personalization provided to understand the proper usage of dynamic variables. let me know how it goes for you.

Did you find this page helpful?