GILGAMESH
10/14/2025, 8:28 PMVapi Support Bot
10/14/2025, 8:29 PMvariableExtractionPlan might not be persisting due to a schema or placement issue in your workflow JSON. Make sure your JSON includes variableExtractionPlan inside the correct tool or destination object, like this:
json
{
"tools": [
{
"type": "handoff",
"destinations": [
{
"type": "assistant",
"assistantId": "assistant-id",
"variableExtractionPlan": {
"schema": {
"type": "object",
"properties": {
"name": { "type": "string", "description": "Name of the customer" }
},
"required": ["name"]
}
}
}
]
}
]
}
Double-check your JSON structure and required fields. If the issue persists, try testing with a minimal example like above to isolate the problem ([VAPI Handoff Tool documentation](https://docs.vapi.ai/tools/handoff)).
Source:
- [VAPI Handoff Tool documentation](https://docs.vapi.ai/tools/handoff)Chiranjeet Mishra
10/16/2025, 8:23 PM