like-gold
like-gold2w ago

Vapi not saying variables

Hey guys, I just started using vapi I’m a contractor and I’m trying to have him call leads and schedule them for an estimate. I managed to get ghl to push a call to it but it won’t say the customer name for the life of me { "assistantId": "842a3534-8738-479b-89c3-19c1e7189b05", "phoneNumberId": "6592956d-736b-4e83-8cf1-8f83eef46e27", "customer": { "number": "{{number_formatter.1.result}}", "name": "{{contact.name}}", "assistantOverrides": { "variableValues": { "customerName": "{{contact.first_name}}" } } } } JSON checks out and on the starting promt it has Hi, is this {{customerName}}? But he just stays blank. I had ghl push a text message first to mee the contact name to confirm it actually pushes the name and it’s not blank but vapi wont say it. Am I missing anything?
6 Replies
vicious-gold
vicious-gold2w ago
Yeah you are It should be the same thing as the code in Ghl like Hi, is this {{contact.first_name}} If you do not understand, let me know Or send me a DM
like-gold
like-goldOP2w ago
Hey thanks for getting back to me, I tried using the variable from gohighlevel but he still won’t say the name correctly. I saw some video where they said that you’re supposed to push the ghl variable as an assistant override variable value and then put it in vapi but that didn’t work as well. He just acts as if it’s blank
vicious-gold
vicious-gold2w ago
Yeah, can we hop on a call?
like-gold
like-goldOP2w ago
Hi, sure.
vicious-gold
vicious-gold2w ago
Sent you a dm
Shubham Bajaj
Shubham Bajaj2w ago
We will standby in case you need additional support

Did you find this page helpful?