Import and export
Export packages a definition as JSON for review, backup or transfer between Magento environments. Import validates the package before saving it.
Export
Open the definition and choose More Actions > Export JSON. Store the file with the deployment change that owns it. Review exported files as configuration code: they contain graph structure, triggers, expressions and action settings.
Import
- Open More Actions > Import JSON from the builder.
- Select the reviewed package.
- Confirm the imported definition code and graph.
- Validate and simulate it in the target environment.
- Publish it only after the target store's events, email identities, entity fields, webhook allowlist and worker setup have been checked.
Set the maximum package size under Stores > Configuration > General > Workflow Engine > Import / Export. Overwrite is disabled by default. If a code already exists, Magento keeps the original definition and imports a copy under the next available code, such as my_workflow_imported_1. Check the new code before publishing or configuring callers. Enable overwrite only when you intend to update the existing definition.
Environment-specific checks
An export can describe a valid graph while still referring to a template, event, customer group, status, URL or field that differs in the target store. Import does not make those dependencies portable. Keep secrets out of export files, and configure sensitive integration values through the supported secure mechanism for the target environment.
An imported definition is not automatically a proven live process. Treat validation, simulation and publication as separate steps.