feat: add folder support for workflows (fixes #70)

This commit is contained in:
Praveen Mudalgeri
2025-08-05 09:40:47 +05:30
parent 307d530f9b
commit c4885eee92
2057 changed files with 985290 additions and 974268 deletions

View File

@@ -0,0 +1,41 @@
{
"nodes": [
{
"name": "Mock Data",
"type": "n8n-nodes-base.function",
"position": [
550,
300
],
"parameters": {
"functionCode": "return [{json:[\"item-1\", \"item-2\", \"item-3\", \"item-4\"]}];"
},
"typeVersion": 1
},
{
"name": "Function",
"type": "n8n-nodes-base.function",
"position": [
750,
300
],
"parameters": {
"functionCode": "return items[0].json.map(item => {\n return {\n json: {\n data:item\n },\n }\n});\n"
},
"typeVersion": 1
}
],
"connections": {
"Mock Data": {
"main": [
[
{
"node": "Function",
"type": "main",
"index": 0
}
]
]
}
}
}