Export and Import VA with Flows between Tenants
VA and Flow creation for new tenants is made considerably simpler by the ability to export and import between tenants (accounts). The steps to export VA with Flows from an existing account and import it into a new one are listed below.
For TTV pack solution, the VAs with Flows will be readily available in the source account. The customer can import the files to their target account and start using the application. This eliminates the process of creating VAs and Flows from the scratch which in turn reduce the deployment time to a large extent. For TTV pack solution, follow the steps 8 to 12.
Export and Import VA and Flows:
Login into the application with a fresh new account.
Note
Ensure the account is a CLEAN new account (with no previous VAs, etc.).
From AI model, start creating VA in the new account. Refer Create VA.
Add the required Intents with and without Slots and Train. Refer Working with Intents.
From X-Designer, create new Intent Flows and map them to the Intents. Refer Intent Flows.
From NLU Version History, Commit and Publish the VA from Test to Live. Refer NLU Version History.
From NLU Version History, Export the Live VA and store the zip file in your preferred location. Refer Export VA Version.
From Resource Deployment, Export the Flows and store the file in your preferred location. Refer Export Flows.
Login into the application using new account (target) credentials.
From AI model, create VA using the zip file in the target account. Refer Upload VA.
Note
For the export and import to work accurately, the sequence of VA creation in target tenant should match the sequence of VA creation in the source. For more details, refer, Best Practices and Limitations.
Train the VA. Refer Working with Intents.
From Resource Deployment, Import the Flows. Refer Import Flows.
From NLU Version History, Commit and Publish the VA to Live. Refer NLU Version History.
Example
Let's assume, in the source account VA1 is created first, VA-X is created second and VA-7 is created third. While importing the same order should be followed in target account i.e., first import VA1 followed by VA-X and VA-7 in order.
Even if a customer wants only VA-7, it is required to import all the VAs in the same sequence.
In the above example VA-7 is created in the third order in the source tenant. It is necessary to create VA-7 in the third order in the target tenant as well.
Best Practices
Important
It is strongly advised to adhere to the most effective methods in order to attain the intended outcomes.
When creating TTV packs, a unique tenant should be used for each TTV pack.
When importing the VA into the the target tenant ensure that the VA being created is the first VA (In line with the first VA in the source tenant for a specific TTV pack).
When creating a VA in a customer tenant add a number to the VA name to identify the sequence number.
If you don't know the sequence, reach out to customer support.
Limitations
While importing VA into the target account, ensure that the sequence in which VA was created in source should be same as target.
Caution
Not preserving the sequence will cause the export/import to fail at a later stage, and precipitate the need to start over again.