To use Vicidial's `name` variable in Vapi for pers...
# general-english
e
To use Vicidial's
name
variable in Vapi for personalized greetings like "May I talk to {{name}}?", configure Vicidial to pass the
name
variable via a SIP header (e.g.,
X-Customer-Name
) or custom field in the dialplan or API when routing calls to Vapi’s inbound DID. In Vapi, set up a Server URL webhook to capture the
name
from the call metadata and return it in the
variableValues
object. Update the Vapi assistant’s
firstMessage
to
May I talk to {{name}}?
and link it to the inbound DID. Test the integration by checking Vicidial and Vapi logs to ensure the variable is transmitted correctly, and implement a fallback message if the
name
is missing.
2 Views