genetic-orange•7mo ago
Importing variables - error
I am trying to export variables from one agent and import them into another agent.
The exporting works fine, but I get a "Failed to import" error when I try to import them into the other agent.
I first tried a bulk export and import, and then individually, but I still get the same error.
Should I be able to export variables from one agent and into another?
3 Replies
It looks like Voiceflow doesn’t currently support importing variables as a standalone file from one agent into another. Variables are tied closely to an agent’s configuration, so while you can export an agent (which includes its variables) and then import it as a complete project elsewhere, trying to import just the variables into an existing agent isn’t supported.
This is why you’re encountering a “Failed to import” error when you try to import them in bulk or individually. You’ll need to manually recreate the variable configurations in your target agent.
For more details on what is supported with import/export in Voiceflow, you can take a look at our documentation here: https://docs.voiceflow.com.
genetic-orangeOP•7mo ago
Just to add a further observation to my original question, I have since found that exporting and importing entities in the way I have described for variables does work without errors.
Wanted to check if importing variables in bulk from a json file is now supported. It is going to be a huge waste of time to create all the variables manually. I have about 10 agents handing off the control to each other and the overall context sharing - among a subset of agents as well as global context - requires a decent amount of variables.