n8n import:workflow --separate --input=backups/latest/

Category: n8n & Workflow Automation

n8n import:workflow --separate --input=backups/latest/

Import workflows from a directory

Reads every .json file in backups/latest/ as one workflow each, matching the layout produced by --separate and --backup exports. Files without valid nodes and connections are skipped with a warning. Assign ownership with --userId or --projectId, but never both.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.