Felix WIlliam
04/23/2025, 12:48 AMVapi Support Bot
04/23/2025, 12:49 AMassistantDestinations
array in your transient assistant configuration. According to the [Vapi Squads Example documentation](https://docs.vapi.ai/squads-example), this defines how to transfer the call to another assistant. Here's how it would look:
json
"assistantDestinations": [
{
"type": "assistant",
"assistantName": "Squad Member Name",
"message": "Please hold on while I transfer you to our squad.",
"description": "Transfer the user to the squad."
}
]
You'll also need to use the transferCall
tool to trigger the transfer. According to the [Silent Transfers documentation](https://docs.vapi.ai/squads/silent-transfers), you should include a line in your assistant's prompt instructing it to transfer to the desired assistant:
trigger the transferCall tool with 'Squad Member Name' Assistant.
For preserving context during the transfer, you can configure the transfer with rolling-history
mode:
javascript
const transferTool = {
type: 'transferCall',
destinations: [{
type: 'assistant',
assistantName: 'Squad Member Name',
transferMode: 'rolling-history',
message: '' // Use empty string for silent transfer
}]
};
Remember that according to [Vapi documentation](https://discord.com/channels/1211482211119796234/1339776555639115776), "Transfer to another assistant without squads is not possible, you have to use squads."
Is there anything specific about the transfer process you'd like me to explain further?
Sources:
- [Vapi Squads Example documentation](https://docs.vapi.ai/squads-example)Vapi Support Bot
04/23/2025, 12:49 AMKings_big💫
04/23/2025, 7:48 AM