bilal
03/13/2025, 11:39 PMVapi Support Bot
03/13/2025, 11:40 PMassistantOverrides
with variableValues
When making a call using the VAPI API, modify your configuration to use dynamic variables:
javascript
const call = await vapiClient.calls.create({
phoneNumberId: "your-phone-number-id",
assistantOverrides: {
variableValues: {
customer_name: "Josh" // This will be sent as a separate field
}
}
});
### 2. Alternative: Use metadata
for customer information
You can also use the metadata field to include customer details:
javascript
const call = await vapiClient.calls.create({
phoneNumberId: "your-phone-number-id",
assistantOverrides: {
metadata: {
customerInfo: { name: "Josh", service: "Regular checkup" }
}
}
});
### 3. Verify webhook configuration
Make sure your webhook URL in VAPI matches exactly what's provided by Make.com - check for typos or extra spaces.
### 4. Test the integration
After making these changes, use a tool like Postman to test your webhook and verify the customer name is being sent as a separate field.
This should allow Make.com to receive the customer name as a distinct field that can be used for appointment management, including cancellations and reschedules.
Let me know if you need any clarification on these steps!
Sources:
- [Discord Thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1341835905656291369)
- [Discord Thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1341746304744685599)
- [Discord Thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1343862805463302184)Vapi Support Bot
03/13/2025, 11:40 PMKings Big
03/14/2025, 3:45 AM