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.
The maximum package size comes from Stores > Configuration > General > Workflow Engine > Import / Export. Overwrite is disabled by default. With overwrite disabled, an imported code that already exists is rejected instead of replacing the 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.