export_workflow
Export workflows as portable JSON for cross-environment transfer, stripping workspace-specific identifiers to enable movement between environments like sandbox and production.
Instructions
Export a workflow as portable JSON for cross-environment transfer. Returns a self-contained WorkflowExport object with all steps, context, metadata, and pages. Workspace-specific identifiers (workspaceId, agentIds) are stripped so the export can be imported into any workspace.
Use this together with import_workflow to move workflows between environments (e.g. sandbox → prod).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflowId | Yes | The workflow ID to export |