Exporting and importing workflows#
In this chapter, you will learn how to export and import workflows.
Exporting and importing workflows#
n8n workflows can be saved locally as JSON files. This is useful if you want to share your workflow with someone else or import a workflow from someone else.
Sharing credentials
Note that the exported JSON file of your workflow will contain your credentials as well. If you don't want to share your credentials (recommended), delete them from the JSON file.
You can export and import workflows in two ways:
- From the Editor UI:
- Export: From the top navigation bar, select the three dots in the upper right, then select Download. This will download your current workflow as a JSON file on your computer.
- Import: From the top navigation bar, select the three dots in the upper right, then select Import from URL (to import a published workflow) or Import from File (to import a workflow as a JSON file).
- From the command line:
- Export: See the full list of commands for exporting workflows or credentials.
- Import: See the full list of commands for importing workflows or credentials.