can someone help me configure my voice agent for a...
# support
h
i'm trying to have it be able to communicate well but just using my system prompt for the voice call isnt cutting it. even things like {{name}} arnet working, not sure how i configure this, cant find docs other than in call text stuff.. TIY
v
To make your agent use variables like
{{name}}
in text chat, you need to pass them in your chat request using the
assistantOverrides.variableValues
field. Here’s a concrete example:
Copy code
json
{
  "assistantId": "your-assistant-id",
  "input": "I need help with my account",
  "assistantOverrides": {
    "variableValues": {
      "name": "Alex"
    }
  }
}
Make sure your system prompt references
{{name}}
exactly, and pass the value as shown above for it to work in chat responses
([see docs](https://docs.vapi.ai/chat/quickstart#pass-variables-in-your-chat-request)). Source: - [Chat quickstart](https://docs.vapi.ai/chat/quickstart)
c
If you would like to use dynamic variables in your calls, please refer to the documentation:
2 Views