n8n-workflows/workflows/1471_workflow_1471.json
2025-05-14 11:58:29 +03:00

179 lines
3.2 KiB
JSON

{
"nodes": [
{
"name": "HTTP Request",
"type": "n8n-nodes-base.httpRequest",
"position": [
520,
440
],
"parameters": {
"url": "https://news.ycombinator.com/",
"options": {},
"responseFormat": "string"
},
"typeVersion": 1
},
{
"name": "Wait",
"type": "n8n-nodes-base.wait",
"position": [
680,
440
],
"webhookId": "e5f84b2f-2568-4f5b-a72b-ed54838c768b",
"parameters": {
"unit": "minutes",
"amount": 5
},
"typeVersion": 1
},
{
"name": "HTTP Request1",
"type": "n8n-nodes-base.httpRequest",
"position": [
880,
440
],
"parameters": {
"url": "https://news.ycombinator.com/",
"options": {},
"responseFormat": "string"
},
"typeVersion": 1
},
{
"name": "IF",
"type": "n8n-nodes-base.if",
"position": [
1100,
440
],
"parameters": {
"conditions": {
"boolean": [
{
"value1": "={{$node[\"HTTP Request\"].json[\"data\"]}} {{$node[\"HTTP Request\"].json[\"data\"]}}",
"value2": "="
}
]
}
},
"typeVersion": 1
},
{
"name": "Cron",
"type": "n8n-nodes-base.cron",
"position": [
320,
440
],
"parameters": {
"triggerTimes": {
"item": [
{
"mode": "everyX",
"unit": "minutes",
"value": 5
}
]
}
},
"typeVersion": 1
},
{
"name": "Telegram1",
"type": "n8n-nodes-base.telegram",
"position": [
1320,
520
],
"parameters": {
"text": "Something got changed",
"chatId": "1234",
"additionalFields": {}
},
"credentials": {
"telegramApi": {
"id": "4",
"name": "n8n test bot"
}
},
"typeVersion": 1
},
{
"name": "NoOp",
"type": "n8n-nodes-base.noOp",
"position": [
1320,
320
],
"parameters": {},
"typeVersion": 1
}
],
"connections": {
"IF": {
"main": [
[
{
"node": "NoOp",
"type": "main",
"index": 0
}
],
[
{
"node": "Telegram1",
"type": "main",
"index": 0
}
]
]
},
"Cron": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
},
"Wait": {
"main": [
[
{
"node": "HTTP Request1",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "Wait",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request1": {
"main": [
[
{
"node": "IF",
"type": "main",
"index": 0
}
]
]
}
}
}