Sparks
06/06/2025, 9:20 PMSparks
06/06/2025, 9:21 PMVapi Support Bot
06/06/2025, 9:22 PMjson
{
"model": {
"messages": [
{
"role": "system",
"content": "If the user asks to be transferred, use the transferCall function with the correct destination. Otherwise, continue the conversation as usual."
}
],
"tools": [
{
"type": "transferCall",
"destinations": [
{ "type": "number", "number": "+1234567890", "message": "Transferring your call now." }
]
}
]
}
}
This direct instruction often resolves the issue of the assistant not triggering the transfer tool as expected.
Reference: [Vapi Docs – Transfer Call Tool](https://docs.vapi.ai/tools/default-tools#transfer-call)
Sources:
- [Default Tools: Transfer Call](https://docs.vapi.ai/tools/default-tools#transfer-call)
- [Call Forwarding: Instructing the Assistant](https://docs.vapi.ai/call-forwarding#instructing-the-assistant)Sparks
06/06/2025, 10:15 PMVapi Support Bot
06/06/2025, 10:16 PMVapi Support Bot
06/06/2025, 10:17 PMjson
"summaryPlan": {
"enabled": true,
"messages": [
{ "role": "system", "content": "Please provide a summary of the call." },
{ "role": "user", "content": "The customer's name is {{name}}. Here is the transcript:\n\n{{transcript}}\n\n" }
]
}
Make sure your assistant collects and sets the name
variable before the transfer. This will ensure the live agent receives the customer's name as part of the transfer summary.
Reference: [Vapi Docs – Warm Transfer with Summary](https://docs.vapi.ai/call-forwarding#4-warm-transfer-with-wait-and-say-summary)
Sources:
- [Vapi Docs – Warm Transfer with Wait and Say Summary](https://docs.vapi.ai/call-forwarding#4-warm-transfer-with-wait-and-say-summary)
- [Vapi Docs – Dynamic Variables](https://docs.vapi.ai/assistants/dynamic-variables)Kings_big💫
06/07/2025, 7:36 AM