Import and export a workflow (JSON)
Export any workflow as JSON and import it into another workspace or account, remapping channels, teams, and agents.
Watch this step in the video · Export and import
What it is and when to use it
Every Omnifox workflow can be exported as a self-contained JSON file and imported into another workspace, account, or kept as a backup. It's the fastest way to reuse an automation that already works without rebuilding it node by node.
Use it to:
- Clone a workflow between your test and production workspaces.
- Share a template with a teammate or another organization.
- Save a backup before making big changes.
Before you start
- You need edit permission for Automations in the workspace.
- The JSON includes nodes, connections, the trigger, and the "Stop this workflow when the agent replies" setting, but it does not carry over other people's IDs (channels, teams, users, tags, AI agents): you remap those on import.
Export a workflow
- Open the workflow in the editor (Automations → your workflow).
- In the top canvas toolbar, click the Import / Export button.
- Keep the Export mode selected. You'll see the full JSON with a
_metablock (version and export date). - Click Copy to send it to the clipboard or Download to save the
name-export.jsonfile.
The export reflects the live canvas, including unsaved edits, so what you see is what gets exported.
Import a workflow
- Open (or create) the workflow where you want to load the content and click Import / Export.
- Switch to Import mode and paste the JSON into the Paste the JSON here… field.
- Choose a Strategy:
- Add alongside the current workflow: appends the imported nodes to the ones you already have.
- Replace the entire workflow: discards the current canvas and loads the imported one whole.
- Under Map external references, remap each ID to its equivalent in this workspace: Channels, Teams, Users, Tags, AI Agents, and Workflows.
- Apply the import and Save the workflow.
Verify
- Check that every action node points to the correct channel, team, or agent in this workspace.
- Confirm the trigger and, if relevant, the behavior settings.
- Run a test of the workflow before activating it.
If it doesn't work
- "nodes or edges missing in the JSON": the pasted text isn't a valid export; copy it again in full.
- "Invalid JSON": it got truncated on paste or has unbalanced quotes; use the downloaded file instead.
- A node does nothing after import: it likely kept an unmapped reference (nulled out for safety). Open it and pick the correct resource.
Tips
- Version your exports with the date in the filename to keep a history.
- Before a risky change, export: you get an instant "undo".
Related articles
Related articles
-
Build your first workflow
Omnifox workflows automate your operation: a trigger starts the automation and action nodes do the work. Build a welcome message in minutes.
-
Workflow triggers catalog
Learn which events can start a workflow automatically in Omnifox.
-
Workflows complete guide
Workflows in depth, in 54 chapters: triggers, nodes, variables, testing, history, templates, import and export, with every setting explained and a real workflow end to end.
-
Action nodes available in workflows
Discover the actions a workflow can run automatically.
-
Conditions and branching (if/then) in a workflow
Make your flows take decisions and follow different paths based on each contact data.