The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "SplitMerge",
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
0,
0
],
"id": "f7340e85-ebf2-492f-832a-6cc3475f1617",
"name": "When clicking \u2018Execute workflow\u2019"
},
{
"parameters": {
"jsCode": "return [\n { json: {nom: \"Alice\", age: 28}},\n { json: {nom: \"Lorena\", age: 26}},\n { json: {nom: \"Lisa\", age: 23}},\n { json: {nom: \"Lina\", age: 15}},\n]"
},
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
208,
0
],
"id": "40b1ce1f-804d-4d13-b9a6-88975364b040",
"name": "DataMock"
},
{
"parameters": {
"jsCode": "return items.map(item => {\n item.json.isAdult = item.json.age >= 18\n return item\n});"
},
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
416,
0
],
"id": "54841174-eca7-4fb8-86b5-c2433a314a4e",
"name": "Code in JavaScript"
},
{
"parameters": {
"fieldToSplitOut": "nom",
"options": {}
},
"type": "n8n-nodes-base.splitOut",
"typeVersion": 1,
"position": [
624,
0
],
"id": "2646494f-67de-46c2-b9f0-558853557433",
"name": "Split Out"
},
{
"parameters": {
"jsCode": "return items.map(item => {\n item.json.timestamp= new Date();\n return item;\n})"
},
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
816,
160
],
"id": "b0838a8e-84cd-47ee-882e-f1859f2edc4f",
"name": "Timestamp"
},
{
"parameters": {
"jsCode": "return items.map(item => {\n item.json.timestamp= new Date();\n return item;\n})"
},
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
816,
-112
],
"id": "ae2ea009-30ae-44ba-ba7c-883bb2049178",
"name": "Code in JavaScript1"
},
{
"parameters": {},
"type": "n8n-nodes-base.merge",
"typeVersion": 3.2,
"position": [
1072,
0
],
"id": "179de7a8-72dd-4298-a462-4db64ba2ebce",
"name": "Merge"
}
],
"connections": {
"When clicking \u2018Execute workflow\u2019": {
"main": [
[
{
"node": "DataMock",
"type": "main",
"index": 0
}
]
]
},
"DataMock": {
"main": [
[
{
"node": "Code in JavaScript",
"type": "main",
"index": 0
}
]
]
},
"Code in JavaScript": {
"main": [
[
{
"node": "Split Out",
"type": "main",
"index": 0
}
]
]
},
"Split Out": {
"main": [
[
{
"node": "Timestamp",
"type": "main",
"index": 0
},
{
"node": "Code in JavaScript1",
"type": "main",
"index": 0
}
]
]
},
"Timestamp": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 1
}
]
]
},
"Code in JavaScript1": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1",
"binaryMode": "separate",
"availableInMCP": false
},
"versionId": "7ce2e55e-9e25-4240-b66f-1eedaea4132e",
"id": "vCzRV9HovUZmYrIE",
"tags": []
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
SplitMerge. Event-driven trigger; 7 nodes.
Source: https://github.com/Elsaay/Projet_n8n/blob/0ab7ab5f3009a8579fb242901aab3b792db1649b/n8n/SplitMerge.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Reagendamiento. Uses executeWorkflowTrigger, redis, n8n-nodes-evolution-api, dataTable. Event-driven trigger; 73 nodes.
Blotato. Uses googleSheets, @blotato/n8n-nodes-blotato. Event-driven trigger; 65 nodes.
This template is a hands-on, practical exam designed to help you master n8n Expressions—the key to accessing and manipulating data in your workflows.
This template is a hands-on, practical exam designed to test your understanding of the fundamental JSON data types. It's the perfect way to solidify your knowledge after learning the basics.
Agendamiento. Uses n8n-nodes-evolution-api, redis, dataTable, executeWorkflowTrigger. Event-driven trigger; 60 nodes.