Currently, there is no n8n node that allows managing workflow folders (directories) via automation.
In the n8n UI interface, users can:
-
Create folders
-
Move workflows into folders
-
Organize workflows using a parent directory structure
However, this functionality is not available through built-in workflow nodes.
Missing Functionality
The built-in nodes:
-
Create a Workflow
-
Update a Workflow
-
Get a Workflow
do not support specifying a parentDirectory (or folder ID) when creating or updating a workflow.
This makes it impossible to:
-
Automatically place new workflows into a specific folder
-
Move workflows between folders programmatically
-
Maintain structured workflow organization via automation
-
Fully replicate UI functionality using n8n itself
Expected Behavior
The following capabilities should be supported:
-
Ability to specify
parentDirectory(or folder ID) when creating a workflow -
Ability to update/move a workflow into another folder
-
(Optional) Dedicated node for:
-
Creating folders
-
Updating folders
-
Deleting folders
-
Listing folders
-
Why This Is Important
-
Enables full CI/CD automation for workflows
-
Required for large-scale workflow management
-
Necessary for infrastructure-as-code setups
-
Currently forces manual UI interaction
Environment
-
n8n version: 2.8.3
-
Deployment type: Docker Self-hosted
-
Database: Postgres