variableExtractionPlan
# support
g
when i upload a json for workflow i included variableExtractionPlan within the json but it gets wiped once the workflow is created
v
It sounds like your
variableExtractionPlan
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:
Copy code
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)
c
Hey, sorry to hear about the issue with your account. Could you please record a loom video showing the error or behavior you're experiencing? It would really help us understand the problem better. Also, please share your account email address so we can assist you further.