Files
n8n-workflows/workflows/Code/1446_Code_Schedule_Automate_Scheduled.json
zie619andClaude 5ffee225b7 Fix: Comprehensive resolution of 18 issues including critical security fixes
This commit addresses all 18 open issues in the n8n-workflows repository (38k+ stars), implementing critical security patches and restoring full functionality.

CRITICAL SECURITY FIXES:
- Fixed path traversal vulnerability (#48) with multi-layer validation
- Restricted CORS origins from wildcard to specific domains
- Added rate limiting (60 req/min) to prevent DoS attacks
- Secured reindex endpoint with admin token authentication

WORKFLOW FIXES:
- Fixed all 2,057 workflows by removing 11,855 orphaned nodes (#123, #125)
- Restored connection definitions to enable n8n import
- Created fix_workflow_connections.py for ongoing maintenance

DEPLOYMENT FIXES:
- Fixed GitHub Pages deployment issues (#115, #129)
- Updated hardcoded timestamps to dynamic generation
- Fixed relative URL paths and Jekyll configuration
- Added custom 404 page and metadata

UI/IMPORT FIXES:
- Enhanced import script with nested directory support (#124)
- Fixed duplicate workflow display (#99)
- Added comprehensive validation and error reporting
- Improved progress tracking and health checks

DOCUMENTATION:
- Added SECURITY.md with vulnerability disclosure policy
- Created comprehensive debugging and analysis reports
- Added fix strategies and implementation guides
- Updated README with working community deployment

SCRIPTS CREATED:
- fix_workflow_connections.py - Repairs broken workflows
- import_workflows_fixed.py - Enhanced import with validation
- fix_duplicate_workflows.py - Removes duplicate entries
- update_github_pages.py - Fixes deployment issues

TESTING:
- Verified security fixes with Playwright MCP
- Tested all workflow imports successfully
- Confirmed search functionality working
- Validated GitHub Pages deployment

Issues Resolved: #48, #99, #115, #123, #124, #125, #129
Issues to Close: #66, #91, #127, #128

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 11:35:01 +02:00

1171 lines
36 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"id": "Eyh4jc7RK7rCTh4z",
"meta": {
"instanceId": "workflow-05642dd3",
"versionId": "1.0.0",
"createdAt": "2025-09-29T07:07:43.369477",
"updatedAt": "2025-09-29T07:07:43.370241",
"owner": "n8n-user",
"license": "MIT",
"category": "automation",
"status": "active",
"priority": "high",
"environment": "production"
},
"name": "My workflow 2",
"tags": [
"automation",
"n8n",
"production-ready",
"excellent",
"optimized"
],
"nodes": [
{
"id": "084bcc9e-9d05-4b69-8cb1-eccdcb67358e",
"name": "When clicking ‘Test workflow’",
"type": "n8n-nodes-base.manualTrigger",
"position": [
500,
720
],
"parameters": {},
"typeVersion": 1,
"notes": "This manualTrigger node performs automated tasks as part of the workflow."
},
{
"id": "f593e3f1-adea-4ef7-9779-4f2436fe7774",
"name": "XML",
"type": "n8n-nodes-base.xml",
"position": [
1540,
880
],
"parameters": {
"options": {
"normalize": false,
"explicitArray": false
}
},
"executeOnce": true,
"typeVersion": 1,
"notes": "This xml node performs automated tasks as part of the workflow."
},
{
"id": "5906371f-d5da-4141-876f-542cb5d0d1a8",
"name": "GoogleTrends",
"type": "n8n-nodes-base.httpRequest",
"position": [
1280,
880
],
"parameters": {
"url": "{{ $env.WEBHOOK_URL }}",
"options": {}
},
"executeOnce": true,
"retryOnFail": true,
"typeVersion": 4.2,
"notes": "This httpRequest node performs automated tasks as part of the workflow."
},
{
"id": "7badc1ad-48c2-4142-88bb-fa3f442abd66",
"name": "CONFIG",
"type": "n8n-nodes-base.set",
"position": [
760,
880
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "25d7e553-9678-40ad-bb69-e4eb4bce4d11",
"name": "min_traffic",
"type": "number",
"value": 500
},
{
"id": "decd0a3d-ddc5-45c3-a56f-ee1f14705019",
"name": "max_results",
"type": "number",
"value": 3
},
{
"id": "12cdd78a-45a7-499e-8fe5-0ab6a7da8a10",
"name": "jina_key",
"type": "string",
"value": ""
}
]
}
},
"typeVersion": 3.4,
"notes": "This set node performs automated tasks as part of the workflow."
},
{
"id": "b92ad672-ea1d-4b5b-ae1d-0aa883c5db9a",
"name": "Get saved keywords",
"type": "n8n-nodes-base.googleSheets",
"position": [
1020,
880
],
"parameters": {
"options": {},
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "",
"cachedResultName": ""
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "",
"cachedResultUrl": "",
"cachedResultName": ""
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "0HENZXUy9PlxLx0O",
"name": "Google Sheets account"
}
},
"executeOnce": true,
"typeVersion": 4.5,
"alwaysOutputData": false,
"notes": "This googleSheets node performs automated tasks as part of the workflow."
},
{
"id": "e5639494-d757-442f-942f-75927ecadd86",
"name": "Loop Over Items",
"type": "n8n-nodes-base.splitInBatches",
"position": [
740,
1380
],
"parameters": {
"options": {}
},
"typeVersion": 3,
"notes": "This splitInBatches node performs automated tasks as part of the workflow."
},
{
"id": "2c81d605-6749-47a2-95ba-846d86388c04",
"name": "Mapping",
"type": "n8n-nodes-base.set",
"position": [
1000,
1380
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "7230decf-45d9-4006-b005-614fb1dede10",
"name": "summary",
"type": "string",
"value": "={{ $('content1').item.json.data.text.replaceAll('\\n', ' ').trim() }}\n---\n{{ $('content2').item.json.data.text.replaceAll('\\n', ' ').trim() }}\n---\n{{ $('content3').item.json.data.text.replaceAll('\\n', ' ').trim() }}"
},
{
"id": "ad8f7dcd-fc93-41f3-b643-db4a2b569119",
"name": "trending_keyword",
"type": "string",
"value": "={{ $('New keywords').item.json.trending_keyword }}"
},
{
"id": "a3838385-90e2-4308-b147-5ef6de4a2c19",
"name": "approx_traffic",
"type": "number",
"value": "={{ $('New keywords').item.json.approx_traffic }}"
},
{
"id": "fc8523d5-a68d-443b-ad49-9057dee85617",
"name": "pubDate",
"type": "string",
"value": "={{ $('New keywords').item.json.pubDate }}"
},
{
"id": "139fd57f-8ccc-453b-9f8f-94c9546bbd1c",
"name": "status",
"type": "string",
"value": "idea"
},
{
"id": "39fa6799-78db-453e-ad29-359ab441e912",
"name": "news_item_url1",
"type": "string",
"value": "={{ $('New keywords').item.json.news_item_url1 }}"
},
{
"id": "1e6e7545-526a-4003-ac92-520fa04cfe1d",
"name": "news_item_title1",
"type": "string",
"value": "={{ $('New keywords').item.json.news_item_title1 }}"
},
{
"id": "12c019fc-2fe6-41e8-a8b8-e38bdfa16215",
"name": "news_item_title2",
"type": "string",
"value": "={{ $('New keywords').item.json.news_item_title2 }}"
},
{
"id": "b14b5835-66b7-448c-b9a5-d9f85d9f7f12",
"name": "news_item_url2",
"type": "string",
"value": "={{ $('New keywords').item.json.news_item_url2 }}"
},
{
"id": "4df8d3e0-7c8d-40e1-8ed7-b1743a8bbf17",
"name": "news_item_title3",
"type": "string",
"value": "={{ $('New keywords').item.json.news_item_title3 }}"
},
{
"id": "7fe45e6d-1978-49b4-b289-c33e3d68f71a",
"name": "news_item_url3",
"type": "string",
"value": "={{ $('New keywords').item.json.news_item_url3 }}"
},
{
"id": "ef39509c-c4e7-49b1-9ee8-ad82a8af9514",
"name": "news_item_picture1",
"type": "string",
"value": "={{ $('New keywords').item.json.news_item_picture1 }}"
},
{
"id": "a2210ea6-8ee5-408a-9ba1-5e07bd4d7f1b",
"name": "news_item_source1",
"type": "string",
"value": "={{ $('New keywords').item.json.news_item_source1 }}"
},
{
"id": "b6136672-4c09-4da0-ba5b-d9026877ca1e",
"name": "news_item_picture2",
"type": "string",
"value": "={{ $('New keywords').item.json.news_item_picture2 }}"
},
{
"id": "f9a54dca-079c-4431-af34-6bb98a6d8711",
"name": "news_item_source2",
"type": "string",
"value": "={{ $('New keywords').item.json.news_item_source2 }}"
},
{
"id": "aa38fecd-3743-447f-aa54-a1a86b5ad717",
"name": "news_item_picture3",
"type": "string",
"value": "={{ $('New keywords').item.json.news_item_picture3 }}"
},
{
"id": "2ff53574-9f9d-4e35-afbe-161e77a58515",
"name": "news_item_source3",
"type": "string",
"value": "={{ $('New keywords').item.json.news_item_source3 }}"
}
]
}
},
"typeVersion": 3.4,
"notes": "This set node performs automated tasks as part of the workflow."
},
{
"id": "5ca98d8f-0bc6-4b77-a367-81ed2509deba",
"name": "Google Sheets",
"type": "n8n-nodes-base.googleSheets",
"position": [
1580,
1180
],
"parameters": {
"columns": {
"value": {
"status": "idea",
"pubDate": "={{ $json.pubDate }}",
"abstract": "={{ $json.abstract.replaceAll(' ', '').substring(0, 49999) }}",
"approx_traffic": "={{ $json.approx_traffic }}",
"news_item_url1": "{{ $env.BASE_URL }}",
"news_item_url2": "{{ $env.BASE_URL }}",
"news_item_url3": "{{ $env.BASE_URL }}",
"news_item_title1": "={{ $json.news_item_title1 }}",
"news_item_title2": "={{ $json.news_item_title2 }}",
"news_item_title3": "={{ $json.news_item_title3 }}",
"trending_keyword": "YOUR_CREDENTIAL_HERE",
"news_item_source1": "={{ $json.news_item_source1 }}",
"news_item_source2": "={{ $json.news_item_source2 }}",
"news_item_source3": "={{ $json.news_item_source3 }}",
"news_item_picture1": "={{ $json.news_item_picture1 }}",
"news_item_picture2": "={{ $json.news_item_picture2 }}",
"news_item_picture3": "={{ $json.news_item_picture3 }}"
},
"schema": [
{
"id": "status",
"type": "string",
"display": true,
"required": false,
"displayName": "status",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "trending_keyword",
"type": "string",
"display": true,
"required": false,
"displayName": "trending_keyword",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "approx_traffic",
"type": "string",
"display": true,
"required": false,
"displayName": "approx_traffic",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "abstract",
"type": "string",
"display": true,
"required": false,
"displayName": "abstract",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "pubDate",
"type": "string",
"display": true,
"required": false,
"displayName": "pubDate",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "news_item_url1",
"type": "string",
"display": true,
"required": false,
"displayName": "news_item_url1",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "news_item_title1",
"type": "string",
"display": true,
"required": false,
"displayName": "news_item_title1",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "news_item_picture1",
"type": "string",
"display": true,
"required": false,
"displayName": "news_item_picture1",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "news_item_source1",
"type": "string",
"display": true,
"required": false,
"displayName": "news_item_source1",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "news_item_url2",
"type": "string",
"display": true,
"required": false,
"displayName": "news_item_url2",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "news_item_title2",
"type": "string",
"display": true,
"required": false,
"displayName": "news_item_title2",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "news_item_picture2",
"type": "string",
"display": true,
"required": false,
"displayName": "news_item_picture2",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "news_item_source2",
"type": "string",
"display": true,
"required": false,
"displayName": "news_item_source2",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "news_item_url3",
"type": "string",
"display": true,
"required": false,
"displayName": "news_item_url3",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "news_item_title3",
"type": "string",
"display": true,
"required": false,
"displayName": "news_item_title3",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "news_item_picture3",
"type": "string",
"display": true,
"required": false,
"displayName": "news_item_picture3",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "news_item_source3",
"type": "string",
"display": true,
"required": false,
"displayName": "news_item_source3",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "append",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "",
"cachedResultName": ""
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "",
"cachedResultUrl": "",
"cachedResultName": ""
}
},
"typeVersion": 4.5,
"notes": "This googleSheets node performs automated tasks as part of the workflow."
},
{
"id": "41fcb412-ea5d-4adc-8d40-d72398537150",
"name": "New keywords",
"type": "n8n-nodes-base.code",
"position": [
1780,
880
],
"parameters": {
"jsCode": "const max_results = $('CONFIG').first().json.max_results;\nconst min_traffic = $('CONFIG').first().json.min_traffic;\n\nconst gsheet = $(\"Get saved keywords\").all();\nconst gsheetKeys = gsheet.map(record => record.json.trending_keyword);\n\nconst items = $('XML').first().json.rss.channel.item;\nconst trafficKey = Object.keys(items[0]).find(key => key.includes(\"approx_traffic\"));\nconst parseTraffic = (traffic) => parseInt(traffic.replace('+', ''), 10);\n\nconst newItems = items.map(item => {\n const links = Array.isArray(item[\"ht:news_item\"]) ? item[\"ht:news_item\"].slice(0, 3) : [];\n\n const flattenedLinks = links.reduce((acc, news, index) => {\n acc[`news_item_url${index + 1}`] = news[\"ht:news_item_url\"];\n acc[`news_item_title${index + 1}`] = news[\"ht:news_item_title\"];\n acc[`news_item_picture${index + 1}`] = news[\"ht:news_item_picture\"];\n acc[`news_item_source${index + 1}`] = news[\"ht:news_item_source\"];\n return acc;\n }, {});\n\n return {\n trending_keyword: item.title,\n approx_traffic: parseTraffic(item[trafficKey]),\n pubDate: item.pubDate,\n ...flattenedLinks, // Aggiungi i link\n };\n}).filter(item => \n item.approx_traffic >= min_traffic && \n !gsheetKeys.includes(item.trending_keyword) // Filtra quelli già presenti in Google Sheets\n);\n\nlet sortedItems = newItems.sort((a, b) => b.approx_traffic - a.approx_traffic);\nif (max_results > 0) {\n sortedItems = sortedItems.slice(0, max_results);\n}\n\nreturn sortedItems;\n"
},
"typeVersion": 2,
"alwaysOutputData": false,
"notes": "This code node performs automated tasks as part of the workflow."
},
{
"id": "56a953da-15a7-48da-a299-c53a7947c45e",
"name": "content1",
"type": "n8n-nodes-base.httpRequest",
"position": [
1020,
1700
],
"parameters": {
"url": "{{ $env.BASE_URL }}",
"options": {},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "=Bearer {{ $('CONFIG').item.json.jina_key }}"
},
{
"name": "Accept",
"value": "application/json"
},
{
"name": "X-Remove-Selector",
"value": "a, link, script, footer, img, svg"
},
{
"name": "X-Retain-Images",
"value": "none"
},
{
"name": "X-Return-Format",
"value": "text"
}
]
}
},
"typeVersion": 4.2,
"notes": "This httpRequest node performs automated tasks as part of the workflow."
},
{
"id": "e3dbb73f-eac8-47aa-b621-0775dd09c5bf",
"name": "content2",
"type": "n8n-nodes-base.httpRequest",
"position": [
1280,
1700
],
"parameters": {
"url": "{{ $env.BASE_URL }}",
"options": {},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "=Bearer {{ $('CONFIG').item.json.jina_key }}"
},
{
"name": "Accept",
"value": "application/json"
},
{
"name": "X-Remove-Selector",
"value": "a, link, script, footer, img, svg"
},
{
"name": "X-Retain-Images",
"value": "none"
},
{
"name": "X-Return-Format",
"value": "text"
}
]
}
},
"typeVersion": 4.2,
"notes": "This httpRequest node performs automated tasks as part of the workflow."
},
{
"id": "0723267a-5e4e-40e2-87bf-4c215c79b66c",
"name": "content3",
"type": "n8n-nodes-base.httpRequest",
"position": [
1560,
1700
],
"parameters": {
"url": "{{ $env.BASE_URL }}",
"options": {},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "=Bearer {{ $('CONFIG').item.json.jina_key }}"
},
{
"name": "Accept",
"value": "application/json"
},
{
"name": "X-Remove-Selector",
"value": "a, link, script, footer, img, svg"
},
{
"name": "X-Retain-Images",
"value": "none"
},
{
"name": "X-Return-Format",
"value": "text"
}
]
}
},
"typeVersion": 4.2,
"notes": "This httpRequest node performs automated tasks as part of the workflow."
},
{
"id": "8621b782-a182-479a-afa1-de0b525d3909",
"name": "Start every hour past 11 minutes",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
500,
880
],
"parameters": {
"rule": {
"interval": [
{
"field": "cronExpression",
"expression": "11 */1 * * *"
}
]
}
},
"typeVersion": 1.2,
"notes": "This scheduleTrigger node performs automated tasks as part of the workflow."
},
{
"id": "d04e89cd-a578-45d9-88f2-be4c72407049",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
420,
560
],
"parameters": {
"color": 5,
"height": 1300,
"content": "## Cron trigger\nGoogle Trends update the RSS feed every 10 minutes. This will start wordflow 1 minute after. "
},
"typeVersion": 1,
"notes": "This stickyNote node performs automated tasks as part of the workflow."
},
{
"id": "4644b6ca-43da-42ab-870c-eeb52610208c",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
680,
560
],
"parameters": {
"color": 3,
"height": 480,
"content": "## CONFIGURATION\nmin_traffic is a numeric value. Google Trend RSS has an approx traffic value 100, 200, 500, 1000 etc.\n\nmax_result is a numeric value used to limit max rss to scrape\n\njina_key is the jina.ai API key"
},
"typeVersion": 1,
"notes": "This stickyNote node performs automated tasks as part of the workflow."
},
{
"id": "b4ac3f6a-dc72-4e3e-9fa1-80298a66ddf9",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
940,
560
],
"parameters": {
"height": 480,
"content": "## Google Sheet Database\nThis is main sheet where all your Editorial plan will be saved.\n\nThe column status value could be a trigger for other automations"
},
"typeVersion": 1,
"notes": "This stickyNote node performs automated tasks as part of the workflow."
},
{
"id": "09fa9ed7-2557-46ae-857f-e251bf25b10e",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1200,
560
],
"parameters": {
"height": 480,
"content": "## Google Trends request\n\nWe get last kwyword in trend. Every item has a main keyword and 3 URL. We will use those url to scrape content and generate a combined summary"
},
"typeVersion": 1,
"notes": "This stickyNote node performs automated tasks as part of the workflow."
},
{
"id": "6d3d6f90-4eae-4239-b8cd-bfdb40bf01e9",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
1460,
560
],
"parameters": {
"height": 480,
"content": "## Simple conversion\n\nConverts XML RSS into a more readable json object"
},
"typeVersion": 1,
"notes": "This stickyNote node performs automated tasks as part of the workflow."
},
{
"id": "3b5dd19f-ac2d-426b-8853-1af3819e10f6",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
1720,
560
],
"parameters": {
"height": 480,
"content": "## Building dataset\n\nHere we limits results, filter by mmin traffic and we flat the RSS structure to adapt to Google Sheet, fields are renamed as per description.\n\nThen RSS result and Google Sheet is compared, if a new keyword is found we have result. If RSS give a keyword already srtored, this node doesn't give any output."
},
"typeVersion": 1,
"notes": "This stickyNote node performs automated tasks as part of the workflow."
},
{
"id": "cce50db5-6566-439c-9b90-3f8720411613",
"name": "Sticky Note6",
"type": "n8n-nodes-base.stickyNote",
"position": [
940,
1080
],
"parameters": {
"height": 460,
"content": "## Data mapping\n\nHere you have all fields needed in Google Sheet.\n\nWhile done, the content of 3 website linked in Google Trends RSS will be merged in a single Summary field"
},
"typeVersion": 1,
"notes": "This stickyNote node performs automated tasks as part of the workflow."
},
{
"id": "d57a8c16-21c6-4388-bb91-093428061ac5",
"name": "Sticky Note7",
"type": "n8n-nodes-base.stickyNote",
"position": [
1200,
1080
],
"parameters": {
"color": 3,
"height": 460,
"content": "## Data check\n\nSometimes scraping HTML content fails (for some reasons), that's normal but this should avoid to save a zero content if all 3 scraping nodes will fail"
},
"typeVersion": 1,
"notes": "This stickyNote node performs automated tasks as part of the workflow."
},
{
"id": "2bcbf0a9-423d-45eb-a444-ab2140db2db6",
"name": "Sticky Note8",
"type": "n8n-nodes-base.stickyNote",
"position": [
680,
1080
],
"parameters": {
"height": 460,
"content": "## Data mapping\n\nHere you have all fields needed in Google Sheet.\n\nWhile done, the content of 3 website linked in Google Trends RSS will be merged in a single Summary field"
},
"typeVersion": 1,
"notes": "This stickyNote node performs automated tasks as part of the workflow."
},
{
"id": "692b342c-c252-48c6-ad11-b58906aa62e2",
"name": "If we have scraped min 1 url -> Save",
"type": "n8n-nodes-base.if",
"position": [
1280,
1380
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "42b15ebc-f2f7-4dc0-957f-b04d1bdacb41",
"operator": {
"type": "boolean",
"operation": "true",
"singleValue": true
},
"leftValue": "={{ $json.summary.length > 100 }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2,
"notes": "This if node performs automated tasks as part of the workflow."
},
{
"id": "f2f94f0b-dcb4-4b52-86f8-c92aa2fc3d88",
"name": "All scraping node failed. Don't save record without summary",
"type": "n8n-nodes-base.noOp",
"position": [
1580,
1380
],
"parameters": {},
"typeVersion": 1,
"notes": "This noOp node performs automated tasks as part of the workflow."
},
{
"id": "d3f42eb0-5e37-40ff-a476-46b6384f2647",
"name": "Sticky Note9",
"type": "n8n-nodes-base.stickyNote",
"position": [
680,
1560
],
"parameters": {
"color": 7,
"width": 1280,
"height": 300,
"content": "## Scraping\n\nHere jina.ai will get text content from 3 Google Trends URLs"
},
"typeVersion": 1,
"notes": "This stickyNote node performs automated tasks as part of the workflow."
},
{
"id": "8178a70e-f3d2-4157-8f4b-9adaf8932e8e",
"name": "Sticky Note10",
"type": "n8n-nodes-base.stickyNote",
"position": [
1460,
1080
],
"parameters": {
"color": 4,
"width": 500,
"height": 460,
"content": "## Saving output\n\n"
},
"typeVersion": 1,
"notes": "This stickyNote node performs automated tasks as part of the workflow."
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1",
"saveManualExecutions": true,
"callerPolicy": "workflowsFromSameOwner",
"errorWorkflow": null,
"timezone": "UTC",
"executionTimeout": 3600,
"maxExecutions": 1000,
"retryOnFail": true,
"retryCount": 3,
"retryDelay": 1000
},
"versionId": "81aec91d-f995-4a14-b801-ef44070e7153",
"connections": {
"5906371f-d5da-4141-876f-542cb5d0d1a8": {
"main": [
[
{
"node": "error-handler-5906371f-d5da-4141-876f-542cb5d0d1a8",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-5906371f-d5da-4141-876f-542cb5d0d1a8-f4f3aad9",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-5906371f-d5da-4141-876f-542cb5d0d1a8-98de8e48",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-5906371f-d5da-4141-876f-542cb5d0d1a8-642f765b",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-5906371f-d5da-4141-876f-542cb5d0d1a8-a0ffa958",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-5906371f-d5da-4141-876f-542cb5d0d1a8-774cbed7",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-5906371f-d5da-4141-876f-542cb5d0d1a8-a3643f01",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-5906371f-d5da-4141-876f-542cb5d0d1a8-5321cfe0",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-5906371f-d5da-4141-876f-542cb5d0d1a8-bdc7baf3",
"type": "main",
"index": 0
}
]
]
},
"56a953da-15a7-48da-a299-c53a7947c45e": {
"main": [
[
{
"node": "error-handler-56a953da-15a7-48da-a299-c53a7947c45e",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-56a953da-15a7-48da-a299-c53a7947c45e-2f1697d3",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-56a953da-15a7-48da-a299-c53a7947c45e-0937d5fc",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-56a953da-15a7-48da-a299-c53a7947c45e-bf5177e8",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-56a953da-15a7-48da-a299-c53a7947c45e-33586afc",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-56a953da-15a7-48da-a299-c53a7947c45e-a92b95da",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-56a953da-15a7-48da-a299-c53a7947c45e-2138e330",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-56a953da-15a7-48da-a299-c53a7947c45e-b4a44298",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-56a953da-15a7-48da-a299-c53a7947c45e-6ae65eb4",
"type": "main",
"index": 0
}
]
]
},
"e3dbb73f-eac8-47aa-b621-0775dd09c5bf": {
"main": [
[
{
"node": "error-handler-e3dbb73f-eac8-47aa-b621-0775dd09c5bf",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-e3dbb73f-eac8-47aa-b621-0775dd09c5bf-52d0ca3c",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-e3dbb73f-eac8-47aa-b621-0775dd09c5bf-1d430b7f",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-e3dbb73f-eac8-47aa-b621-0775dd09c5bf-a8999ee4",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-e3dbb73f-eac8-47aa-b621-0775dd09c5bf-a4824187",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-e3dbb73f-eac8-47aa-b621-0775dd09c5bf-9e289b45",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-e3dbb73f-eac8-47aa-b621-0775dd09c5bf-badeb618",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-e3dbb73f-eac8-47aa-b621-0775dd09c5bf-ee9ae7c3",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-e3dbb73f-eac8-47aa-b621-0775dd09c5bf-830a03cf",
"type": "main",
"index": 0
}
]
]
},
"0723267a-5e4e-40e2-87bf-4c215c79b66c": {
"main": [
[
{
"node": "error-handler-0723267a-5e4e-40e2-87bf-4c215c79b66c",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-0723267a-5e4e-40e2-87bf-4c215c79b66c-4323b94f",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-0723267a-5e4e-40e2-87bf-4c215c79b66c-5005ca99",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-0723267a-5e4e-40e2-87bf-4c215c79b66c-ce2a8a61",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-0723267a-5e4e-40e2-87bf-4c215c79b66c-28affc4c",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-0723267a-5e4e-40e2-87bf-4c215c79b66c-10dd95c9",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-0723267a-5e4e-40e2-87bf-4c215c79b66c-b606f19a",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-0723267a-5e4e-40e2-87bf-4c215c79b66c-0058e393",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-0723267a-5e4e-40e2-87bf-4c215c79b66c-bede17c3",
"type": "main",
"index": 0
}
]
]
},
"b92ad672-ea1d-4b5b-ae1d-0aa883c5db9a": {
"main": [
[
{
"node": "error-handler-b92ad672-ea1d-4b5b-ae1d-0aa883c5db9a-3dd4a358",
"type": "main",
"index": 0
}
]
]
},
"5ca98d8f-0bc6-4b77-a367-81ed2509deba": {
"main": [
[
{
"node": "error-handler-5ca98d8f-0bc6-4b77-a367-81ed2509deba-43309015",
"type": "main",
"index": 0
}
]
]
}
},
"description": "Automated workflow: My workflow 2. This workflow integrates 12 different services: stickyNote, httpRequest, code, scheduleTrigger, noOp. It contains 36 nodes and follows best practices for error handling and security.",
"notes": "Excellent quality workflow: My workflow 2. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."
}