Darpinch.Calisthenics
09/03/2025, 10:26 AMVapi Support Bot
09/03/2025, 10:27 AMtext
Hello {{customerName}}! Your email is {{customerEmail}}.
Then, in your server endpoint, respond like this:
js
res.json({
assistantId: "your-assistant-id",
assistantOverrides: {
variableValues: {
customerName: user.name,
customerEmail: user.email
}
}
});
This will let the assistant greet each caller with their specific name and email automatically.
Sources:
- [Personalization with user information](https://docs.vapi.ai/assistants/personalization)
- [Variables](https://docs.vapi.ai/assistants/dynamic-variables)Darpinch.Calisthenics
09/03/2025, 10:33 AMChiranjeet Mishra
09/05/2025, 6:53 AM{{variable_name}} syntax:
"Hello {{customerName}}! Your email is {{customerEmail}}"
2. Set up your server endpoint to return these variables when a call comes in:
app.post("/api/assistant-selector", async (req, res) => { if (req.body.message?.type === "assistant-request") { const phoneNumber = req.body.call.from.phoneNumber; const customer = await crmAPI.getCustomerByPhone(phoneNumber); res.json({ assistantId: "your_assistant_id", assistantOverrides: { variableValues: { customerName: customer.name, customerEmail: customer.email } } }); }});
You'll need to:
1. Configure your phone number to use your server endpoint
2. Implement customer lookup logic on your server
3. Return the customer data within 7.5 seconds
The data will be automatically inserted into your assistant's conversation.