Skip to main content
Use the import and export features to transfer workflow configurations between environments, create workflows from existing definitions, or version-control your workflow setups.

Import a Workflow

Import a workflow to create a new one in your account or add it as a version to an existing workflow. The import process preserves workflow configuration while handling environment variables, errors, and role permissions. On import, prompts, properties, linked workflows, and their configurations carry over, ensuring the workflow works in the new environment. External and open-source models are automatically linked. If child workflows are missing or there are conflicts, the system notifies you. To create a new workflow through import, upload a .zip package containing the flow definition, app definition, and environment variables JSON files from another environment. Assign the imported workflow a unique name to avoid conflicts. Learn more. When importing a workflow version to a parent workflow, the imported flow definition becomes the new in-development version, overriding the existing flow, app definition, and environment variable files. The previous version is renamed and saved in the list. You can optionally back up the current version before importing. After import, the workflow canvas reflects the latest configuration.
Users with only Viewer permissions can’t import a workflow.

Best Practices

  • Export the workflow first: Always export the current workflow version before importing to ensure you have all necessary configurations.
  • Check the environment and load dependencies: Before importing, ensure the new environment has all required dependencies—models, linked workflows, and configurations.
    • Verify that the correct model is already available in the new environment.
    • Ensure linked workflows are present in the new environment with the same name for auto-linking.
    • Check environment variables and configuration files to prevent mismatches.
  • Import the parent workflow and version: After verifying dependencies, import the parent workflow and any associated versions. Ensure there are no conflicts with existing workflows.

Steps to Import a Workflow

  1. Log in → In AI for Process Modules top menu → Click Workflows. access workflows
  2. Do one of the following based on your requirements:
    • If you don’t have any existing workflows and want to create one by importing from another environment, click Import a workflow. Import a workflow
    • If you already have workflows deployed, select the relevant tab on the Workflows dashboard and click Import a workflow. Workflow dashboard
  3. In the Import workflow window, the following information is mandatory:
    • Workflow Name: Provide a unique workflow name.
    • Flow definition file: Upload the flow_definition.json file from your local directory. The file includes the workflow canvas definitions (node definitions) and AI node configurations, including prompts, hyperparameters, and timeout information.
    The following information is optional:
    • App definition file: Upload the app_definition.json file, which includes general information about the workflow version and guardrails.
    • Environment variable file: Upload the env_variables.json file, which includes the environment variables set for the workflow.
    • The Import button is enabled when the required information is provided.
    • AI node models and guardrail configurations may not be available in the current account. Reconfigure them before running the workflow.
    • The model name from the original workflow is imported as a placeholder into the AI node’s Select Model field. You can assign a value from the available options later.
    • The values for System Prompt, Prompt, Timeout, and Hyperparameters are imported for the AI node.
  4. Click Import. click import
After import, the system redirects you to the Workflow page. Click Go to flow to access the new workflow canvas. tool flow page The imported workflow is listed under All Workflows and My Workflows on the Workflow dashboard.
  • The status of the imported workflow is set to In Development.
  • Node types, workflow descriptions, input and output variables, scanners, and sync/async setup are preserved.
  • If the AI node model doesn’t match any available models in the current account, the model field is kept empty, but all prompt definitions are imported.
  • API keys aren’t transferred.
  • The imported workflow can’t be shared with other users.
Failure Scenarios The import may fail due to an incompatible workflow version, a corrupt file, an internal error, or missing guardrails in the current account, triggering an error notification.

Import Workflow as a Version

Use Import under Workflows > Configurations to add a workflow as a version of a parent workflow, replacing the existing one. Back up the current in-development version first; the export file is saved as Exported_<Workflow Name>.zip. When you import a workflow as a version, you must upload all the following files:
  • Flow definition file: Upload the flow_definition.json file from your local directory. The file includes the workflow canvas definitions (node definitions) and AI node configurations, including prompts, hyperparameters, and timeout information.
  • App definition file: Upload the app_definition.json file, which includes general information about the workflow version and guardrails.
  • Environment variable file: Upload the env_variables.json file, which includes the environment variables set for the workflow. Any conflicts between environment variables in the parent workflow and the imported version must be resolved. Learn more.

Steps to Import a Workflow as a Version

To import a workflow as a version, the parent workflows must be deployed in your account.
  1. Log in → In AI for Process Modules top menu → Click Workflows.
  2. Click the Workflows tab on the top navigation bar, and select the workflow you want to import.
  3. Click Configurations on the left menu.
  4. Scroll down to the Import a workflow section and click Import. import a workflow
  5. (Optional) In the following dialog, select the Back up your current workflow option to preserve the data of the version being replaced. import confirmation Backing up automatically saves a .zip package of the workflow definition files to the designated location. Learn more. To skip the backup, unselect the option and proceed to the next step.
  6. Click Import in the confirmation dialog.
  7. In the Import Workflow window, upload the required JSON files and click Import.
Workflow Name isn’t required since the current version’s name is assigned.
If validation succeeds, the workflow is imported successfully. The imported version is added under the parent workflow.
  • The status of the parent workflow is set to In Development.
  • Updated on reflects the date the version was imported.

Conflicting Environment Variables

Conflicts may arise between environment variables of the parent workflow and the imported version. If neither has environment variables, no conflicts occur.
Verify the environment variables before importing. For conflicting values, the existing ones are retained if not changed.
Resolve conflicting variables by keeping the existing value or replacing it with the imported one. When conflicts are detected, the following window is displayed. To resolve them:
  1. Select the Conflicting variables tab.
  2. Select Overwrite to replace the existing variable with the imported one, or select Keep existing.
  3. Click Proceed to continue importing.
import tool Editing Existing and Imported Variables To edit either the existing or imported variables, select the relevant tab in the Edit Environment Variable window and follow the steps below:
  1. Click the Three-dots (Ellipsis) icon of the required variable.
  2. Select Edit. edit variable
  3. Change the required values in the Edit Variable window.
  4. Click Save. save variable
To cancel during conflict resolution, click Cancel in the Edit Environment Variable window, then click Confirm.

Export a Workflow

AI for Process lets you export workflow versions as self-contained packages for sharing and data preservation, without compromising the integrity or security of your workflow setup. AI for Process creates a .zip file named after the workflow—for example, Banking Assistant.zip for a workflow named Banking Assistant. Save this file to any local location. The package can be reimported to create a new workflow or add it as a version to an existing one. The exported package preserves the following workflow configurations within JSON files:
  • Name and description
  • API, Condition, AI, and Script node configurations
  • Input/output variables and scanners
  • Environment variables
  • Sync/Async setup
For security, the exported package excludes API keys, sharing permissions, workflow endpoint, and audit logs.
Users with only Viewer permissions can’t export a workflow.

Steps to Export a Workflow

  1. Log in to your AI for Process account.
  2. Select the workflow to export.
  3. Click Configurations on the left navigation menu.
  4. Scroll down to the Export workflow section. By default, the currently deployed version is selected in the dropdown. export agent
  5. To change, click and choose another version from the list. change version
  6. Click the Export button.
A success message is displayed after the workflow is validated and the export completes. export success
Once export begins, the selected version can’t be changed.

Exported Information

The exported package contains the following JSON files:
  • flow_definition.json: Includes the workflow canvas definitions (node definitions) and AI node configurations, including prompts, hyperparameters, and timeout information.
  • app_definition.json: Includes general information about the workflow version and guardrails.
  • env_variables.json: Includes the environment variables set for the workflow. Learn more.
exported files To view the files, right-click and select View file. view exported file The file information is displayed as follows: file example