WhilpashH
09/26/2025, 5:43 PMVapi Support Bot
09/26/2025, 5:44 PMjs
// Node.js Express example
app.post('/webhook', (req, res) => {
const clientNumber = req.body.customer.phone;
const agentNumber = lookupAgentNumber(clientNumber); // your logic here
res.json({
destination: {
type: "number",
number: agentNumber,
message: "Connecting you to your dedicated agent."
}
});
});
Set up your Vapi assistant to use this webhook for dynamic transfers. The AI will talk to the client, check your list, and transfer the call automatically.
For more details, see the [Vapi dynamic call transfers guide](https://docs.vapi.ai/calls/call-dynamic-transfers).
Source:
- [Dynamic call transfers](https://docs.vapi.ai/calls/call-dynamic-transfers)WhilpashH
09/26/2025, 5:47 PMNir Simionovich (CEO@Cloudonix)
09/28/2025, 2:13 PMNir Simionovich (CEO@Cloudonix)
09/28/2025, 2:14 PMron
10/28/2025, 6:22 PMNir Simionovich (CEO@Cloudonix)
10/28/2025, 7:35 PM