Workflows can't work as part of a squad
# support
y
I spent a good few days trying to figure it out, but my conclusion is that we can't combine workflow assistants with regular main assistants in a squad. No matter what settings and JSON configuration i tried, the call will trigger, and disconnects once i answered. (This didn't work in webtesting either)
v
Hi there! 👋 I understand your frustration with trying to combine workflow assistants with regular main assistants in a squad. I don't have definitive information stating that workflow assistants absolutely cannot work in squads, but I can certainly help explain some of the challenges and potential solutions based on what I've found. ## Known Issues When Combining Workflow Assistants with Regular Assistants There are several documented issues that might explain what you're experiencing: 1. **Language Distortion Bug**: According to [reports in Discord](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1341521263247757384), there's a bug where adding a second agent within a Squads workflow causes language distortion. 2. **Call Transfer Issues**: Users have experienced problems with call transfers failing and assistants transferring calls to themselves instead of performing their intended function. In some cases, transfers only work in one direction within a squad, as noted in [this Discord thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1339304698846380156). 3. **Prompt Handling Differences**: Calls routed through squads can behave differently than direct assistant calls. For example, a prompt instructing the system to immediately transfer the call without informing the user can cause unexpected behavior in a squad setup, according to [this discussion](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1342175709623226460). ## Troubleshooting Steps You Could Try Here are some troubleshooting steps that might help:
1. **Verify Squad Configuration**: Ensure that your squad members have destinations properly configured. According to [this Discord thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1339776555639115776), a common problem is that "squad config members don't have destinations and that means your root assistants isn't connected to any of your assistant which eventually results into no transfers." 2. **Check Member Structure**: Make sure each member in the squad is properly structured with either an
assistantId
or
assistant
property, as mentioned in [this discussion](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1342171458524414012). 3. **Modify Transfer Instructions**: Try removing or modifying transfer instructions in the prompt to ensure proper conversation flow, as suggested in [this thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1342175709623226460). 4. **Model Temperature**: Consider setting the model temperature to 0.3 and reworking the prompt using the Vapi prompting guide for tools calling. 5. **Test in Different Environments**: As you've already tried webtesting, you might want to test the agents in a different environment to rule out device-specific or network-related issues. Would you be willing to share your specific JSON configuration? That might help identify particular issues with your setup that could be causing the disconnections. Sources: - [Discord Thread on Language Distortion](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1341521263247757384) - [Discord Thread on One-Way Transfers](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1339304698846380156) - [Discord Thread on Prompt Handling Differences](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1342175709623226460)
k
@yossi7096 This has not been developed by us, which is why it's failing for you. The good thing is you can raise a feature request for it so that it can work for you. You can raise an feature request for it over here: https://roadmap.vapi.ai
18 Views