You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: sync skills pack to n8n-skills v1.28.0 (folder management) (czlonkowski#976)
* docs: sync skills pack to n8n-skills v1.28.0 (folder management)
The bundled pack predates the 2.68.0 folder feature. Synced from
n8n-skills v1.28.0: n8n_manage_folders (six actions, list counts,
recursive totals, delete/archive semantics), the moveToFolder diff
operation, and parentFolderId on workflow create - including the
write-only placement and delete-archives-workflows behaviors.
Conceived by Romuald Członkowski - https://www.aiadvisors.pl/en
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* docs: sync Copilot review polish from n8n-skills v1.28.1
Explicit folderId placeholder in the moveToFolder verification example;
router delete note clarifies workflows move to the project root and are
archived, not removed.
Conceived by Romuald Członkowski - https://www.aiadvisors.pl/en
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
## [2.68.1] - 2026-08-04
11
+
12
+
### Changed
13
+
14
+
-**Bundled skills pack synced to n8n-skills v1.28.1.** The pack predates the folder feature that shipped in 2.68.0, so nothing in it mentioned `n8n_manage_folders` or folder placement. The tools-expert skill (category list, quick reference, version requirements, WORKFLOW_GUIDE) now documents all six folder actions with the list counts and recursive totals, the `moveToFolder` operation (21 diff operation types), and `parentFolderId` on workflow create — including the two behaviors an agent must know: a workflow's folder is write-only in n8n's API (verify placement via a folder's `get` counts, never by reading the workflow), and folder `delete` without `transferToFolderId` archives the folder's workflows (`"0"` transfers them to the project root and keeps them active). The always-on router gains the matching one-liner.
Copy file name to clipboardExpand all lines: data/skills/n8n-mcp-tools-expert/SKILL.md
+22-8Lines changed: 22 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: n8n-mcp-tools-expert
3
-
description: Expert guide for using n8n-mcp MCP tools effectively. Use when searching for nodes, validating configurations, accessing templates, managing workflows, managing credentials, auditing instance security, or using any n8n-mcp tool. Provides tool selection guidance, parameter formats, and common patterns. IMPORTANT — Always consult this skill before calling any n8n-mcp tool — it prevents common mistakes like wrong nodeType formats, incorrect parameter structures, and inefficient tool usage. If the user mentions n8n, workflows, nodes, or automation and you have n8n MCP tools available, use this skill first.
3
+
description: Expert guide for using n8n-mcp MCP tools effectively. Use when searching for nodes, validating configurations, accessing templates, managing workflows, organizing workflows into folders, managing credentials, auditing instance security, or using any n8n-mcp tool. Provides tool selection guidance, parameter formats, and common patterns. IMPORTANT — Always consult this skill before calling any n8n-mcp tool — it prevents common mistakes like wrong nodeType formats, incorrect parameter structures, and inefficient tool usage. If the user mentions n8n, workflows, nodes, or automation and you have n8n MCP tools available, use this skill first.
4
4
---
5
5
6
6
# n8n MCP Tools Expert
@@ -18,9 +18,10 @@ n8n-mcp provides tools organized into categories:
@@ -252,6 +255,14 @@ See [OPERATIONS_GUIDE.md](OPERATIONS_GUIDE.md) for all actions, filter condition
252
255
253
256
---
254
257
258
+
## Workflow Folders
259
+
260
+
`n8n_manage_folders` organizes workflows into folders (actions `create`/`list`/`get`/`rename`/`move`/`delete`; n8n 2.19+, registered free Community tier and up). `projectId` defaults to `'personal'`. Placing workflows happens in the *workflow* tools: `parentFolderId` on `n8n_create_workflow`, or the `moveToFolder` operation of `n8n_update_partial_workflow` (both n8n 2.32+; `null` = project root). Two things to internalize: a workflow's folder is **write-only** in n8n's API (verify placement via a folder's `get` counts, never by reading the workflow), and `delete` without `transferToFolderId`**archives** the folder's workflows (`transferToFolderId: "0"` moves them to the project root instead, keeping them active).
261
+
262
+
See [WORKFLOW_GUIDE.md](WORKFLOW_GUIDE.md) for all actions, list filters/counts, and the delete semantics.
263
+
264
+
---
265
+
255
266
## Credential Management
256
267
257
268
`n8n_manage_credentials` is the unified credential tool: actions `list`, `get`, `create`, `update`, `delete`, `getSchema`. It never returns secrets — `get`/`create`/`update` strip the `data` field. Use `getSchema` before `create` to discover required fields. The optional `includeUsage: true` flag (on `list`/`get`) reverse-scans workflows and attaches `usedIn: [{id, name, active}]` + `usageCount` — use it before deleting or rotating a credential to see what breaks (it triggers a full client-side scan, caps at 5000 workflows, excludes archived, and degrades to a `usageScanError` field on failure).
@@ -298,6 +309,7 @@ See [OPERATIONS_GUIDE.md](OPERATIONS_GUIDE.md) for examples.
298
309
- n8n_workflow_versions
299
310
- n8n_autofix_workflow
300
311
- n8n_manage_datatable
312
+
- n8n_manage_folders (folder CRUD: n8n 2.19+, registered Community tier and up; workflow placement via parentFolderId/moveToFolder: n8n 2.32+)
301
313
- n8n_manage_credentials
302
314
- n8n_audit_instance
303
315
@@ -322,6 +334,7 @@ If API tools unavailable, use templates and validation-only workflows.
parentFolderId:"abc123"// Optional: folder to create in (n8n 2.32+; omit = project root)
28
29
})
29
30
```
30
31
@@ -72,6 +73,7 @@ n8n_create_workflow({
72
73
- Workflows created **inactive** (activate with `activateWorkflow` operation)
73
74
- Auto-sanitization runs on creation
74
75
- Validate before creating for best results
76
+
-`parentFolderId` places the workflow in a folder at creation (find or create folders with `n8n_manage_folders`). On n8n < 2.32 the whole create is rejected with a 400 naming the field — retry without it
75
77
76
78
---
77
79
@@ -83,7 +85,7 @@ n8n_create_workflow({
83
85
84
86
**Common pattern**: 56s average between edits (iterative building!)
85
87
86
-
### 20 Operation Types
88
+
### 21 Operation Types
87
89
88
90
**Node Operations** (7 types):
89
91
1.`addNode` - Add new node
@@ -112,8 +114,9 @@ n8n_create_workflow({
112
114
18.`activateWorkflow` - Activate workflow for automatic execution
113
115
19.`deactivateWorkflow` - Deactivate workflow
114
116
115
-
**Project Management Operations** (1 type):
117
+
**Project Management Operations** (2 types):
116
118
20.`transferWorkflow` - Transfer workflow to a different project (enterprise/cloud)
119
+
21.`moveToFolder` - Move workflow into a folder, or to the project root with `parentFolderId: null` (n8n 2.32+)
117
120
118
121
### Intent Parameter (IMPORTANT!)
119
122
@@ -441,6 +444,33 @@ workflow without groups and warns; it does not fail.
441
444
modes when the workflow has any. `mode: "active"` returns the *published* version's groups, which
442
445
can differ from the draft's.
443
446
447
+
### moveToFolder (Folder Placement, n8n 2.32+)
448
+
449
+
Move the workflow into a folder as part of a diff:
450
+
451
+
```javascript
452
+
n8n_update_partial_workflow({
453
+
id:"workflow-id",
454
+
intent:"Move into the Production folder",
455
+
operations: [
456
+
{type:"moveToFolder", parentFolderId:"abc123"} // or null = project root
457
+
]
458
+
})
459
+
```
460
+
461
+
n8n treats a workflow's folder as **write-only**: it can be set but never read back
462
+
(no field in `n8n_get_workflow`, no folder filter on `n8n_list_workflows`). Verify a
463
+
move indirectly — `n8n_manage_folders({action: "get", folderId: "abc123"})` reports the
464
+
folder's recursive `totalWorkflows` — or visually in the n8n UI. Two consequences:
465
+
466
+
- If a mixed update fails after the PUT persisted, the rollback restores the graph but
467
+
**cannot** restore the previous folder (it was never readable); the error says so.
468
+
- Combined with `transferWorkflow` in one request, the folder move applies in the
469
+
*source* project before the transfer — move in a separate call after transferring.
470
+
471
+
On n8n < 2.32 the operation fails with a 400 naming `parentFolderId` plus upgrade
472
+
guidance. Find or create folders with `n8n_manage_folders` (see below).
**Use when**: Organizing workflows into folders — creating structure before deploying a batch, restructuring a grown instance, or finding where to place a new workflow.
1031
+
1032
+
Folder CRUD needs n8n >= 2.19 and a licensed instance (folders unlock on the **registered free Community tier** — Settings → Usage and plan → register — and up) plus `folder:*` API key scopes. Placing *workflows* into folders needs n8n >= 2.32 and happens in the workflow tools (`parentFolderId` on `n8n_create_workflow`, `moveToFolder` op), not here.
1033
+
1034
+
### 6 Actions
1035
+
1036
+
`create`, `list`, `get`, `rename`, `move`, `delete`. `projectId` defaults to `'personal'` (the calling user's personal project) on every action — pass a real project ID on multi-project enterprise instances.
Without `transferToFolderId`, the folder's workflows are moved to the project root **and ARCHIVED** (deactivated), and sub-folders are deleted. Pass `transferToFolderId` to move contents somewhere first — `"0"` means the project root and keeps workflows active. Prefer the transfer form unless archiving is intended.
1079
+
1080
+
**Gotchas**:
1081
+
- Folder names are not unique — `list` before `create` to avoid duplicates
1082
+
- A workflow's folder cannot be read back through the API; don't build logic that queries folder membership. Folder contents are visible only as counts
1083
+
- The `'personal'` default resolves through the projects API when licensed; on Community (where that API is 403) it infers the project from an existing workflow — a brand-new instance with zero workflows needs an explicit `projectId`, or create any workflow first
1084
+
- 403 = missing `folder:*` scopes or an unregistered/unlicensed instance; 404 = wrong project/folder ID, or n8n < 2.19 (no folders API at all)
1085
+
- On n8n 2.19–2.31 folder CRUD works but workflow placement doesn't (that needs 2.32+)
Copy file name to clipboardExpand all lines: data/skills/using-n8n-mcp-skills/SKILL.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,8 +133,9 @@ closes the gap where a tool's full description isn't loaded until first use.
133
133
-`n8n_executions` — list/inspect executions. **There is no `execute_workflow` tool.**
134
134
-`n8n_evaluations` — evaluation test runs: list runs, aggregated metrics, per-case results (n8n ≥ 2.30), plus `run`/`cancel` to start or stop a run (n8n ≥ 2.32). `run` executes the workflow against its whole dataset — real nodes fire, so ask the user first. A 403 can mean the API key was created before the action's minimum version (re-create it for the testRun scopes), evaluations aren't licensed on the plan, or the key's owner lacks access to the workflow — for `run`/`cancel`, specifically the `workflow:execute` scope.
135
135
136
-
**Data, credentials, audit**
136
+
**Data, folders, credentials, audit**
137
137
-`n8n_manage_datatable` — Data Table CRUD, filtering, dry-run.
138
+
-`n8n_manage_folders` — workflow folder CRUD with contents counts (n8n ≥ 2.19, registered Community tier and up; `projectId` defaults to `personal`). Place workflows via `parentFolderId` on `n8n_create_workflow` or the `moveToFolder` op (n8n ≥ 2.32). Placement is write-only — verify via a folder's `get` counts, never by reading the workflow. `delete` without `transferToFolderId` moves the folder's workflows to the project root and ARCHIVES them — they still exist, but deactivated (`transferToFolderId: "0"` = transfer to project root without archiving).
0 commit comments