Auto backup (2022-06-08T21:00:42.153Z)

This commit is contained in:
nia
2022-06-08 21:00:42 +00:00
parent 45beaaacf2
commit 68bc9340f4
5 changed files with 433 additions and 12 deletions

View File

@@ -138,7 +138,16 @@
"docId": "i36zpc5tp8GAXXUmyymCjS",
"tableId": "Price",
"returnAll": true,
"additionalOptions": {}
"additionalOptions": {
"filter": {
"filterProperties": [
{
"field": "name",
"values": "xbox series x"
}
]
}
}
},
"name": "Grist1",
"type": "n8n-nodes-base.grist",
@@ -214,8 +223,8 @@
"type": "n8n-nodes-base.cron",
"typeVersion": 1,
"position": [
40,
320
-60,
640
]
},
{
@@ -297,6 +306,294 @@
1020,
620
]
},
{
"parameters": {
"url": "https://up2date.com.ua/sony-playstation-5-white-1tb.html",
"responseFormat": "string",
"options": {}
},
"name": "HTTP Request2",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 1,
"position": [
280,
840
]
},
{
"parameters": {
"amount": 3,
"unit": "seconds"
},
"name": "Wait1",
"type": "n8n-nodes-base.wait",
"typeVersion": 1,
"position": [
660,
980
],
"webhookId": "cbd8e377-6ce4-4679-991f-ceb3ce421870"
},
{
"parameters": {
"operation": "update",
"docId": "i36zpc5tp8GAXXUmyymCjS",
"tableId": "Price",
"rowId": "2",
"fieldsToSend": {
"properties": [
{
"fieldId": "name",
"fieldValue": "ps5 up2date"
},
{
"fieldId": "price",
"fieldValue": "={{$json[\"Price\"]}}"
}
]
}
},
"name": "Grist2",
"type": "n8n-nodes-base.grist",
"typeVersion": 1,
"position": [
880,
980
],
"credentials": {
"gristApi": {
"id": "21",
"name": "Grist account"
}
}
},
{
"parameters": {
"docId": "i36zpc5tp8GAXXUmyymCjS",
"tableId": "Price",
"returnAll": true,
"additionalOptions": {
"filter": {
"filterProperties": [
{
"field": "name",
"values": "ps5 up2date"
}
]
}
}
},
"name": "Grist3",
"type": "n8n-nodes-base.grist",
"typeVersion": 1,
"position": [
660,
840
],
"credentials": {
"gristApi": {
"id": "21",
"name": "Grist account"
}
}
},
{
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$json[\"price\"]}}",
"operation": "notEqual",
"value2": "={{$node[\"up2date ps5\"].json[\"Price\"]}}"
}
]
}
},
"name": "IF1",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
880,
840
]
},
{
"parameters": {
"extractionValues": {
"values": [
{
"key": "Price",
"cssSelector": "div.product-page-price"
}
]
},
"options": {}
},
"name": "up2date ps5",
"type": "n8n-nodes-base.htmlExtract",
"typeVersion": 1,
"position": [
460,
840
]
},
{
"parameters": {
"title": "hotline",
"body": "=Цена на PS5 на up2date: {{$node[\"up2date ps5\"].json[\"Price\"]}}"
},
"name": "Pushbullet1",
"type": "n8n-nodes-base.pushbullet",
"typeVersion": 1,
"position": [
1180,
840
],
"credentials": {
"pushbulletOAuth2Api": {
"id": "10",
"name": "Pushbullet account"
}
}
},
{
"parameters": {
"url": "https://up2date.com.ua/microsoft-xbox-series-x-1tb.html",
"responseFormat": "string",
"options": {}
},
"name": "HTTP Request3",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 1,
"position": [
280,
1220
]
},
{
"parameters": {
"extractionValues": {
"values": [
{
"key": "Price",
"cssSelector": "div.product-page-price"
}
]
},
"options": {}
},
"name": "up2date Xbox Series X",
"type": "n8n-nodes-base.htmlExtract",
"typeVersion": 1,
"position": [
460,
1220
]
},
{
"parameters": {
"operation": "update",
"docId": "i36zpc5tp8GAXXUmyymCjS",
"tableId": "Price",
"rowId": "3",
"fieldsToSend": {
"properties": [
{
"fieldId": "name",
"fieldValue": "xbox up2date"
},
{
"fieldId": "price",
"fieldValue": "={{$json[\"Price\"]}}"
}
]
}
},
"name": "Grist5",
"type": "n8n-nodes-base.grist",
"typeVersion": 1,
"position": [
660,
1380
],
"credentials": {
"gristApi": {
"id": "21",
"name": "Grist account"
}
}
},
{
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$json[\"price\"]}}",
"operation": "notEqual",
"value2": "={{$node[\"up2date Xbox Series X\"].json[\"Price\"]}}"
}
]
}
},
"name": "IF2",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
880,
1220
]
},
{
"parameters": {
"docId": "i36zpc5tp8GAXXUmyymCjS",
"tableId": "Price",
"returnAll": true,
"additionalOptions": {
"filter": {
"filterProperties": [
{
"field": "name",
"values": "xbox up2date"
}
]
}
}
},
"name": "xbox price up2date old",
"type": "n8n-nodes-base.grist",
"typeVersion": 1,
"position": [
660,
1220
],
"credentials": {
"gristApi": {
"id": "21",
"name": "Grist account"
}
}
},
{
"parameters": {
"type": "link",
"title": "up2date",
"body": "=Цена на XBOX на up2date: {{$node[\"up2date Xbox Series X\"].json[\"Price\"]}}",
"url": "https://up2date.com.ua/microsoft-xbox-series-x-1tb.html"
},
"name": "Pushbullet2",
"type": "n8n-nodes-base.pushbullet",
"typeVersion": 1,
"position": [
1180,
1220
],
"credentials": {
"pushbulletOAuth2Api": {
"id": "10",
"name": "Pushbullet account"
}
}
}
],
"connections": {
@@ -405,6 +702,16 @@
"node": "HTTP Request1",
"type": "main",
"index": 0
},
{
"node": "HTTP Request2",
"type": "main",
"index": 0
},
{
"node": "HTTP Request3",
"type": "main",
"index": 0
}
]
]
@@ -452,10 +759,124 @@
}
]
]
},
"HTTP Request2": {
"main": [
[
{
"node": "up2date ps5",
"type": "main",
"index": 0
}
]
]
},
"Wait1": {
"main": [
[
{
"node": "Grist2",
"type": "main",
"index": 0
}
]
]
},
"Grist3": {
"main": [
[
{
"node": "IF1",
"type": "main",
"index": 0
}
]
]
},
"up2date ps5": {
"main": [
[
{
"node": "Wait1",
"type": "main",
"index": 0
},
{
"node": "Grist3",
"type": "main",
"index": 0
}
]
]
},
"IF1": {
"main": [
[
{
"node": "Pushbullet1",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request3": {
"main": [
[
{
"node": "up2date Xbox Series X",
"type": "main",
"index": 0
}
]
]
},
"up2date Xbox Series X": {
"main": [
[
{
"node": "xbox price up2date old",
"type": "main",
"index": 0
},
{
"node": "Grist5",
"type": "main",
"index": 0
}
]
]
},
"Grist5": {
"main": [
[]
]
},
"xbox price up2date old": {
"main": [
[
{
"node": "IF2",
"type": "main",
"index": 0
}
]
]
},
"IF2": {
"main": [
[
{
"node": "Pushbullet2",
"type": "main",
"index": 0
}
]
]
}
},
"createdAt": "2022-04-25T10:23:57.085Z",
"updatedAt": "2022-06-01T05:25:12.703Z",
"updatedAt": "2022-06-08T07:27:40.787Z",
"settings": {},
"staticData": null
}