Auto backup (2022-07-11T21:00:41.029Z)

This commit is contained in:
nia
2022-07-11 21:00:41 +00:00
parent b0f9e74ab9
commit 5cfc55831f
5 changed files with 766 additions and 155 deletions

View File

@@ -531,7 +531,7 @@
"number": [
{
"name": "recount",
"value": "={{30 - $json[\"count\"]}}"
"value": "={{24 - $json[\"count\"]}}"
}
]
},
@@ -606,8 +606,8 @@
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
1400,
1480
-340,
1820
],
"credentials": {
"facebookGraphApi": {
@@ -625,8 +625,8 @@
"type": "n8n-nodes-base.itemLists",
"typeVersion": 1,
"position": [
1600,
1480
-140,
1820
]
},
{
@@ -644,8 +644,8 @@
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
1800,
1480
60,
1820
]
},
{
@@ -685,8 +685,8 @@
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
2100,
1480
360,
1820
],
"credentials": {
"facebookGraphApi": {
@@ -746,20 +746,6 @@
}
}
},
{
"parameters": {
"url": "https://avtomoto25.cn.ua/wp-content/uploads/count_banner.jpg",
"responseFormat": "file",
"options": {}
},
"name": "HTTP Request5",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 1,
"position": [
1400,
900
]
},
{
"parameters": {
"resource": "file",
@@ -773,8 +759,8 @@
"type": "n8n-nodes-base.ssh",
"typeVersion": 1,
"position": [
1900,
900
2540,
840
],
"credentials": {
"sshPassword": {
@@ -786,7 +772,7 @@
{
"parameters": {
"httpRequestMethod": "POST",
"graphApiVersion": "v13.0",
"graphApiVersion": "v14.0",
"node": "={{$json[\"id\"]}}",
"edge": "photos",
"options": {
@@ -812,8 +798,8 @@
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
2700,
900
3280,
840
],
"credentials": {
"facebookGraphApi": {
@@ -833,8 +819,8 @@
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
2100,
900
2720,
840
],
"credentials": {
"facebookGraphApi": {
@@ -852,8 +838,8 @@
"type": "n8n-nodes-base.itemLists",
"typeVersion": 1,
"position": [
2280,
900
2900,
840
]
},
{
@@ -871,52 +857,8 @@
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
2480,
900
]
},
{
"parameters": {
"operation": "multiStep",
"operations": {
"operations": [
{
"operation": "text",
"text": "вул. Красносільського 59а",
"fontSize": 56,
"positionX": 550,
"positionY": 750,
"font": "/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf"
},
{
"operation": "text",
"text": "=Залишилось\nмісць",
"fontSize": 100,
"fontColor": "#FFFFFF",
"positionY": 160,
"font": "/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf"
},
{
"operation": "text",
"text": "={{$json[\"recount\"]}}!",
"fontSize": 400,
"fontColor": "#FF0000",
"positionX": 850,
"positionY": 500,
"font": "/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf"
}
]
},
"options": {
"format": "jpeg"
}
},
"name": "Edit Image",
"type": "n8n-nodes-base.editImage",
"typeVersion": 1,
"position": [
1620,
900
3080,
840
]
},
{
@@ -1092,20 +1034,6 @@
440
]
},
{
"parameters": {
"url": "https://avtomoto25.cn.ua/wp-content/uploads/count_banner.jpg",
"responseFormat": "file",
"options": {}
},
"name": "HTTP Request6",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 1,
"position": [
1400,
1100
]
},
{
"parameters": {
"resource": "file",
@@ -1119,8 +1047,8 @@
"type": "n8n-nodes-base.ssh",
"typeVersion": 1,
"position": [
1900,
1100
2560,
1300
],
"credentials": {
"sshPassword": {
@@ -1158,8 +1086,8 @@
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
2700,
1100
3300,
1300
],
"credentials": {
"facebookGraphApi": {
@@ -1179,8 +1107,8 @@
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
2100,
1100
2740,
1300
],
"credentials": {
"facebookGraphApi": {
@@ -1198,8 +1126,8 @@
"type": "n8n-nodes-base.itemLists",
"typeVersion": 1,
"position": [
2280,
1100
2920,
1300
]
},
{
@@ -1217,8 +1145,8 @@
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
2480,
1100
3100,
1300
]
},
{
@@ -1230,8 +1158,9 @@
"operation": "text",
"text": "Проспект Перемоги 39",
"fontSize": 56,
"fontColor": "#FFFFFF",
"positionX": 550,
"positionY": 750,
"positionY": 580,
"font": "/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf"
},
{
@@ -1239,16 +1168,16 @@
"text": "=Залишилось\nмісць",
"fontSize": 100,
"fontColor": "#FFFFFF",
"positionY": 160,
"positionY": 140,
"font": "/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf"
},
{
"operation": "text",
"text": "={{$json[\"recount\"]}}!",
"fontSize": 400,
"text": "={{$node[\"recount prospect\"].json[\"recount\"]}}!",
"fontSize": 300,
"fontColor": "#FF0000",
"positionX": 850,
"positionY": 500,
"positionX": 750,
"positionY": 300,
"font": "/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf"
}
]
@@ -1261,8 +1190,8 @@
"type": "n8n-nodes-base.editImage",
"typeVersion": 1,
"position": [
1620,
1100
2400,
1300
]
},
{
@@ -1281,7 +1210,7 @@
"typeVersion": 1,
"position": [
1200,
920
860
]
},
{
@@ -1299,8 +1228,8 @@
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
1180,
1160
1220,
1300
]
},
{
@@ -1326,6 +1255,299 @@
1260,
480
]
},
{
"parameters": {
"url": "={{$json[\"urls\"][\"full\"]}}",
"responseFormat": "file",
"options": {}
},
"name": "HTTP Request1",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 2,
"position": [
1640,
1300
]
},
{
"parameters": {
"url": "https://avtomoto25.cn.ua/wp-content/uploads/logo_banner.png",
"responseFormat": "file",
"dataPropertyName": "data2",
"options": {}
},
"name": "HTTP Request7",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 2,
"position": [
1800,
1460
]
},
{
"parameters": {
"mode": "mergeByIndex",
"join": "inner"
},
"name": "Merge1",
"type": "n8n-nodes-base.merge",
"typeVersion": 1,
"position": [
2000,
1300
]
},
{
"parameters": {
"operation": "multiStep",
"operations": {
"operations": [
{
"operation": "resize",
"width": 1200,
"height": -1,
"resizeOption": "onlyIfLarger"
},
{
"operation": "draw",
"color": "#000000b2",
"startPositionX": 25,
"startPositionY": 25,
"endPositionX": 1175,
"endPositionY": 605
},
{
"operation": "crop",
"width": 1200,
"height": 630
}
]
},
"options": {}
},
"name": "Edit Image3",
"type": "n8n-nodes-base.editImage",
"typeVersion": 1,
"position": [
1800,
1300
]
},
{
"parameters": {
"operation": "composite",
"dataPropertyNameComposite": "data2",
"operator": "Plus",
"positionX": 50,
"positionY": 330,
"options": {}
},
"name": "Edit Image4",
"type": "n8n-nodes-base.editImage",
"typeVersion": 1,
"position": [
2200,
1300
]
},
{
"parameters": {
"url": "https://api.unsplash.com/photos/random?query=driving",
"options": {},
"headerParametersUi": {
"parameter": [
{
"name": "Authorization",
"value": "Client-ID SU9IXaIjfJXqKqJ1NM1zgkSjuxLVhVXICfIdWEWvUPM"
}
]
},
"queryParametersUi": {
"parameter": [
{
"name": "orientation",
"value": "landscape"
}
]
}
},
"name": "HTTP Request8",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 2,
"position": [
1460,
1300
]
},
{
"parameters": {
"url": "={{$json[\"urls\"][\"full\"]}}",
"responseFormat": "file",
"options": {}
},
"name": "HTTP Request9",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 2,
"position": [
1620,
840
]
},
{
"parameters": {
"url": "https://avtomoto25.cn.ua/wp-content/uploads/logo_banner.png",
"responseFormat": "file",
"dataPropertyName": "data2",
"options": {}
},
"name": "HTTP Request10",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 2,
"position": [
1800,
1020
]
},
{
"parameters": {
"mode": "mergeByIndex",
"join": "inner"
},
"name": "Merge2",
"type": "n8n-nodes-base.merge",
"typeVersion": 1,
"position": [
2000,
840
]
},
{
"parameters": {
"operation": "multiStep",
"operations": {
"operations": [
{
"operation": "resize",
"width": 1200,
"height": -1,
"resizeOption": "onlyIfLarger"
},
{
"operation": "draw",
"color": "#00000099",
"startPositionX": 25,
"startPositionY": 25,
"endPositionX": 1175,
"endPositionY": 605
},
{
"operation": "crop",
"width": 1200,
"height": 630
}
]
},
"options": {}
},
"name": "Edit Image5",
"type": "n8n-nodes-base.editImage",
"typeVersion": 1,
"position": [
1800,
840
]
},
{
"parameters": {
"operation": "composite",
"dataPropertyNameComposite": "data2",
"operator": "Plus",
"positionX": 50,
"positionY": 330,
"options": {}
},
"name": "Edit Image6",
"type": "n8n-nodes-base.editImage",
"typeVersion": 1,
"position": [
2180,
840
]
},
{
"parameters": {
"url": "https://api.unsplash.com/photos/random?query=driving",
"options": {},
"headerParametersUi": {
"parameter": [
{
"name": "Authorization",
"value": "Client-ID SU9IXaIjfJXqKqJ1NM1zgkSjuxLVhVXICfIdWEWvUPM"
}
]
},
"queryParametersUi": {
"parameter": [
{
"name": "orientation",
"value": "landscape"
}
]
}
},
"name": "HTTP Request11",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 2,
"position": [
1440,
840
]
},
{
"parameters": {
"operation": "multiStep",
"operations": {
"operations": [
{
"operation": "text",
"text": "вул. Красносільського 59а",
"fontSize": 56,
"fontColor": "#FFFFFF",
"positionX": 420,
"positionY": 580,
"font": "/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf"
},
{
"operation": "text",
"text": "=Залишилось\nмісць",
"fontSize": 100,
"fontColor": "#FFFFFF",
"positionY": 140,
"font": "/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf"
},
{
"operation": "text",
"text": "={{$node[\"recount masani\"].json[\"recount\"]}}!",
"fontSize": 300,
"fontColor": "#FF0000",
"positionX": 750,
"positionY": 300,
"font": "/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf"
}
]
},
"options": {
"format": "jpeg"
}
},
"name": "Edit Image9",
"type": "n8n-nodes-base.editImage",
"typeVersion": 1,
"position": [
2380,
840
]
}
],
"connections": {
@@ -1618,17 +1840,6 @@
]
]
},
"HTTP Request5": {
"main": [
[
{
"node": "Edit Image",
"type": "main",
"index": 0
}
]
]
},
"SSH2": {
"main": [
[
@@ -1684,17 +1895,6 @@
]
]
},
"Edit Image": {
"main": [
[
{
"node": "SSH2",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
@@ -1772,17 +1972,6 @@
]
]
},
"HTTP Request6": {
"main": [
[
{
"node": "Edit Image2",
"type": "main",
"index": 0
}
]
]
},
"SSH3": {
"main": [
[
@@ -1842,7 +2031,7 @@
"main": [
[
{
"node": "HTTP Request5",
"node": "HTTP Request11",
"type": "main",
"index": 0
}
@@ -1853,7 +2042,7 @@
"main": [
[
{
"node": "HTTP Request6",
"node": "HTTP Request8",
"type": "main",
"index": 0
}
@@ -1870,10 +2059,153 @@
}
]
]
},
"HTTP Request1": {
"main": [
[
{
"node": "Edit Image3",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request7": {
"main": [
[
{
"node": "Merge1",
"type": "main",
"index": 1
}
]
]
},
"Merge1": {
"main": [
[
{
"node": "Edit Image4",
"type": "main",
"index": 0
}
]
]
},
"Edit Image3": {
"main": [
[
{
"node": "Merge1",
"type": "main",
"index": 0
}
]
]
},
"Edit Image4": {
"main": [
[
{
"node": "Edit Image2",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request8": {
"main": [
[
{
"node": "HTTP Request1",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request9": {
"main": [
[
{
"node": "Edit Image5",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request10": {
"main": [
[
{
"node": "Merge2",
"type": "main",
"index": 1
}
]
]
},
"Merge2": {
"main": [
[
{
"node": "Edit Image6",
"type": "main",
"index": 0
}
]
]
},
"Edit Image5": {
"main": [
[
{
"node": "Merge2",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request11": {
"main": [
[
{
"node": "HTTP Request9",
"type": "main",
"index": 0
}
]
]
},
"Edit Image6": {
"main": [
[
{
"node": "Edit Image9",
"type": "main",
"index": 0
}
]
]
},
"Edit Image9": {
"main": [
[
{
"node": "SSH2",
"type": "main",
"index": 0
}
]
]
}
},
"createdAt": "2022-06-18T21:12:12.483Z",
"updatedAt": "2022-07-01T11:55:58.762Z",
"updatedAt": "2022-07-11T19:38:16.811Z",
"settings": {
"errorWorkflow": "25"
},