Hi there! I understand you're experiencing an "invalid destination 'assistant' not found" error when trying to use the call transfer tool to another assistant. I can help troubleshoot this issue! 👨💻
I'm unable to know your specific setup details, but I can definitely help with this common error based on the information I have available.
Based on the information I've found, the most likely cause of your error is that
transferring to another assistant requires using squads. According to [Discord discussions](
https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1339776555639115776), transferring to another assistant without squads is not possible - squads must be used for this functionality.
Here are some troubleshooting steps you can try:
1. **Verify Squad Configuration**: Make sure your squad is properly configured with the assistant destinations. Each assistant should be assigned the relevant assistant transfer destinations, and all assistantDestinations must reference valid assistant names that exist in your organization.
2. **Check Assistant Destination Format**: Within a squad, you need to define assistant transfer destinations using the
assistantDestinations
array. Here's an example of the correct format:
json
"assistantDestinations": [{
"type": "assistant",
"assistantName": "Appointment Booking",
"message": "Please hold on while I transfer you to our appointment booking assistant.",
"description": "Transfer the user to the appointment booking assistant after they say their name."
}]
3. **Ensure Squad Members Have Destinations**: According to [troubleshooting information](
https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1339776555639115776), squad config members must have destinations, and the root assistants need to be connected to other assistants for transfers to work.