Auto backup (2022-07-22T21:00:26.114Z)

This commit is contained in:
nia
2022-07-22 21:00:26 +00:00
parent 00a2aed30c
commit 9b1ec2d162
6 changed files with 3095 additions and 420 deletions

View File

@@ -808,8 +808,8 @@
"type": "n8n-nodes-base.ssh",
"typeVersion": 1,
"position": [
2500,
500
2560,
160
],
"credentials": {
"sshPassword": {
@@ -847,15 +847,16 @@
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
3220,
500
3280,
160
],
"credentials": {
"facebookGraphApi": {
"id": "36",
"name": "Facebook Graph account"
}
}
},
"disabled": true
},
{
"parameters": {
@@ -868,8 +869,8 @@
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
2660,
500
2720,
160
],
"credentials": {
"facebookGraphApi": {
@@ -887,8 +888,8 @@
"type": "n8n-nodes-base.itemLists",
"typeVersion": 1,
"position": [
2840,
500
2900,
160
]
},
{
@@ -906,8 +907,8 @@
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
3000,
500
3060,
160
]
},
{
@@ -1114,11 +1115,12 @@
"rules": {
"rules": [
{
"value2": 23
"operation": "equal",
"output": 1
},
{
"value2": 1,
"output": 1
"operation": "largerEqual",
"value2": 1
}
]
},
@@ -1130,7 +1132,9 @@
"position": [
1220,
520
]
],
"notesInFlow": true,
"notes": "0 - продолжаем набор\n1 - набор завершен"
},
{
"parameters": {
@@ -1435,8 +1439,8 @@
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 2,
"position": [
1620,
500
1680,
160
]
},
{
@@ -1450,8 +1454,8 @@
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 2,
"position": [
1800,
660
1860,
320
]
},
{
@@ -1463,8 +1467,8 @@
"type": "n8n-nodes-base.merge",
"typeVersion": 1,
"position": [
1960,
500
2020,
160
]
},
{
@@ -1499,8 +1503,8 @@
"type": "n8n-nodes-base.editImage",
"typeVersion": 1,
"position": [
1800,
500
1860,
160
]
},
{
@@ -1516,8 +1520,8 @@
"type": "n8n-nodes-base.editImage",
"typeVersion": 1,
"position": [
2140,
500
2200,
160
]
},
{
@@ -1545,8 +1549,8 @@
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 2,
"position": [
1440,
500
1500,
160
]
},
{
@@ -1590,8 +1594,8 @@
"type": "n8n-nodes-base.editImage",
"typeVersion": 1,
"position": [
2320,
500
2380,
160
]
},
{
@@ -1659,6 +1663,290 @@
780,
880
]
},
{
"parameters": {
"resource": "file",
"binaryPropertyName": "=data",
"path": "/var/www/html/driving_school/wp-content/uploads/",
"options": {
"fileName": "count_banner_rokoss.jpg"
}
},
"name": "SSH1",
"type": "n8n-nodes-base.ssh",
"typeVersion": 1,
"position": [
2560,
500
],
"credentials": {
"sshPassword": {
"id": "14",
"name": "SSH Password account"
}
}
},
{
"parameters": {
"httpRequestMethod": "POST",
"graphApiVersion": "v14.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": "=⏱ Завершено набір в групу за адресою вул. Рокосовського 51\nНова дата початку занять буде оголошена пізніше. \nТелефони для довідок ☎️ +380735650500 ☎️ +380965650500"
}
]
}
}
},
"name": "Facebook Graph API10",
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
3280,
500
],
"credentials": {
"facebookGraphApi": {
"id": "36",
"name": "Facebook Graph account"
}
}
},
{
"parameters": {
"graphApiVersion": "v13.0",
"node": "me",
"edge": "accounts",
"options": {}
},
"name": "Get Pages",
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
2720,
500
],
"credentials": {
"facebookGraphApi": {
"id": "36",
"name": "Facebook Graph account"
}
}
},
{
"parameters": {
"fieldToSplitOut": "data",
"options": {}
},
"name": "Split Pages",
"type": "n8n-nodes-base.itemLists",
"typeVersion": 1,
"position": [
2900,
500
]
},
{
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$json[\"id\"]}}",
"value2": "105101524930750"
}
]
}
},
"name": "Is Tom Travels?",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
3060,
500
]
},
{
"parameters": {
"url": "={{$json[\"urls\"][\"full\"]}}",
"responseFormat": "file",
"options": {}
},
"name": "HTTP Request",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 2,
"position": [
1680,
500
]
},
{
"parameters": {
"url": "https://avtomoto25.cn.ua/wp-content/uploads/logo_banner.png",
"responseFormat": "file",
"dataPropertyName": "data2",
"options": {}
},
"name": "HTTP Request15",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 2,
"position": [
1860,
660
]
},
{
"parameters": {
"mode": "mergeByIndex",
"join": "inner"
},
"name": "Merge6",
"type": "n8n-nodes-base.merge",
"typeVersion": 1,
"position": [
2020,
500
]
},
{
"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 Image1",
"type": "n8n-nodes-base.editImage",
"typeVersion": 1,
"position": [
1860,
500
]
},
{
"parameters": {
"operation": "composite",
"dataPropertyNameComposite": "data2",
"operator": "Plus",
"positionX": 50,
"positionY": 330,
"options": {}
},
"name": "Edit Image8",
"type": "n8n-nodes-base.editImage",
"typeVersion": 1,
"position": [
2200,
500
]
},
{
"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 Request16",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 2,
"position": [
1500,
500
]
},
{
"parameters": {
"operation": "multiStep",
"operations": {
"operations": [
{
"operation": "text",
"text": "вул. Рокосовського 51",
"fontSize": 56,
"fontColor": "#FFFFFF",
"positionX": 550,
"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": "нова дата початку занять \nбуде оголошена пізніше",
"fontSize": 44,
"fontColor": "#CFCFCF",
"positionX": 550,
"positionY": 450,
"font": "/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf"
}
]
},
"options": {
"format": "jpeg"
}
},
"name": "Edit Image11",
"type": "n8n-nodes-base.editImage",
"typeVersion": 1,
"position": [
2380,
500
]
}
],
"connections": {
@@ -2119,6 +2407,13 @@
"type": "main",
"index": 0
}
],
[
{
"node": "HTTP Request16",
"type": "main",
"index": 0
}
]
]
},
@@ -2368,15 +2663,136 @@
}
]
]
},
"SSH1": {
"main": [
[
{
"node": "Get Pages",
"type": "main",
"index": 0
}
]
]
},
"Get Pages": {
"main": [
[
{
"node": "Split Pages",
"type": "main",
"index": 0
}
]
]
},
"Split Pages": {
"main": [
[
{
"node": "Is Tom Travels?",
"type": "main",
"index": 0
}
]
]
},
"Is Tom Travels?": {
"main": [
[
{
"node": "Facebook Graph API10",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "Edit Image1",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request15": {
"main": [
[
{
"node": "Merge6",
"type": "main",
"index": 1
}
]
]
},
"Merge6": {
"main": [
[
{
"node": "Edit Image8",
"type": "main",
"index": 0
}
]
]
},
"Edit Image1": {
"main": [
[
{
"node": "Merge6",
"type": "main",
"index": 0
}
]
]
},
"Edit Image8": {
"main": [
[
{
"node": "Edit Image11",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request16": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
},
"Edit Image11": {
"main": [
[
{
"node": "SSH1",
"type": "main",
"index": 0
}
]
]
}
},
"createdAt": "2022-06-18T21:12:12.483Z",
"updatedAt": "2022-07-13T19:16:39.544Z",
"updatedAt": "2022-07-22T17:38:41.592Z",
"settings": {
"errorWorkflow": "25"
},
"staticData": null,
"pinData": null,
"pinData": {},
"tags": [
{
"id": "1",

File diff suppressed because it is too large Load Diff

2170
flows/58.json Normal file

File diff suppressed because it is too large Load Diff