Import and export an automation
Save an automation as a file, then bring it back as a new automation or over an existing flow.
Sometimes you want a copy of an automation outside the app: to keep before a big change, to reuse a flow that works well as the base of a new one, or to hand it to a colleague. Exporting saves the automation as a small JSON file, and importing turns that file back into a flow. Here's how to do both.
Step 1: Export an automation
On the Automations page, open the ⋯ menu on the automation's card.
Click Export. A
.jsonfile with the automation's flow downloads to your computer.
You can also export from inside the automation with More > Export.
Note: Export saves the published flow, the one on the Production tab. Changes still in the draft aren't included, and an automation that was never published exports without any steps. Publish first if you want the file to contain your latest edits.

Warning: The file contains the whole flow, including the addresses and settings typed into each step. Saved connection credentials aren't included, but share the file only with people who should see how the automation works.
Step 2: Import it as a new automation
Use this to start a new automation from one you exported.
On the Automations page, click Import.
Click Choose JSON file and pick the exported file.

A new automation is created and opens straight away with the steps from the file, here a copy of Welcome new hires on day one. Its name ends in (imported), so you can tell it apart from the original. Rename it and move it to the right folder with More > Edit automation.

Note: An imported automation starts as a draft. Check its steps, especially any that point to a connection or to dataset records, then publish it.
Step 3: Replace an existing flow with a file
Use this to bring a saved flow back into an automation that already exists, for example to undo a round of changes you exported beforehand.
Open the automation and click More > Import. The Update flow from template window opens.
Click Choose JSON file and pick the file.
The file's flow replaces the current draft. The automation's name, folder and other settings stay as they are, and nothing goes live until you publish.

Note: To go back to a flow you published before, you don't need a file at all: just use the Versions tab. See Go back to an earlier version.