Workflow Export & Import
Export workflows as portable .strongly.json files for backup, sharing, or promoting between environments. Import resolves dependencies (AI models, add-ons, data sources) to match the target platform.
Export
From the workflow builder
The download icon (Export as JSON) in a saved workflow's builder toolbar downloads its {workflow_name}.strongly.json export, the same file the REST API answers. The Workflow Monitor's Import reads it.
From the REST API
GET /api/v1/workflows/{workflowId}/export
Returns the export inside the standard API envelope ({ "data": { ... } }) with a Content-Disposition header naming the file {workflow_name}.strongly.json. Save the data object as your .strongly.json file. Requires the workflows:read scope.
From the Python SDK
import json
from strongly import Strongly
client = Strongly()
export_data = client.workflows.export("workflow-id")
with open("my-workflow.strongly.json", "w") as f:
json.dump(export_data, f, indent=2)
Export Format
The .strongly.json format includes:
{
"format": "strongly-workflow",
"version": "2.0",
"exportedAt": "2026-03-20T...",
"workflow": {
"name": "My Workflow",
"triggerType": "rest_api",
"nodes": [...],
"connections": [...],
"layout": { "positions": {...} },
"environmentVariableNames": ["MYZOE_DATA_KEY"],
"secretNames": ["PACER_PASSWORD"]
},
"dependencies": {
"aiModels": [
{ "refId": "ai_model_0", "type": "ai_model", "name": "GPT-4o", "provider": "openai" }
],
"addons": [...],
"dataSources": [...],
"workflows": [...]
}
}
Each exported node carries the version the workflow holds it at (nodeVersion). An import pins each node to exactly that version, older ones included, so a workflow moved between instances runs the same node code; a node whose version is not published on the target is refused (400), naming the versions that are. A node without nodeVersion (a file exported before exports carried it) takes the target's latest version.
Security and Portability
- No secrets exported: fields containing API keys, secrets, passwords, tokens, connection strings, credentials, or access keys are stripped recursively from every node's configuration
- No environment variable values: the workflow's environment variables travel as their names only (
environmentVariableNames); the imported workflow has each with an empty value, which you set in its settings - No secret values: the workflow's secrets travel as their names only (
secretNames); the imported workflow lists each as Not set until you set it - No internal IDs: resource references in node config (model, add-on, data source, and workflow ID fields) are replaced with
$refdependency declarations - Portable: can be imported on any Strongly platform instance
- Size limit: exports over 10MB are rejected
Import
From the UI
- Navigate to Workflow Monitor
- Click Import and select your
.strongly.jsonfile - The file is validated and matching resources are looked up. Every node is checked as the import checks it: a node this platform's catalog does not have, or a node version that is not published here, is refused at once with the error the import would give (it lists the published versions). The dialog shows the workflow name, node and connection counts, and a Dependency Resolution table:
- Auto-matched (green): a confident match was found and pre-selected
- Choose (yellow): multiple candidates -- pick one from the dropdown (candidates show name, provider, and match percentage)
- No match (red): no matching resource exists in this organization
- Click Import Workflow. The imported workflow is created as a draft owned by you and opens in the workflow builder. It keeps its name, or, when you already have a workflow by that name, takes a copy's name (
<name> (Copy),<name> (Copy 2), ...), as the REST import does
From the REST API
Both calls use the same endpoint (scope workflows:write); including resolvedDeps switches it from validation to execution.
Step 1: Validate and get dependency candidates
POST /api/v1/workflows/import
Content-Type: application/json
{
"exportData": { ... } // The .strongly.json content
}
Returns the workflow summary and a resolutions array with candidates and match scores per dependency. Each node is checked exactly as step 2 checks it: an unknown node, or a nodeVersion that is not published, answers 400 with the same error step 2 gives (naming the published versions).
Step 2: Execute import with resolved dependencies
POST /api/v1/workflows/import
Content-Type: application/json
{
"exportData": { ... },
"resolvedDeps": { "ai_model_0": "actual-model-id" }
}
Returns the created workflow's ID and name, plus resolved/total dependency counts.
From the Python SDK
# Validation pass: the dependencies to resolve (an unknown node or unpublished
# nodeVersion raises ValidationError, as the import would)
validation = client.workflows.check_import(export_data=export_data)
# Execute with resolved dependencies
result = client.workflows.import_bundle(
export_data=export_data,
resolved_deps={"ai_model_0": "actual-model-id"},
)
Dependency Resolution
When importing, the platform matches each declared dependency against resources in your organization:
- Matching: AI models match by name (and provider); add-ons and data sources match by name
- Auto-resolve: a dependency is auto-resolved when there is exactly one confident candidate, or when the top candidate is a perfect match
- Ambiguous: multiple candidates are presented for you to choose from
- Unresolved: with no matching resource, create the resource first (or accept that the import will fail) -- executing an import with any unresolved dependency is rejected
On success, the imported workflow gets fresh node IDs, keeps its layout, and is marked as imported with the source format and export date recorded.