n8n import:workflow --input=workflows.json

Category: n8n & Workflow Automation

n8n import:workflow --input=workflows.json

Import workflows from a file

Loads workflows.json, accepting either a single workflow object or an array, and creates the workflows in the database. Imported workflows are deactivated by default so their triggers do not fire until you publish them. Workflows whose IDs already exist in the target instance are overwritten.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.