Auto backup (2022-06-09T21:00:39.648Z)
This commit is contained in:
260
flows/27.json
260
flows/27.json
@@ -9,7 +9,7 @@
|
||||
"type": "n8n-nodes-base.start",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
240,
|
||||
180,
|
||||
300
|
||||
]
|
||||
},
|
||||
@@ -33,16 +33,9 @@
|
||||
"values": [
|
||||
{
|
||||
"key": "items",
|
||||
"cssSelector": "div.css-wmzjt6",
|
||||
"cssSelector": "div.css-19ucd76",
|
||||
"returnValue": "html",
|
||||
"returnArray": true
|
||||
},
|
||||
{
|
||||
"key": "link",
|
||||
"cssSelector": "a.css-1bbgabe",
|
||||
"returnValue": "attribute",
|
||||
"attribute": "href",
|
||||
"returnArray": true
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -58,26 +51,14 @@
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "aggregateItems",
|
||||
"fieldsToAggregate": {
|
||||
"fieldToAggregate": [
|
||||
{
|
||||
"fieldToAggregate": "items"
|
||||
},
|
||||
{
|
||||
"fieldToAggregate": "link"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {
|
||||
"mergeLists": false
|
||||
}
|
||||
"fieldToSplitOut": "items",
|
||||
"options": {}
|
||||
},
|
||||
"name": "Item Lists",
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
880,
|
||||
900,
|
||||
300
|
||||
]
|
||||
},
|
||||
@@ -93,7 +74,8 @@
|
||||
{
|
||||
"key": "link",
|
||||
"cssSelector": "a.css-1bbgabe",
|
||||
"returnValue": "html"
|
||||
"returnValue": "attribute",
|
||||
"attribute": "href"
|
||||
},
|
||||
{
|
||||
"key": "image",
|
||||
@@ -101,10 +83,6 @@
|
||||
"returnValue": "attribute",
|
||||
"attribute": "src"
|
||||
},
|
||||
{
|
||||
"key": "price",
|
||||
"cssSelector": ".css-l0108r-Text"
|
||||
},
|
||||
{
|
||||
"key": "date",
|
||||
"cssSelector": "p.css-p6wsjo-Text.eu5v0x0"
|
||||
@@ -117,8 +95,8 @@
|
||||
"type": "n8n-nodes-base.htmlExtract",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1160,
|
||||
120
|
||||
1140,
|
||||
300
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -187,7 +165,9 @@
|
||||
"triggerTimes": {
|
||||
"item": [
|
||||
{
|
||||
"hour": 20
|
||||
"mode": "everyX",
|
||||
"value": 15,
|
||||
"unit": "minutes"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -208,8 +188,8 @@
|
||||
"type": "n8n-nodes-base.function",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
880,
|
||||
100
|
||||
1760,
|
||||
300
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -217,10 +197,8 @@
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"value": "={{undefined}} {{$node[\"HTML Extract\"].json[\"items\"][0]}}"
|
||||
},
|
||||
{
|
||||
"value": "={{undefined}} {{undefined}}"
|
||||
"name": "link",
|
||||
"value": "=https://olx.ua{{$json[\"link\"]}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -230,9 +208,69 @@
|
||||
"type": "n8n-nodes-base.set",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1100,
|
||||
1560,
|
||||
300
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"string": [
|
||||
{
|
||||
"value1": "={{$json[\"title\"]}}",
|
||||
"operation": "isNotEmpty"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "IF",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1340,
|
||||
300
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "create",
|
||||
"docId": "d61nLm6Fn99jwqxd6hdT9d",
|
||||
"tableId": "Ps4_games_ch",
|
||||
"dataToSend": "autoMapInputs"
|
||||
},
|
||||
"name": "Grist",
|
||||
"type": "n8n-nodes-base.grist",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1760,
|
||||
540
|
||||
],
|
||||
"credentials": {
|
||||
"gristApi": {
|
||||
"id": "21",
|
||||
"name": "Grist account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"chatId": "1684481",
|
||||
"text": "={{$json[\"title\"]}}\n{{$json[\"date\"]}}\n{{$json[\"link\"]}}",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"name": "Telegram",
|
||||
"type": "n8n-nodes-base.telegram",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1980,
|
||||
300
|
||||
],
|
||||
"credentials": {
|
||||
"telegramApi": {
|
||||
"id": "31",
|
||||
"name": "Telegram account"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
@@ -273,7 +311,7 @@
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set",
|
||||
"node": "HTML Extract1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
@@ -302,21 +340,65 @@
|
||||
]
|
||||
]
|
||||
},
|
||||
"Cron2": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTML Extract1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "IF",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"IF": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Only new": {
|
||||
"main": [
|
||||
[]
|
||||
]
|
||||
},
|
||||
"Cron2": {
|
||||
"Set": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "ProductHunt RSS Fintech",
|
||||
"node": "Only new1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Grist": {
|
||||
"main": [
|
||||
[]
|
||||
]
|
||||
},
|
||||
"Only new1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request",
|
||||
"node": "Telegram",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
@@ -325,7 +407,93 @@
|
||||
}
|
||||
},
|
||||
"createdAt": "2022-05-27T16:18:47.443Z",
|
||||
"updatedAt": "2022-06-02T12:15:56.043Z",
|
||||
"updatedAt": "2022-06-09T09:46:18.718Z",
|
||||
"settings": {},
|
||||
"staticData": null
|
||||
"staticData": {
|
||||
"global": {
|
||||
"oldRSSIds": [
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null
|
||||
]
|
||||
}
|
||||
},
|
||||
"tags": []
|
||||
}
|
||||
Reference in New Issue
Block a user