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 →
{
"updatedAt": "2025-12-15T17:33:59.642Z",
"createdAt": "2025-12-15T16:14:19.098Z",
"id": "KRpcSnEIXgv29GQY",
"name": "AI Puzzle 2",
"active": false,
"isArchived": false,
"nodes": [
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "cc0761a3-53c7-42eb-82aa-e6c59043f46d",
"name": "url3",
"value": "https://www.mcdonalds.com/us/en-us.html",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
1968,
2224
],
"id": "2a42b2a9-745f-420b-8158-85981d727499",
"name": "URL 3"
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "cc0761a3-53c7-42eb-82aa-e6c59043f46d",
"name": "url2",
"value": "https://www.nvidia.com/en-us/",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
1968,
2000
],
"id": "33810c7b-e7b0-4db5-90b7-3278bf6b43ff",
"name": "URL 2"
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "cc0761a3-53c7-42eb-82aa-e6c59043f46d",
"name": "url1",
"value": "https://www.apple.com/",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
1968,
1776
],
"id": "bf5cd1dd-85a2-4b27-9e04-0545e4b60af2",
"name": "URL 1"
},
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
1568,
2016
],
"id": "f0ded5c7-7a9a-4553-8752-635dc563e9ab",
"name": "When clicking \u2018Test workflow\u2019"
},
{
"parameters": {
"mode": "combine",
"combineBy": "combineByPosition",
"numberInputs": 3,
"options": {}
},
"type": "n8n-nodes-base.merge",
"typeVersion": 3.1,
"position": [
1536,
3968
],
"id": "e3f826cb-897b-47f6-b467-4d82b451fcba",
"name": "Merge1"
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "364ea10d-5c32-4e9d-9687-0d895ccbfc72",
"name": "urls",
"value": "=[\"{{ $json.url1 }}\",\"{{ $json.url2 }}\",\"{{ $json.url3 }}\"]",
"type": "array"
}
]
},
"options": {
"ignoreConversionErrors": false
}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
1760,
3968
],
"id": "00358365-368d-451a-afa8-a681f4621980",
"name": "Turn into Array1"
},
{
"parameters": {
"fieldToSplitOut": "urls",
"options": {}
},
"type": "n8n-nodes-base.splitOut",
"typeVersion": 1,
"position": [
1968,
3968
],
"id": "e2cab5ad-3146-4a1a-bc8a-56c597eab65c",
"name": "Split Out1"
},
{
"parameters": {
"url": "={{ $json.urls }}",
"options": {}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
2160,
3968
],
"id": "600cf626-a54d-4f92-bd5e-9328daf68eb2",
"name": "HTTP Request1"
},
{
"parameters": {
"fieldsToAggregate": {
"fieldToAggregate": [
{
"fieldToAggregate": "data"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.aggregate",
"typeVersion": 1,
"position": [
2384,
3968
],
"id": "fac63fd8-c3e0-4397-9d3e-51fbd1ddfb68",
"name": "Aggregate1"
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "01550d40-4fa1-4b35-b6d1-3bbdf30d199c",
"name": "url1",
"value": "={{ $json.data[0] }}",
"type": "string"
},
{
"id": "f7e3de2b-b0b5-4999-8b19-ba5b81a70d16",
"name": "url2",
"value": "={{ $json.data[1] }}",
"type": "string"
},
{
"id": "39657d25-8701-4086-8456-1ae24104a075",
"name": "url3",
"value": "={{ $json.data[2] }}",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
2608,
3968
],
"id": "37fd4805-70fa-4593-b2ba-a5f39bec0d8e",
"name": "Output1"
},
{
"parameters": {
"content": "# Solution\n## Note: There are a few ways to do this, but this is how I solved it",
"height": 760,
"width": 1980,
"color": 4
},
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
928,
3616
],
"id": "2e1148f6-8505-4721-b682-e6ce4fb9de56",
"name": "Sticky Note"
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "cc0761a3-53c7-42eb-82aa-e6c59043f46d",
"name": "url1",
"value": "https://www.apple.com/",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
1168,
3808
],
"id": "1d378853-92bc-4d52-acfb-c73349c57272",
"name": "URL_1"
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "cc0761a3-53c7-42eb-82aa-e6c59043f46d",
"name": "url3",
"value": "https://www.mcdonalds.com/us/en-us.html",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
1168,
4144
],
"id": "8ca9ba52-d654-4c31-b8b7-b1f61c9de9d8",
"name": "URL_3"
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "cc0761a3-53c7-42eb-82aa-e6c59043f46d",
"name": "url2",
"value": "https://www.nvidia.com/en-us/",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
1168,
3968
],
"id": "93c9f2d4-7a12-401d-ac13-11d83f467881",
"name": "URL_2"
},
{
"parameters": {
"content": "## \ud83e\udd16 Puzzle Challenge: Merge Raw HTML from Multiple URLs\n\nYou received **three separate URLs** from different data sources. \nEach one points to a unique webpage that you'll need to fetch and process. \n\nYour goal is to **retrieve the raw HTML** from each of these URLs and combine them into a **single item** that looks like this:\n\n## \ud83d\udfe8 Input URLs\n- `url1`: https://www.apple.com/\n- `url2`: https://www.nvidia.com/en-us/\n- `url3`: https://www.mcdonalds.com/us/en-us.html\n\n## \ud83c\udfaf Your Goal\nUse the appropriate nodes (like HTTP Request, Merge, Set, or Function) to:\n- Fetch raw HTML from each URL\n- Combine all results into **one item**\n- Return this final structure:\n\n```json\n{\n \"url1\": raw html,\n \"url2\": raw html,\n \"url3\": raw html\n}\n```\n\nThis one's a bit trickier! If you get stuck, scroll down and inspect each node to understand how the data transforms step-by-step. \n\n> \ud83d\udca1 Tip: This isn\u2019t the only correct solution. If you end up with the correct final structure, you\u2019ve succeeded in manipulating the data.\n\nSOLUTION is below. Don't spoil it!\n",
"height": 840,
"width": 800
},
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
640,
1616
],
"id": "a3d8b7a1-9cc8-4a5b-9997-aa8a63505d11",
"name": "Sticky Note1"
},
{
"parameters": {
"mode": "combine",
"combineBy": "combineByPosition",
"numberInputs": 3,
"options": {}
},
"type": "n8n-nodes-base.merge",
"typeVersion": 3.2,
"position": [
2400,
1984
],
"id": "bf4a4eb8-89fa-4c09-9907-cfaa34cf14d2",
"name": "Merge"
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "b0650d75-1314-49b6-86b3-18a5f7170441",
"name": "urls",
"value": "=[\"{{ $json.url1 }}\",\"{{ $json.url2 }}\",\"{{ $json.url3 }}\"]",
"type": "array"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
2624,
2000
],
"id": "688f02f7-84c6-4ec9-8f41-a4bb90e482ea",
"name": "Edit Fields"
},
{
"parameters": {
"fieldToSplitOut": "urls",
"options": {}
},
"type": "n8n-nodes-base.splitOut",
"typeVersion": 1,
"position": [
2832,
2000
],
"id": "b089c9aa-f09f-4a6f-9301-3afd7f8b3a33",
"name": "Split Out"
},
{
"parameters": {
"url": "={{ $json.urls }}",
"options": {}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.3,
"position": [
3040,
2000
],
"id": "e80edf42-703d-473c-a704-c5aedd4feb67",
"name": "HTTP Request"
},
{
"parameters": {
"aggregate": "aggregateAllItemData",
"options": {}
},
"type": "n8n-nodes-base.aggregate",
"typeVersion": 1,
"position": [
3248,
2000
],
"id": "5ac47b7d-0dbf-473c-8fbf-10dfc1f0a66d",
"name": "Aggregate"
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "df9bf14b-4b46-46e6-941c-2416894757f6",
"name": "url1",
"value": "={{ $json.data[0] }}",
"type": "string"
},
{
"id": "22bc2a8d-4143-4cf6-b83c-5b04b092f1ef",
"name": "url2",
"value": "={{ $json.data[1] }}",
"type": "object"
},
{
"id": "078099b5-4659-461f-8823-4f90760cd338",
"name": "url3",
"value": "={{ $json.data[2] }}",
"type": "object"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
3456,
2000
],
"id": "29108881-2d40-426d-837b-8ff702e38d2e",
"name": "Edit Fields1"
}
],
"connections": {
"When clicking \u2018Test workflow\u2019": {
"main": [
[
{
"node": "URL 1",
"type": "main",
"index": 0
},
{
"node": "URL 2",
"type": "main",
"index": 0
},
{
"node": "URL 3",
"type": "main",
"index": 0
}
]
]
},
"Merge1": {
"main": [
[
{
"node": "Turn into Array1",
"type": "main",
"index": 0
}
]
]
},
"Turn into Array1": {
"main": [
[
{
"node": "Split Out1",
"type": "main",
"index": 0
}
]
]
},
"Split Out1": {
"main": [
[
{
"node": "HTTP Request1",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request1": {
"main": [
[
{
"node": "Aggregate1",
"type": "main",
"index": 0
}
]
]
},
"Aggregate1": {
"main": [
[
{
"node": "Output1",
"type": "main",
"index": 0
}
]
]
},
"URL_1": {
"main": [
[
{
"node": "Merge1",
"type": "main",
"index": 0
}
]
]
},
"URL_3": {
"main": [
[
{
"node": "Merge1",
"type": "main",
"index": 2
}
]
]
},
"URL_2": {
"main": [
[
{
"node": "Merge1",
"type": "main",
"index": 1
}
]
]
},
"URL 1": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 0
}
]
]
},
"URL 2": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 1
}
]
]
},
"URL 3": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 2
}
]
]
},
"Merge": {
"main": [
[
{
"node": "Edit Fields",
"type": "main",
"index": 0
}
]
]
},
"Edit Fields": {
"main": [
[
{
"node": "Split Out",
"type": "main",
"index": 0
}
]
]
},
"Split Out": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "Aggregate",
"type": "main",
"index": 0
}
]
]
},
"Aggregate": {
"main": [
[
{
"node": "Edit Fields1",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
},
"staticData": null,
"meta": {
"templateCredsSetupCompleted": true
},
"versionId": "90b0e7c6-00c2-46e7-9c1f-b21ad7d67c0d",
"activeVersionId": null,
"triggerCount": 0,
"shared": [
{
"updatedAt": "2025-12-15T16:14:19.101Z",
"createdAt": "2025-12-15T16:14:19.101Z",
"role": "workflow:owner",
"workflowId": "KRpcSnEIXgv29GQY",
"projectId": "Jb2DFpuDeQFonpJH"
}
],
"activeVersion": null,
"tags": []
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
AI Puzzle 2. Uses httpRequest. Event-driven trigger; 21 nodes.
Source: https://github.com/gllanes005/n8n-workflows/blob/71a4fc487f239d6f71dcae7109bc3d8124f6de8e/workflows/AI-Puzzle-2.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.
This workflow allows you to import any workflow from a file or another n8n instance and map the credentials easily. A multi-form setup guides you through the entire process At the beginning you have t
[n8n] Advanced URL Parsing and Shortening Workflow - Switchy.io Integration. Uses splitInBatches, stickyNote, httpRequest, html. Event-driven trigger; 56 nodes.
[](https://youtu.be/c7yCZhmMjtI)
This automation organizes your n8n workflows files into categorizes (Active, Template, Done, Archived) and uploads them directly to a categorized Google Drive folders. It is designed to help users man
Create Animated Stories using GPT-4o-mini, Midjourney, Kling and Creatomate API. Uses httpRequest. Event-driven trigger; 51 nodes.