Vapi Transfer Call & Squad
# support
a
Hey, I’m having an issue with the transfer tool in Vapi. I have 3 assistants in my workspace: pxmrouting pxmSupportAgent pxmSalesAgent The routing agent (pxmrouting) is the one that picks up incoming calls and should then transfer the caller to either the Support Agent or the Sales Agent using the transfer tool. In my transfer tool I added pxmSupportAgent and pxmSalesAgent as destinations. When I test, I always get this error: Invalid Destination. Assistant "pxmSupportAgent" Not Found Things I already tried: Used exact assistant names (copy/paste). Tried with UUIDs (6d0201fe-...) and public IDs (like CvLyegHbActy7exglBri). Deleted and re-added destinations. Duplicated assistants and published them again. But no matter what, I still get the same error. Question: Does the Assistant Name field in Destinations expect the display name or the assistant ID? Or is there a known bug where transfer tools can’t resolve assistants inside the same workspace? what’s the difference between using a Squad vs using a transfer tool in Vapi for routing or transfers?
v
For seamless routing between multiple assistants, consider using a Squad configuration instead of the transfer tool. With Squads, you define all assistants and their transfer logic in one place, which avoids destination resolution issues. Here’s a minimal example:
Copy code
json
"squad": {
  "members": [
    { "assistantId": "pxmrouting", "assistantDestinations": [
      { "type": "assistant", "assistantName": "pxmSupportAgent", "message": "" },
      { "type": "assistant", "assistantName": "pxmSalesAgent", "message": "" }
    ]},
    { "assistantId": "pxmSupportAgent" },
    { "assistantId": "pxmSalesAgent" }
  ]
}
Try this approach to manage transfers reliably between your assistants. [See full Squad docs & examples](https://docs.vapi.ai/squads) Sources: - [Squads documentation](https://docs.vapi.ai/squads) - [Squads Example](https://docs.vapi.ai/squads-example)
a
@User I didn't write code for that, I've created a tool in Vapi Website and added it to my agent
h
Squad is great but you have to get the data via api because they are not accessible as call logs or am I wrong?
a
I think so, but I'm not an expert in Vapi. Do you know how can I simulate this squad ability with Transfer tool? @Herbynator
h
You will have one router - the assistant you already have, add it to the squad, configure destinations and connect the two assistant with the router
it is pretty straightforward
a
Did you say transfer tool or squad? Can you please re-read the message I originally wrote for this issue? I explained that I always get the error.
c
Hey! To help track down this issue, could you share: \- The call ID \- When exactly this happened (the timestamp) \- What response you expected to get \- What response you actually got instead This would really help us figure out what went wrong!
3 Views