Skip to content
masterclass Buddy

n8n · Command

n8n import:workflow

Use the n8n Server CLI to import workflow JSON files. You can import one file or import several files separately from a directory.

Last updated

Syntax

n8n import:workflow --input=<file-or-directory> [--separate] [--activeState=fromJson]

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Export and import
  • Use the command line
  • Export a package
  • Import a package

Source: Use the command line | Deploy | n8n Docs. Checked 2026-11-03.