Squad calls not getting transferred to relevant as...
# support
r
I am using Squads to transfer call b/w different agents. I would want the callee to choose a language, and based on that language we want to transfer the call to another AI Agent Example: AI calls a client and asks them to choose a language (English or Hindi) Based on which language they select, we want the call to be transferred to the agent whose language is the selected one. So there will be a total of 3 agents (base agent, Hindi one, and English one) But the transfer is not working Squad ID: d4b71893-32ac-4b23-8e6d-9631e379f8e4 I can help with additional details if required.
v
@rajatsablok I'm here to help you with the call transfer issue you're experiencing with Squads. To assist you effectively, I'll need a bit more information about how you're currently handling the language selection and the transfer process. Could you please provide the following details? 1. How is the language selection being presented to the callee? Is it through an IVR system, or is the base agent asking for the language preference? 2. What method or API call are you using to attempt the transfer once the language has been selected? 3. Have you set up the agents with their respective language capabilities within the Squads system? 4. Are there any error messages or logs that you can share that indicate what might be going wrong during the transfer process? Once I have this information, I'll be better equipped to guide you through troubleshooting the issue and getting your call transfers working smoothly.
You can continue this conversation by mentioning me in the message.
r
@Vapi 1. Base agent is asking for language 2. Using the assistantDestinations in squads for this 3. Agents have been set up 4. No error messages, the base agent keeps on talking without transferring This is what my squad looks like:
Copy code
{
  "members": [
    {
      "assistantId": "base-agent-id",
      "assistantDestinations": [
        {
          "type": "assistant",
          "assistantName": "English Agent",
          "message": "Please wait while i transfer your call to an english speaking agent.",
          "description": "Transfer the user to 'English Agent' when they say English"
        },
        {
          "type": "assistant",
          "assistantName": "Hindi Agent",
          "message": "Please wait while i transfer your call to a hindi speaking agent",
          "description": "Transfer the user to 'Hindi Agent' when they say Hindi"
        }
      ]
    },
    {
      "assistantId": "english-agent-id",
      "assistantDestinations": []
    },
    {
      "assistantId": "hindi-agent-id",
      "assistantDestinations": []
    }
  ]
}
v
@rajatsablok Thank you for providing the details of your squad configuration. It seems that you have set up the
assistantDestinations
correctly with messages to inform the user about the transfer. However, since the transfer is not occurring and there are no error messages, we might need to look into a few possibilities: 1. **Trigger for Transfer**: Ensure that the base agent is correctly recognizing the language choice made by the callee. This usually involves speech recognition or DTMF tones if using an IVR. The trigger that initiates the transfer should be clearly defined and detected. 2. **Assistant Names**: Verify that the
assistantName
values for "English Agent" and "Hindi Agent" exactly match the names of the assistants you have set up in the system. Any discrepancy in naming could prevent the transfer from being executed. 3. **Permissions and Availability**: Check if there are any permissions or availability settings that might be preventing the transfer. For example, the agents must be set to accept incoming transfers. 4. **Logs and Monitoring**: Even though there are no error messages, it would be beneficial to monitor the call logs to see if there are any indications of the transfer attempt. This can provide clues as to where the process is breaking down. 5. **API Version and Updates**: Make sure you are using the latest version of the API and that there have been no recent changes or updates that could affect how transfers are handled. 6. **Testing Different Scenarios**: Try testing with different scenarios, such as transferring to a different agent or using a different method to trigger the transfer, to isolate the issue. If after checking these points the issue still persists, it might be necessary to reach out to the support team with specific details of the problem for further assistance. Please let me know if you would like to proceed with contacting support or if there's anything else I can assist you with.
r
I have checked all necessary things as you mentioned. Will need help from @User
s

https://www.youtube.com/watch?v=uT7mW61H0nw

Check this video out
r
@Sahil I have already seen the video. The only difference is that I am not using make.com We can use squads directly without using make, right?
s
Right now, you can't do it because we don't provide any option to use it currently. We just allow you to create it, and to use it, you will need to use the endpoint.
3 Views