Spaces:
Paused
Paused
Download workflows/Create/1124_Create.json from cheekeong2025/n8n-workflows: direct link, hf CLI and curl.
- Browser
- Download file 962 Bytes
-
https://huggingface.co/spaces/cheekeong2025/n8n-workflows/resolve/main/workflows/Create/1124_Create.json
- Command line
-
hf download hf://spaces/cheekeong2025/n8n-workflows/workflows/Create/1124_Create.json
-
curl -L -o 1124_Create.json https://huggingface.co/spaces/cheekeong2025/n8n-workflows/resolve/main/workflows/Create/1124_Create.json
962 Bytes
| { | |
| "nodes": [ | |
| { | |
| "name": "Mock Data", | |
| "type": "n8n-nodes-base.function", | |
| "position": [ | |
| 670, | |
| 371 | |
| ], | |
| "parameters": { | |
| "functionCode": "return [\n {\n json:[\n {\n id: 1,\n name: \"Jim\"\n }, \n {\n id: 2,\n name: \"Stefan\"\n },\n {\n id: 3,\n name: \"Hans\"\n }\n ]\n }\n];" | |
| }, | |
| "typeVersion": 1 | |
| }, | |
| { | |
| "name": "Create JSON-items", | |
| "type": "n8n-nodes-base.function", | |
| "position": [ | |
| 910, | |
| 371 | |
| ], | |
| "parameters": { | |
| "functionCode": "return items[0].json.map(item => { \n return {\n json: item,\n }\n})\n" | |
| }, | |
| "typeVersion": 1 | |
| } | |
| ], | |
| "connections": { | |
| "Mock Data": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Create JSON-items", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| } | |
| } | |
| } |