Warm Assistant Transfer - Unable to pass override ...
# support
s
Hey guys, I'm doing a warm transfer using the experimental option with a wait for user to speak first configured. When I do a outbound call, I have unique variables being passed into the prompt which is working correctly. However, when I want to do a warm transfer with it being configured to wait before someone speaks before doing the summary, the variables is not being passed through. From researching online I can see it references the "Context" gets provided to the transfer assisstant. Is this just the transcript of the conversation? Is there anyway to pass variables or even the previous prompt of the 1st assisstant to the transfer assisstant? I have a transfer ID variable that will not be said during the conversation to the customer, but must be said during the transfer process.
c
Hi there, Thank you for your message. Our team is currently out of the office. We operate Monday through Friday, from 9:00 AM to 8:00 PM Pacific Standard Time (PST). We’ll get back to you as soon as possible during our normal business hours. If your message is urgent, please mark it accordingly or include “URGENT” in the subject line, and we’ll do our best to respond promptly. Warm regards, Vapi Customer Support Team
v
To reliably pass variables (like a transfer ID) to the next assistant, use the handoff tool with variable extraction. Here's a sample configuration:
Copy code
json
{
  "tools": [
    {
      "type": "handoff",
      "destinations": [
        {
          "type": "assistant",
          "assistantId": "next-assistant-id",
          "variableExtractionPlan": {
            "schema": {
              "type": "object",
              "properties": {
                "transferId": { "type": "string", "description": "Transfer ID" }
              },
              "required": ["transferId"]
            }
          }
        }
      ]
    }
  ]
}
This ensures your transfer ID is extracted and available to the transfer assistant. See the [handoff tool documentation](https://docs.vapi.ai/tools/handoff) for more details. Source: - [Handoff Tool Documentation](https://docs.vapi.ai/tools/handoff)
s
Apologies to confirm, this transfer isn't to another agent. It's using the predefined transfer tool created by vapi and must transfer to a specific number.
c
Hi, I am sorry for the delayed response. Could you provide the Call IDs where your described issue occurred? This will help me get better understanding of the issue you are facing. Regards, Bharath