Assistant overrides support in webcall?
# support
a
I have a Vapi assistant in my dashboard, and I want to connect it to three different bot interfaces: mobile, web app, and phone calls. For each connection, I also want to pass the customer’s details and name using the assistant override feature. Can this be done, and if so, how? Additionally, I want to enable call-forwarding only for users who contact the assistant via phone calls, and not for those connecting through mobile or web applications. How can I configure this behavior?
v
You can pass customer details to your Vapi assistant in your web or mobile app using the
assistant-overrides
prop. Here’s a concrete example for the web widget:
Copy code
html
<vapi-widget
  public-key="your-public-key"
  assistant-id="your-assistant-id"
  assistant-overrides='{
    "variableValues": {
      "customerName": "John Doe",
      "customerTier": "Premium"
    }
  }'
/>
This will personalize the assistant’s responses with the provided customer information in your web or mobile interface. For more details, see the [Web Widget documentation](https://docs.vapi.ai/chat/web-widget). Source: - [Web Widget documentation](https://docs.vapi.ai/chat/web-widget)
c
You might run into issues forwarding calls from certain connection types since Vapi mainly supports forwarding from PSTN and SIP. Setting up multiple connection types is pretty simple though: - Use a web interface (or the web widget) for browser calls - Create a SIP number for phone calls Just attach both to the same assistant ID and you’re good to go.