sibyorself
05/05/2025, 8:54 PM{
"assistantId": "f3b1c374-1e5b-47e8-aa03-8cdbe0df67c8",
"phoneNumberId": "e640fea1-5a5f-4b2f-9e6c-0f65e4e9ccfd",
"assistantOverrides": {
"variableValues": {
"name": "{{contact.name}}",
"Property": "{{contact.address1}}"
}
},
"customer": {
"number": "{{contact.phone_raw}}"
}
}
And in the Assistant's System Prompt, an instruction on how to greet the customer:
"When greeting the customer, say something like 'Hi, {{name}}!'"
Is this how you properly setup the webhook in JSON and how you reference the variable within the system prompt? If not, please provide me some corrections. Thank you!Vapi Support Bot
05/05/2025, 8:55 PM{{contact.name}} with the actual name before sending to Vapi. Try testing with a hardcoded name first:
json
"variableValues": {
"name": "John Doe",
"Property": "{{contact.address1}}"
}
If this works, the issue is likely with how GHL is processing the variable.
Source:
- [Dynamic Variables in Vapi](https://docs.vapi.ai/assistants/dynamic-variables)Vapi Support Bot
05/05/2025, 9:00 PM20
05/05/2025, 11:15 PM! AetherMind
05/05/2025, 11:20 PMsibyorself
05/06/2025, 3:11 PMKings_big💫
05/06/2025, 4:11 PM