Skip to content

Exporting and importing workflows#

In this chapter, you will learn how to export and import workflows.

Exporting and importing workflows#

You can save n8n workflows 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

Exported workflow JSON files include credential names and IDs. While IDs aren't sensitive, the names could be, depending on how you name your credentials. HTTP Request nodes may contain authentication headers when imported from cURL. Remove or anonymize this information from the JSON file before sharing to protect your credentials.

Import/Export menu
Import & Export workflows menu

You can export and import workflows in three ways:

  • From the Editor UI menu:
    • 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 Editor UI canvas:
    • Export: Select all the nodes on the canvas and use Ctrl+C to copy the workflow JSON. You can paste this into a file or share it directly with other people.
    • Import: You can paste a copied workflow JSON directly into the canvas with Ctrl+V.
  • From the command line: