inland-turquoise
inland-turquoise4mo ago

Connecting multiple bots with one phone number for testing

Does Vapi allow connecting multiple bots to one phone number with call load balancing? This way, we can direct calls to a single number while testing multiple bots. We are also open to custom solutions.
9 Replies
Vapi Support Bot
Vapi does not natively support automatic load balancing between multiple bots on a single phone number. However, you can achieve this by using a custom server to handle the transfer-destination-request webhook and programmatically route each call to a different assistant (bot). Here's a sample response your server could send to Vapi to forward a call to a chosen bot:
{
"destination": {
"type": "number",
"number": "+1234567890",
"message": "Connecting you to our support bot."
}
}
{
"destination": {
"type": "number",
"number": "+1234567890",
"message": "Connecting you to our support bot."
}
}
Rotate the number or assistant logic in your backend to balance calls as needed.
Learn more in the Vapi dynamic call transfer docs. Source: - Dynamic Call Transfers Vapi Documentation
⤵️ Mention @Vapi Support Bot for follow-ups 🐥
Vapi Support Bot
Vapi does not natively support automatic load balancing between multiple bots on a single phone number. However, you can achieve this by using a custom server to handle the transfer-destination-request webhook and programmatically route each call to a different assistant (bot). Here's a sample response your server could send to Vapi to forward a call to a chosen bot:
{
"destination": {
"type": "number",
"number": "+1234567890",
"message": "Connecting you to our support bot."
}
}
{
"destination": {
"type": "number",
"number": "+1234567890",
"message": "Connecting you to our support bot."
}
}
Rotate the number or assistant logic in your backend to balance calls as needed.
Learn more in the Vapi dynamic call transfer docs. Source: - Dynamic Call Transfers Vapi Documentation
⤵️ Mention @Vapi Support Bot for follow-ups 🐥
xenial-black
xenial-black4mo ago
can you explain more about your usecase?
Vapi Support Bot
Vapi does not natively support automatic load balancing between multiple bots on a single phone number. However, you can achieve this by using a custom server to handle the transfer-destination-request webhook and programmatically route each call to a different assistant (bot). You can rotate the bot logic in your backend to balance calls as needed (Dynamic Call Transfers Vapi Documentation). To better assist you, could you briefly describe how you want to distribute calls among your bots (e.g., round-robin, random, based on bot availability)? Source: - Dynamic Call Transfers Vapi Documentation
inland-turquoise
inland-turquoiseOP4mo ago
@Sahil We are currently in the process of developing a sales bot and intend to create multiple versions to evaluate their performance. Our plan is to direct all calls to a single phone number, utilizing custom load balancing logic to assign each call to one of the five assistants. Is this feasible?
Vapi Support Bot
Yes, this is possible with a custom solution. You can set up your phone number to send incoming call events to your server, then use your own load balancing logic to assign each call to one of your five bots. Your server should respond to Vapi with the chosen assistant's configuration or ID. For example:
{
"assistantId": "asst_salesbot_3"
}
{
"assistantId": "asst_salesbot_3"
}
Rotate the assistantId in your backend to balance calls as needed.
See the dynamic call transfer docs for more details. Sources: - Dynamic Call Transfers Vapi Documentation - Personalization with user information
xenial-black
xenial-black4mo ago
You can use the assistant-request flow.
xenial-black
xenial-black4mo ago
Jesper Rietbergen
YouTube
Vapi AI Transient Agents: 2025 Step-by-Step Tutorial (BIG updates!)
In this video I will give you a step beginner tutorial to building transient agents in Vapi AI. We will use MAKE to receive assistant request and reply with a json cofiguration of the agent. I will also show you how to build the agent in the vapi dashboard and how to use the get assistant api request in the vapi documentation to get the configur...
Vapi Support Bot
You can definitely connect multiple bots to a single phone number and use your own custom logic to balance calls between them. While Vapi doesn't provide automatic load balancing out of the box, you can set up your phone number to send incoming call events to your server, where you decide which assistant should handle each call. Just respond to Vapi with the chosen assistant's configuration or ID for each call, and rotate between your bots as needed. This approach gives you the flexibility to test and evaluate multiple versions of your sales bot using one phone number. Yes, you can achieve this with a custom solution using the assistant-request flow.
Set your phone number to send incoming call events to your server, then use your own load balancing logic to select one of your five assistants for each call. Respond to Vapi with the chosen assistant's ID like this:
{
"assistantId": "asst_salesbot_3"
}
{
"assistantId": "asst_salesbot_3"
}
Rotate the assistantId in your backend to balance calls as needed.
See the dynamic call transfer docs for more details. Sources: - Dynamic Call Transfers Vapi Documentation - Personalization with user information

Did you find this page helpful?