Aditya
06/06/2025, 7:56 PMVapi Support Bot
06/06/2025, 7:58 PMfirst_name
to a Vapi Workflow for outbound calls, include them in the customer
object when creating the call:
json
{
"phoneNumberId": "YOUR_PHONE_NUMBER_ID",
"assistantId": "YOUR_ASSISTANT_ID",
"customer": {
"first_name": "John"
}
}
In your workflow prompts, use {{first_name}}
to reference this variable and personalize the conversation.
Tip: Make sure your workflow nodes use the exact variable name in the {{variable_name}}
format for dynamic insertion.
[See more in the docs](https://docs.vapi.ai/assistants/personalization)
Sources:
- [Personalization with user information](https://docs.vapi.ai/assistants/personalization)
- [Workflows documentation](https://docs.vapi.ai/workflows)
- [Outbound sales example](https://docs.vapi.ai/examples/outbound-sales)Aditya
06/06/2025, 8:00 PMVapi Support Bot
06/06/2025, 8:02 PMfirst_name
to a Vapi Workflow over websocket, use the assistantOverrides
parameter with variableValues
in your .start()
call:
js
const assistantOverrides = {
variableValues: { first_name: "John" }
};
vapi.start("YOUR_WORKFLOW_ID", assistantOverrides);
In your workflow, reference {{first_name}}
to personalize the conversation.
Tip: Make sure your workflow nodes use the exact variable name in the {{variable_name}}
format for dynamic insertion.
See [Web SDK docs](https://docs.vapi.ai/sdk/web#overriding-assistant-configurations) for more details.
Sources:
- [Web SDK documentation](https://docs.vapi.ai/sdk/web#overriding-assistant-configurations)
- [Personalization with user information](https://docs.vapi.ai/assistants/personalization)Kings_big💫
06/07/2025, 7:38 AMAditya
06/07/2025, 9:09 AMKings_big💫
06/07/2025, 9:13 AM