Transient Assistant Transfer Call to Squad scenari...
# support
f
I created a transient assistant for incoming calls and would like to know if at the end of the conversation this transient assistant could somehow transfer the discussion to a squad. Has anyone else done such a scenario? I'm more interested in what settings I should make in the transient assistant so that it can transfer the discussion to a squad.
v
Hi there! 👋 I don't have specific settings for configuring a transient assistant to transfer a call at the end of a conversation, but I can definitely help with the general approach and components needed for transferring calls from a transient assistant to a squad. Yes, a transient assistant can transfer calls to a squad! Here's what you'll need to configure: First, you'll need to use the
assistantDestinations
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:
Copy code
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:
Copy code
trigger the transferCall tool with 'Squad Member Name' Assistant.
For preserving context during the transfer, you can configure the transfer with
rolling-history
mode:
Copy code
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)
k
Yes, a transient assistant can transfer calls to a squad member by configuring a squad with assistantDestinations, specifying the target assistant and transfer message in the transient assistant’s settings.
2 Views