{{customer.number}} not corrrect
# support
f
Although I am using {{customer.number}} as from the documentation the number inserted into my tool in vapi is completely wrong. Why can this happen? In the dashboard call logs the customer number is correct?? It is crucial for us because we do SMS sending at this number and the SMS is not delivered. Thanks
t
Hi, I think you don't have to manually insert the caller's phone number in the tool. The webhook has a customer object that has the phone number by default
a
Hey, Could you please schedule a brief call at your convenience so we can discuss this matter in detail? Kindly use the following link to book a suitable time: .
l
Actually, I'm not sure if you can use the variable directly in the tool. I think that variables are interprated in System Prompt at the moment of start. So you should use it in the System Prompt and tell the agent to use it with the tool. Like: "... when you get user name, use the tool sendContactData with the complete name (as name) and the phone number {{customer.number}} (as phone_number).." Hope it helps!
a
Hey! To help track down this issue, could you share: - The call ID - When exactly this happened (the timestamp) - What response you expected to get - What response you actually got instead This would really help us figure out what went wrong!