If you want to allow your call flow to move seamlessly from one assistant to another without the caller hearing Please hold while we transfer you hereās what to do:
Update the Destination Assistantās First Message
firstMessage to an empty string.firstMessageMode to assistant-speaks-first-with-model-generated-message.Update the Squadās handoff messages
members[*].model.tools/toolIds, unset the messages property.Trigger the Transfer from the Source Assistant
'assistantName' with the exact name of the next assistant.Direct the Destination Assistantās Behavior
Proceed directly to the Task section without any greetings or small talk.Weāre now transferring you to the Payment Assistant. It feels like one continuous conversation.Everything happens smoothly behind the scenes!
Below are the key JSON examples youāll need. These show how to structure your assistants and squads so they work together for silent handoffs.
Make sure the members[*].model.tools.messages properties are set to null or empty array.
(Similar JSON information for the HPPA and HPMA-SA assistants can follow, just like in the original text.)
Each assistant has its own system prompt outlining identity, context, style, and tasks. These prompts ensure the conversation is smooth, customer-centric, and aligned with your call flow needs. Hereās a streamlined version for reference:
By following these steps and examples, you can configure your call system to conduct silent handoffs ensuring that callers experience a single, uninterrupted conversation. Each assistant does its job smoothly, whether itās capturing payment, finalizing a shipping address, or collecting basic info.
Enjoy setting up your silent handoffs!