Auto backup (2022-06-27T21:00:30.929Z)

This commit is contained in:
nia
2022-06-27 21:00:30 +00:00
parent 217178012d
commit d7ac1a8ca5
6 changed files with 647 additions and 56 deletions

View File

@@ -38,8 +38,7 @@
"triggerTimes": {
"item": [
{
"hour": 9,
"minute": 30
"hour": 9
}
]
}
@@ -281,11 +280,6 @@
]
]
},
"IF": {
"main": [
[]
]
},
"Set": {
"main": [
[
@@ -321,8 +315,10 @@
}
},
"createdAt": "2022-05-11T17:19:39.626Z",
"updatedAt": "2022-06-25T17:37:33.436Z",
"settings": {},
"updatedAt": "2022-06-27T05:25:22.228Z",
"settings": {
"errorWorkflow": "25"
},
"staticData": null,
"tags": []
}

View File

@@ -52,8 +52,8 @@
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
1380,
520
1580,
100
],
"credentials": {
"facebookGraphApi": {
@@ -71,8 +71,8 @@
"type": "n8n-nodes-base.itemLists",
"typeVersion": 1,
"position": [
1580,
520
1780,
100
]
},
{
@@ -90,8 +90,8 @@
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
1780,
520
1980,
100
]
},
{
@@ -131,8 +131,8 @@
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
2080,
520
2280,
100
],
"credentials": {
"facebookGraphApi": {
@@ -404,7 +404,7 @@
"number": [
{
"name": "recount",
"value": "={{22 - $json[\"count\"]}}"
"value": "={{24 - $json[\"count\"]}}"
}
]
},
@@ -631,7 +631,7 @@
"number": [
{
"name": "recount",
"value": "={{22 - $json[\"count\"]}}"
"value": "={{24 - $json[\"count\"]}}"
}
]
},
@@ -651,7 +651,7 @@
"number": [
{
"name": "recount",
"value": "={{22 - $json[\"count\"]}}"
"value": "={{24 - $json[\"count\"]}}"
}
]
},
@@ -676,8 +676,8 @@
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
1420,
720
1620,
300
],
"credentials": {
"facebookGraphApi": {
@@ -695,8 +695,8 @@
"type": "n8n-nodes-base.itemLists",
"typeVersion": 1,
"position": [
1620,
720
1820,
300
]
},
{
@@ -714,8 +714,8 @@
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
1820,
720
2020,
300
]
},
{
@@ -755,8 +755,8 @@
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
2120,
720
2320,
300
],
"credentials": {
"facebookGraphApi": {
@@ -806,8 +806,8 @@
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
1360,
1280
1400,
1480
],
"credentials": {
"facebookGraphApi": {
@@ -825,8 +825,8 @@
"type": "n8n-nodes-base.itemLists",
"typeVersion": 1,
"position": [
1560,
1280
1600,
1480
]
},
{
@@ -844,8 +844,8 @@
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
1760,
1280
1800,
1480
]
},
{
@@ -885,8 +885,8 @@
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
2060,
1280
2100,
1480
],
"credentials": {
"facebookGraphApi": {
@@ -1082,7 +1082,7 @@
"operations": [
{
"operation": "text",
"text": "вул. Красносільського 59а",
"text": "вул. Рокосовського 51",
"fontSize": 56,
"positionX": 550,
"positionY": 750,
@@ -1118,6 +1118,352 @@
1620,
900
]
},
{
"parameters": {
"url": "https://avtomoto25.cn.ua/wp-content/uploads/count_banner.jpg",
"responseFormat": "file",
"options": {}
},
"name": "HTTP Request",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 1,
"position": [
1400,
620
]
},
{
"parameters": {
"resource": "file",
"binaryPropertyName": "=data",
"path": "/var/www/html/driving_school/wp-content/uploads/",
"options": {
"fileName": "count_banner_rokoss.jpg"
}
},
"name": "SSH",
"type": "n8n-nodes-base.ssh",
"typeVersion": 1,
"position": [
1900,
620
],
"credentials": {
"sshPassword": {
"id": "14",
"name": "SSH Password account"
}
}
},
{
"parameters": {
"httpRequestMethod": "POST",
"graphApiVersion": "v13.0",
"node": "={{$json[\"id\"]}}",
"edge": "photos",
"options": {
"queryParameters": {
"parameter": [
{
"name": "access_token",
"value": "={{$json[\"access_token\"]}}"
},
{
"name": "url",
"value": "https://avtomoto25.cn.ua/wp-content/uploads/count_banner_rokoss.jpg"
},
{
"name": "caption",
"value": "=⏱ Закінчується набір в групу \nДля реєстрації на навчання в нашій автошколі \nзаповніть форму 🎯 https://avtomoto25.cn.ua/booking/\nабо телефонуйте ☎️ +380735650500 ☎️ +380965650500"
}
]
}
}
},
"name": "Facebook Graph API8",
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
2700,
620
],
"credentials": {
"facebookGraphApi": {
"id": "36",
"name": "Facebook Graph account"
}
}
},
{
"parameters": {
"graphApiVersion": "v13.0",
"node": "me",
"edge": "accounts",
"options": {}
},
"name": "Get Pages5",
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
2100,
620
],
"credentials": {
"facebookGraphApi": {
"id": "36",
"name": "Facebook Graph account"
}
}
},
{
"parameters": {
"fieldToSplitOut": "data",
"options": {}
},
"name": "Split Pages5",
"type": "n8n-nodes-base.itemLists",
"typeVersion": 1,
"position": [
2280,
620
]
},
{
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$json[\"id\"]}}",
"value2": "105101524930750"
}
]
}
},
"name": "Is Tom Travels?5",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
2480,
620
]
},
{
"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": 900,
"positionY": 500,
"font": "/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf"
}
]
},
"options": {
"format": "jpeg"
}
},
"name": "Edit Image1",
"type": "n8n-nodes-base.editImage",
"typeVersion": 1,
"position": [
1620,
620
]
},
{
"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",
"binaryPropertyName": "=data",
"path": "/var/www/html/driving_school/wp-content/uploads/",
"options": {
"fileName": "count_banner_prospect.jpg"
}
},
"name": "SSH3",
"type": "n8n-nodes-base.ssh",
"typeVersion": 1,
"position": [
1900,
1100
],
"credentials": {
"sshPassword": {
"id": "14",
"name": "SSH Password account"
}
}
},
{
"parameters": {
"httpRequestMethod": "POST",
"graphApiVersion": "v13.0",
"node": "={{$json[\"id\"]}}",
"edge": "photos",
"options": {
"queryParameters": {
"parameter": [
{
"name": "access_token",
"value": "={{$json[\"access_token\"]}}"
},
{
"name": "url",
"value": "https://avtomoto25.cn.ua/wp-content/uploads/count_banner_prospect.jpg"
},
{
"name": "caption",
"value": "=⏱ Закінчується набір в групу \nДля реєстрації на навчання в нашій автошколі \nзаповніть форму 🎯 https://avtomoto25.cn.ua/booking/\nабо телефонуйте ☎️ +380735650500 ☎️ +380965650500"
}
]
}
}
},
"name": "Facebook Graph API9",
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
2700,
1100
],
"credentials": {
"facebookGraphApi": {
"id": "36",
"name": "Facebook Graph account"
}
}
},
{
"parameters": {
"graphApiVersion": "v13.0",
"node": "me",
"edge": "accounts",
"options": {}
},
"name": "Get Pages6",
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
2100,
1100
],
"credentials": {
"facebookGraphApi": {
"id": "36",
"name": "Facebook Graph account"
}
}
},
{
"parameters": {
"fieldToSplitOut": "data",
"options": {}
},
"name": "Split Pages6",
"type": "n8n-nodes-base.itemLists",
"typeVersion": 1,
"position": [
2280,
1100
]
},
{
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$json[\"id\"]}}",
"value2": "105101524930750"
}
]
}
},
"name": "Is Tom Travels?6",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
2480,
1100
]
},
{
"parameters": {
"operation": "multiStep",
"operations": {
"operations": [
{
"operation": "text",
"text": "Проспект Перемоги 39",
"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": 900,
"positionY": 500,
"font": "/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf"
}
]
},
"options": {
"format": "jpeg"
}
},
"name": "Edit Image2",
"type": "n8n-nodes-base.editImage",
"typeVersion": 1,
"position": [
1620,
1100
]
}
],
"connections": {
@@ -1290,17 +1636,6 @@
]
]
},
"recount rokoss": {
"main": [
[
{
"node": "Get Pages",
"type": "main",
"index": 0
}
]
]
},
"HTML Extract": {
"main": [
[
@@ -1480,7 +1815,7 @@
"main": [
[
{
"node": "Get Pages3",
"node": "HTTP Request6",
"type": "main",
"index": 0
}
@@ -1563,10 +1898,153 @@
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "Edit Image1",
"type": "main",
"index": 0
}
]
]
},
"SSH": {
"main": [
[
{
"node": "Get Pages5",
"type": "main",
"index": 0
}
]
]
},
"Get Pages5": {
"main": [
[
{
"node": "Split Pages5",
"type": "main",
"index": 0
}
]
]
},
"Split Pages5": {
"main": [
[
{
"node": "Is Tom Travels?5",
"type": "main",
"index": 0
}
]
]
},
"Is Tom Travels?5": {
"main": [
[
{
"node": "Facebook Graph API8",
"type": "main",
"index": 0
}
]
]
},
"Edit Image1": {
"main": [
[
{
"node": "SSH",
"type": "main",
"index": 0
}
]
]
},
"recount rokoss": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request6": {
"main": [
[
{
"node": "Edit Image2",
"type": "main",
"index": 0
}
]
]
},
"SSH3": {
"main": [
[
{
"node": "Get Pages6",
"type": "main",
"index": 0
}
]
]
},
"Get Pages6": {
"main": [
[
{
"node": "Split Pages6",
"type": "main",
"index": 0
}
]
]
},
"Split Pages6": {
"main": [
[
{
"node": "Is Tom Travels?6",
"type": "main",
"index": 0
}
]
]
},
"Is Tom Travels?6": {
"main": [
[
{
"node": "Facebook Graph API9",
"type": "main",
"index": 0
}
]
]
},
"Edit Image2": {
"main": [
[
{
"node": "SSH3",
"type": "main",
"index": 0
}
]
]
}
},
"createdAt": "2022-06-18T21:12:12.483Z",
"updatedAt": "2022-06-23T18:19:36.421Z",
"updatedAt": "2022-06-27T11:51:38.022Z",
"settings": {
"errorWorkflow": "25"
},

117
flows/40.json Normal file
View File

@@ -0,0 +1,117 @@
{
"id": 40,
"name": "uptime",
"active": true,
"nodes": [
{
"parameters": {},
"name": "Start",
"type": "n8n-nodes-base.start",
"typeVersion": 1,
"position": [
240,
300
]
},
{
"parameters": {
"httpMethod": "POST",
"path": "uptime",
"options": {}
},
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
460,
300
],
"webhookId": "80250329-a910-427d-ba04-3008cd4f9f42"
},
{
"parameters": {
"keepOnlySet": true,
"values": {
"string": [
{
"name": "time",
"value": "={{$json[\"body\"][\"heartbeat\"][\"time\"]}}"
},
{
"name": "status",
"value": "={{$json[\"body\"][\"heartbeat\"][\"msg\"]}}"
},
{
"name": "name",
"value": "={{$json[\"body\"][\"monitor\"][\"name\"]}}"
}
],
"number": [
{
"name": "duration",
"value": "={{$json[\"body\"][\"heartbeat\"][\"duration\"]}}"
}
]
},
"options": {}
},
"name": "Set",
"type": "n8n-nodes-base.set",
"typeVersion": 1,
"position": [
680,
300
]
},
{
"parameters": {
"operation": "create",
"docId": "4jnAms4LS4ZWzrGWvRZC1w",
"tableId": "Records",
"dataToSend": "autoMapInputs"
},
"name": "Grist",
"type": "n8n-nodes-base.grist",
"typeVersion": 1,
"position": [
900,
300
],
"credentials": {
"gristApi": {
"id": "21",
"name": "Grist account"
}
}
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "Set",
"type": "main",
"index": 0
}
]
]
},
"Set": {
"main": [
[
{
"node": "Grist",
"type": "main",
"index": 0
}
]
]
}
},
"createdAt": "2022-06-27T07:09:37.336Z",
"updatedAt": "2022-06-27T07:46:40.820Z",
"settings": {},
"staticData": null,
"tags": []
}