jordanstubb.
08/20/2024, 11:12 PMVapi
08/20/2024, 11:13 PMVapi
08/20/2024, 11:14 PMassistantOverrides
feature with variableValues
when starting the call. Here's how you can set it up:
1. Define the dynamic variables you want to use in your bot's script, for example, {{name}}
.
2. When initiating a call, pass the assistantOverrides
object along with variableValues
containing the dynamic information you want to inject into the call.
Here's a sample JSON structure you would use:
json
{
"variableValues": {
"name": "CustomerName",
"otherVariable": "SomeOtherValue"
}
}
Replace "CustomerName"
and "SomeOtherValue"
with the actual data you want to send for each call. This will ensure that your bot has access to the dynamic information and can use it during the conversation.
If you need further assistance with the implementation or have any more questions, feel free to ask!Vapi
08/20/2024, 11:14 PMVapi
08/20/2024, 11:16 PM