Issue with squads
# support
d
When the calls are routed through squads the agent doesn't follow the designed prompt, it works and follows the prompts when called directly or on a web call. @supportr This squad ID is ee8d2172-8554-43a9-a940-f1a1b8a91f93.
v
Hey! To help track down this issue, could you share: - The call ID - When exactly this happened (the timestamp) - What response you expected to get - What response you actually got instead This would really help us figure out what went wrong!
d
Call id: 493fde51-7b12-4159-8a37-93deabc8e9be I expected it ask questions before booking an appointment for email and preferred date and time It directly ran the tool to book an appointment
@Shubham Bajaj
Check this call callid: 40b2837a-b8d4-4a99-9eeb-bc3e5c869126 It followed all prompts when made cia web. And this I made via inbound and routed through squads. Callid: 9702b44f-9044-48a6-af56-bde68e5637ba It jumped to running the tool in place of asking email and preferred date and time
Regular calls work but squads don't works as prompted
@supportr
@shubham bajaj
v
Looking into it.
s
The key difference lies in how the prompts are being handled in the squad configuration versus direct assistant calls. The web call works correctly because it's using a direct assistant with the full conversation flow prompt.This line states "When transferring to another assistant, do not mention the transfer to user, just do it." This instruction is causing the immediate transfer behavior in the squad setup. ### To fix this issue: - Remove or modify the transfer instruction in PROMPT to ensure proper conversation flow: [Response Guideline] - Prompt the user to say or enter a 5-digit ZIP code. - Repeat the digits back for confirmation. - Use the provided "lookup tool" logic to identify if the ZIP is serviced, multi-county, or not serviced. - Complete the current conversation flow before proceeding to the next assistant. - Add explicit conversation requirements before transfer: [Task] 1. Ask the user to provide their 5-digit ZIP code. 2. Confirm the digits by repeating them back and asking for correctness. 3. Perform a "tool check" to identify whether the ZIP is multi-county, not serviced, or single-county. 4. Complete the current conversation before transitioning. 5. Only proceed with transfer after completing the required information gathering. This is the right solution because: - The web call logs show the proper conversation flow with information gathering - The squad configuration is bypassing the conversation flow due to the immediate transfer instruction
@dripchatagency let me know how it goes for you.
d
So the messup is happening after the transfer not before the transfer..it doesn't follow the prompts as designed in the transferred agent @Shubham Bajaj
s
@dripchatagency messup has nothing to do with the transfer it's in the prompt. Do let me know your thoughts on this.
d
My messup I meant the prompts not being followed as designed in the agent..after it gets transferred it doesn't follow the prompts
v
@dripchatagency checking if your still blocked on this and sorry for the delay.
d
I have up on squads and have setup a transfer agent which does the job
v
Marking this ticket as Solved ✅