{ "meta": { "instanceId": "workflow-40f49491", "versionId": "1.0.0", "createdAt": "2025-09-29T07:07:52.430136", "updatedAt": "2025-09-29T07:07:52.430145", "owner": "n8n-user", "license": "MIT", "category": "automation", "status": "active", "priority": "high", "environment": "production" }, "nodes": [ { "id": "a9048293-787d-44d6-b995-d329b2495048", "name": "When clicking \"Execute Workflow\"", "type": "n8n-nodes-base.manualTrigger", "position": [ -1920, 1380 ], "parameters": {}, "typeVersion": 1, "notes": "This manualTrigger node performs automated tasks as part of the workflow." }, { "id": "56017e8b-2f2e-4f40-9325-184ea01a18be", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [ -1720, 1260 ], "parameters": { "width": 1071.752021563343, "height": 285.66037735849045, "content": "## Scrape latest Paul Graham essays" }, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow." }, { "id": "aa855d7c-6602-4242-bc84-56fed7c27c26", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [ -600, 1260 ], "parameters": { "width": 625, "height": 607, "content": "## Summarize them with GPT" }, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow." }, { "id": "1a38e545-6d3b-40b2-a3ff-6f91fdd772de", "name": "Fetch Essay List", "type": "n8n-nodes-base.httpRequest", "position": [ -1640, 1380 ], "parameters": { "url": "{{ $env.WEBHOOK_URL }}", "options": {} }, "typeVersion": 4.2, "notes": "This httpRequest node performs automated tasks as part of the workflow." }, { "id": "bd713892-356b-4a9c-b076-000bd4f1f1ba", "name": "OpenAI Chat Model", "type": "n8n-nodes-base.noOp", "position": [ -380, 1600 ], "parameters": { "model": { "__rl": true, "mode": "list", "value": "gpt-4o-mini" }, "options": {} }, "credentials": { "openAiApi": { "id": "8gccIjcuf3gvaoEr", "name": "OpenAi account" } }, "typeVersion": 1.2, "notes": "This lmChatOpenAi node performs automated tasks as part of the workflow." }, { "id": "4d7359ab-ba87-4756-8168-f2b987aac2fc", "name": "Extract essay names", "type": "n8n-nodes-base.html", "position": [ -1440, 1380 ], "parameters": { "options": {}, "operation": "extractHtmlContent", "extractionValues": { "values": [ { "key": "YOUR_CREDENTIAL_HERE", "attribute": "href", "cssSelector": "table table a", "returnArray": true, "returnValue": "attribute" } ] } }, "typeVersion": 1.2, "notes": "This html node performs automated tasks as part of the workflow." }, { "id": "8342d13f-879d-426b-ba28-ab696dd7f155", "name": "Split out into items", "type": "n8n-nodes-base.splitOut", "position": [ -1240, 1380 ], "parameters": { "options": {}, "fieldToSplitOut": "essay" }, "typeVersion": 1, "notes": "This splitOut node performs automated tasks as part of the workflow." }, { "id": "a057d3cb-b7fb-4b4d-810a-e4de3ac10702", "name": "Fetch essay texts", "type": "n8n-nodes-base.httpRequest", "position": [ -840, 1380 ], "parameters": { "url": "{{ $env.BASE_URL }}", "options": {} }, "typeVersion": 4.2, "notes": "This httpRequest node performs automated tasks as part of the workflow." }, { "id": "98164d8c-3d6f-485d-93b6-1da3e8ae7ca8", "name": "Extract title", "type": "n8n-nodes-base.html", "position": [ -340, 1080 ], "parameters": { "options": {}, "operation": "extractHtmlContent", "extractionValues": { "values": [ { "key": "YOUR_CREDENTIAL_HERE", "cssSelector": "title" } ] } }, "typeVersion": 1.2, "notes": "This html node performs automated tasks as part of the workflow." }, { "id": "fc0b6230-d169-4b20-803b-1896982c37c3", "name": "Summarization Chain", "type": "n8n-nodes-base.noOp", "position": [ -340, 1380 ], "parameters": { "options": {}, "operationMode": "documentLoader" }, "typeVersion": 2, "notes": "This chainSummarization node performs automated tasks as part of the workflow." }, { "id": "a656524a-9f77-4922-9de7-e2221ac82b70", "name": "Clean up", "type": "n8n-nodes-base.set", "position": [ 360, 1380 ], "parameters": { "options": {}, "assignments": { "assignments": [ { "id": "7b337b47-a1c6-470e-881f-0c038b4917e5", "name": "title", "type": "string", "value": "={{ $json.title }}" }, { "id": "ca820521-4fff-4971-84b5-e6e2dbd8bb7a", "name": "summary", "type": "string", "value": "={{ $json.response.text }}" }, { "id": "0fd9b5e3-44dd-49a3-82c1-3a4aa4698376", "name": "url", "type": "string", "value": "={{ $env.WEBHOOK_URL }}{{ $('Limit to first 3').first().json.essay }}" } ] } }, "typeVersion": 3.4, "notes": "This set node performs automated tasks as part of the workflow." }, { "id": "da738af0-7302-442d-bdc8-c9771be10794", "name": "Merge", "type": "n8n-nodes-base.merge", "position": [ 160, 1380 ], "parameters": { "mode": "combine", "options": {}, "combineBy": "combineByPosition" }, "typeVersion": 3, "notes": "This merge node performs automated tasks as part of the workflow." }, { "id": "adf51f27-8d3e-49a8-b850-7990d355dc81", "name": "Default Data Loader", "type": "n8n-nodes-base.noOp", "position": [ -260, 1600 ], "parameters": { "options": {}, "jsonData": "={{ $('Extract Text Only').item.json.data }}", "jsonMode": "expressionData" }, "typeVersion": 1, "notes": "This documentDefaultDataLoader node performs automated tasks as part of the workflow." }, { "id": "f57c5908-4ae3-4ce1-a74b-0fc393792c21", "name": "Recursive Character Text Splitter", "type": "n8n-nodes-base.noOp", "position": [ -180, 1720 ], "parameters": { "options": {}, "chunkSize": 6000 }, "typeVersion": 1, "notes": "This textSplitterRecursiveCharacterTextSplitter node performs automated tasks as part of the workflow." }, { "id": "278eed78-3489-41e3-b4d2-a2de788fcd21", "name": "Limit to first 3", "type": "n8n-nodes-base.limit", "position": [ -1040, 1380 ], "parameters": { "maxItems": 3 }, "typeVersion": 1, "notes": "This limit node performs automated tasks as part of the workflow." }, { "id": "028147d1-2a45-416d-91d0-40a0af2747f5", "name": "Extract Text Only", "type": "n8n-nodes-base.html", "position": [ -520, 1380 ], "parameters": { "options": {}, "operation": "extractHtmlContent", "extractionValues": { "values": [ { "key": "YOUR_CREDENTIAL_HERE", "cssSelector": "body", "skipSelectors": "img,nav" } ] } }, "typeVersion": 1.2, "notes": "This html node performs automated tasks as part of the workflow." } ], "pinData": {}, "connections": { "1a38e545-6d3b-40b2-a3ff-6f91fdd772de": { "main": [ [ { "node": "error-handler-1a38e545-6d3b-40b2-a3ff-6f91fdd772de", "type": "main", "index": 0 } ], [ { "node": "error-handler-1a38e545-6d3b-40b2-a3ff-6f91fdd772de-569658df", "type": "main", "index": 0 } ], [ { "node": "error-handler-1a38e545-6d3b-40b2-a3ff-6f91fdd772de-d6d7d63f", "type": "main", "index": 0 } ], [ { "node": "error-handler-1a38e545-6d3b-40b2-a3ff-6f91fdd772de-005234bc", "type": "main", "index": 0 } ], [ { "node": "error-handler-1a38e545-6d3b-40b2-a3ff-6f91fdd772de-a31a4a3f", "type": "main", "index": 0 } ], [ { "node": "error-handler-1a38e545-6d3b-40b2-a3ff-6f91fdd772de-34ac46fa", "type": "main", "index": 0 } ], [ { "node": "error-handler-1a38e545-6d3b-40b2-a3ff-6f91fdd772de-dea4c4ca", "type": "main", "index": 0 } ], [ { "node": "error-handler-1a38e545-6d3b-40b2-a3ff-6f91fdd772de-b22655aa", "type": "main", "index": 0 } ], [ { "node": "error-handler-1a38e545-6d3b-40b2-a3ff-6f91fdd772de-28166961", "type": "main", "index": 0 } ] ] }, "a057d3cb-b7fb-4b4d-810a-e4de3ac10702": { "main": [ [ { "node": "error-handler-a057d3cb-b7fb-4b4d-810a-e4de3ac10702", "type": "main", "index": 0 } ], [ { "node": "error-handler-a057d3cb-b7fb-4b4d-810a-e4de3ac10702-23887218", "type": "main", "index": 0 } ], [ { "node": "error-handler-a057d3cb-b7fb-4b4d-810a-e4de3ac10702-fc258fed", "type": "main", "index": 0 } ], [ { "node": "error-handler-a057d3cb-b7fb-4b4d-810a-e4de3ac10702-adfe1c96", "type": "main", "index": 0 } ], [ { "node": "error-handler-a057d3cb-b7fb-4b4d-810a-e4de3ac10702-9d1a78de", "type": "main", "index": 0 } ], [ { "node": "error-handler-a057d3cb-b7fb-4b4d-810a-e4de3ac10702-1b95a0db", "type": "main", "index": 0 } ], [ { "node": "error-handler-a057d3cb-b7fb-4b4d-810a-e4de3ac10702-59fb91e7", "type": "main", "index": 0 } ], [ { "node": "error-handler-a057d3cb-b7fb-4b4d-810a-e4de3ac10702-bbc52f34", "type": "main", "index": 0 } ], [ { "node": "error-handler-a057d3cb-b7fb-4b4d-810a-e4de3ac10702-86d4da7f", "type": "main", "index": 0 } ] ] }, "bd713892-356b-4a9c-b076-000bd4f1f1ba": { "main": [ [ { "node": "error-handler-bd713892-356b-4a9c-b076-000bd4f1f1ba-df13d8bf", "type": "main", "index": 0 } ] ] } }, "name": "Manualtrigger Workflow", "settings": { "executionOrder": "v1", "saveManualExecutions": true, "callerPolicy": "workflowsFromSameOwner", "errorWorkflow": null, "timezone": "UTC", "executionTimeout": 3600, "maxExecutions": 1000, "retryOnFail": true, "retryCount": 3, "retryDelay": 1000 }, "description": "Automated workflow: Manualtrigger Workflow. This workflow integrates 13 different services: stickyNote, httpRequest, textSplitterRecursiveCharacterTextSplitter, splitOut, merge. It contains 21 nodes and follows best practices for error handling and security.", "tags": [ "automation", "n8n", "production-ready", "excellent", "optimized" ], "notes": "Excellent quality workflow: Manualtrigger Workflow. This workflow has been optimized for production use with comprehensive error handling, security, and documentation." }