Files
n8n/flows/36.json

1889 lines
40 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"id": 36,
"name": "avtomoto25 count",
"active": true,
"nodes": [
{
"parameters": {},
"name": "Start",
"type": "n8n-nodes-base.start",
"typeVersion": 1,
"position": [
-280,
280
]
},
{
"parameters": {
"graphApiVersion": "v13.0",
"node": "Avtomoto25",
"options": {
"fields": {
"field": [
{
"name": "access_token"
}
]
}
}
},
"name": "Facebook Graph API",
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
480,
60
],
"credentials": {
"facebookGraphApi": {
"id": "36",
"name": "Facebook Graph account"
}
}
},
{
"parameters": {
"url": "https://note.cynic.club/shares/sJeGN4mi8Xgto8A85QS027",
"responseFormat": "string",
"options": {}
},
"name": "HTTP Request2",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 1,
"position": [
0,
500
]
},
{
"parameters": {
"extractionValues": {
"values": [
{
"key": "data",
"cssSelector": "li",
"returnArray": true
}
]
},
"options": {}
},
"name": "HTML Extract1",
"type": "n8n-nodes-base.htmlExtract",
"typeVersion": 1,
"position": [
220,
500
]
},
{
"parameters": {
"keepOnlySet": true,
"values": {
"string": [
{
"name": "count",
"value": "={{$json[\"data\"][1]}}"
}
]
},
"options": {
"dotNotation": true
}
},
"name": "Set2",
"type": "n8n-nodes-base.set",
"typeVersion": 1,
"position": [
480,
500
]
},
{
"parameters": {
"url": "https://note.cynic.club/shares/wjFwc3x9h7lDRK9BlubQC0",
"responseFormat": "string",
"options": {}
},
"name": "HTTP Request3",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 1,
"position": [
0,
840
]
},
{
"parameters": {
"url": "https://note.cynic.club/shares/978uO9kCnw65J1TMaH0XeR",
"responseFormat": "string",
"options": {}
},
"name": "HTTP Request4",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 1,
"position": [
0,
1300
]
},
{
"parameters": {
"extractionValues": {
"values": [
{
"key": "data",
"cssSelector": "li",
"returnArray": true
},
{
"key": "schedule",
"cssSelector": "label.checkbox-label-checked",
"returnArray": true
}
]
},
"options": {}
},
"name": "HTML Extract3",
"type": "n8n-nodes-base.htmlExtract",
"typeVersion": 1,
"position": [
220,
1300
]
},
{
"parameters": {
"keepOnlySet": true,
"values": {
"string": [
{
"name": "count",
"value": "={{$json[\"data\"][1]}}"
}
]
},
"options": {
"dotNotation": true
}
},
"name": "Set4",
"type": "n8n-nodes-base.set",
"typeVersion": 1,
"position": [
460,
1300
]
},
{
"parameters": {
"operation": "update",
"docId": "tAuWNMisjXqyEkYudRcA2c",
"tableId": "Classrooms",
"rowId": "3",
"fieldsToSend": {
"properties": [
{
"fieldId": "count",
"fieldValue": "={{$json[\"count\"]}}"
}
]
}
},
"name": "prospect",
"type": "n8n-nodes-base.grist",
"typeVersion": 1,
"position": [
1020,
1440
],
"credentials": {
"gristApi": {
"id": "21",
"name": "Grist account"
}
}
},
{
"parameters": {
"triggerTimes": {
"item": [
{
"mode": "everyX",
"value": 10,
"unit": "minutes"
}
]
}
},
"name": "Cron",
"type": "n8n-nodes-base.cron",
"typeVersion": 1,
"position": [
-340,
740
]
},
{
"parameters": {
"mode": "removeKeyMatches",
"propertyName1": "count",
"propertyName2": "count"
},
"name": "Merge3",
"type": "n8n-nodes-base.merge",
"typeVersion": 1,
"position": [
780,
520
]
},
{
"parameters": {
"docId": "tAuWNMisjXqyEkYudRcA2c",
"tableId": "Classrooms",
"returnAll": true,
"additionalOptions": {
"filter": {
"filterProperties": [
{
"field": "address",
"values": "вул. Рокосовського 51"
}
]
}
}
},
"name": "rokoss1",
"type": "n8n-nodes-base.grist",
"typeVersion": 1,
"position": [
480,
660
],
"credentials": {
"gristApi": {
"id": "21",
"name": "Grist account"
}
}
},
{
"parameters": {
"operation": "update",
"docId": "tAuWNMisjXqyEkYudRcA2c",
"tableId": "Classrooms",
"rowId": "1",
"fieldsToSend": {
"properties": [
{
"fieldId": "count",
"fieldValue": "={{$json[\"count\"]}}"
}
]
}
},
"name": "rokoss2",
"type": "n8n-nodes-base.grist",
"typeVersion": 1,
"position": [
1040,
680
],
"credentials": {
"gristApi": {
"id": "21",
"name": "Grist account"
}
}
},
{
"parameters": {
"values": {
"number": [
{
"name": "recount",
"value": "={{24 - $json[\"count\"]}}"
}
]
},
"options": {
"dotNotation": true
}
},
"name": "recount rokoss",
"type": "n8n-nodes-base.set",
"typeVersion": 1,
"position": [
1040,
520
]
},
{
"parameters": {
"extractionValues": {
"values": [
{
"key": "data",
"cssSelector": "li",
"returnArray": true
}
]
},
"options": {}
},
"name": "HTML Extract",
"type": "n8n-nodes-base.htmlExtract",
"typeVersion": 1,
"position": [
220,
840
]
},
{
"parameters": {
"keepOnlySet": true,
"values": {
"string": [
{
"name": "count",
"value": "={{$json[\"data\"][1]}}"
}
]
},
"options": {
"dotNotation": true
}
},
"name": "Set",
"type": "n8n-nodes-base.set",
"typeVersion": 1,
"position": [
480,
840
]
},
{
"parameters": {
"mode": "removeKeyMatches",
"propertyName1": "count",
"propertyName2": "count"
},
"name": "Merge4",
"type": "n8n-nodes-base.merge",
"typeVersion": 1,
"position": [
780,
860
]
},
{
"parameters": {
"operation": "update",
"docId": "tAuWNMisjXqyEkYudRcA2c",
"tableId": "Classrooms",
"rowId": "2",
"fieldsToSend": {
"properties": [
{
"fieldId": "count",
"fieldValue": "={{$json[\"count\"]}}"
}
]
}
},
"name": "rokoss4",
"type": "n8n-nodes-base.grist",
"typeVersion": 1,
"position": [
1020,
1020
],
"credentials": {
"gristApi": {
"id": "21",
"name": "Grist account"
}
}
},
{
"parameters": {
"docId": "tAuWNMisjXqyEkYudRcA2c",
"tableId": "Classrooms",
"returnAll": true,
"additionalOptions": {
"filter": {
"filterProperties": [
{
"field": "address",
"values": "вул. Красносільського 59а"
}
]
}
}
},
"name": "masani1",
"type": "n8n-nodes-base.grist",
"typeVersion": 1,
"position": [
480,
1000
],
"credentials": {
"gristApi": {
"id": "21",
"name": "Grist account"
}
}
},
{
"parameters": {
"graphApiVersion": "v13.0",
"node": "me",
"edge": "accounts",
"options": {}
},
"name": "Get Pages1",
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
160,
280
],
"credentials": {
"facebookGraphApi": {
"id": "36",
"name": "Facebook Graph account"
}
}
},
{
"parameters": {
"fieldToSplitOut": "data",
"options": {}
},
"name": "Split Pages1",
"type": "n8n-nodes-base.itemLists",
"typeVersion": 1,
"position": [
400,
280
]
},
{
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$json[\"id\"]}}",
"value2": "105101524930750"
}
]
}
},
"name": "Is Tom Travels?1",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
620,
280
]
},
{
"parameters": {
"graphApiVersion": "v13.0",
"node": "={{$json[\"id\"]}}",
"edge": "conversations",
"options": {}
},
"name": "Facebook Graph API4",
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
880,
40
],
"credentials": {
"facebookGraphApi": {
"id": "36",
"name": "Facebook Graph account"
}
}
},
{
"parameters": {
"mode": "removeKeyMatches",
"propertyName1": "count",
"propertyName2": "count"
},
"name": "Merge",
"type": "n8n-nodes-base.merge",
"typeVersion": 1,
"position": [
780,
1320
]
},
{
"parameters": {
"values": {
"number": [
{
"name": "recount",
"value": "={{24 - $json[\"count\"]}}"
}
]
},
"options": {}
},
"name": "recount masani",
"type": "n8n-nodes-base.set",
"typeVersion": 1,
"position": [
1020,
860
]
},
{
"parameters": {
"values": {
"number": [
{
"name": "recount",
"value": "={{24 - $json[\"count\"]}}"
}
]
},
"options": {}
},
"name": "recount prospect",
"type": "n8n-nodes-base.set",
"typeVersion": 1,
"position": [
1020,
1300
]
},
{
"parameters": {
"docId": "tAuWNMisjXqyEkYudRcA2c",
"tableId": "Classrooms",
"returnAll": true,
"additionalOptions": {
"filter": {
"filterProperties": [
{
"field": "address",
"values": "Проспект Перемоги 39"
}
]
}
}
},
"name": "prospect1",
"type": "n8n-nodes-base.grist",
"typeVersion": 1,
"position": [
460,
1460
],
"credentials": {
"gristApi": {
"id": "21",
"name": "Grist account"
}
}
},
{
"parameters": {
"graphApiVersion": "v13.0",
"node": "me",
"edge": "accounts",
"options": {}
},
"name": "Get Pages3",
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
1400,
1480
],
"credentials": {
"facebookGraphApi": {
"id": "36",
"name": "Facebook Graph account"
}
}
},
{
"parameters": {
"fieldToSplitOut": "data",
"options": {}
},
"name": "Split Pages3",
"type": "n8n-nodes-base.itemLists",
"typeVersion": 1,
"position": [
1600,
1480
]
},
{
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$json[\"id\"]}}",
"value2": "105101524930750"
}
]
}
},
"name": "Is Tom Travels?3",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
1800,
1480
]
},
{
"parameters": {
"httpRequestMethod": "POST",
"graphApiVersion": "v13.0",
"node": "={{$json[\"id\"]}}",
"edge": "feed",
"options": {
"queryParameters": {
"parameter": [
{
"name": "message",
"value": "=Продовжується запис на навчання за адресою: \n{{$node[\"prospect1\"].json[\"address\"]}}\nПочаток занятть: {{$node[\"prospect1\"].json[\"date_ua\"]}}\nЗалишилося місць: {{$node[\"recount prospect\"].json[\"recount\"]}}"
},
{
"name": "access_token",
"value": "={{$json[\"access_token\"]}}"
},
{
"name": "link",
"value": "https://avtomoto25.cn.ua/booking/"
},
{
"name": "og_action_type_id",
"value": "383634835006146"
},
{
"name": "og_object_id",
"value": "387919524627259"
}
]
}
}
},
"name": "Facebook Graph API6",
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
2100,
1480
],
"credentials": {
"facebookGraphApi": {
"id": "36",
"name": "Facebook Graph account"
}
}
},
{
"parameters": {
"httpRequestMethod": "POST",
"graphApiVersion": "v13.0",
"node": "={{$json[\"id\"]}}",
"edge": "feed",
"options": {
"queryParameters": {
"parameter": [
{
"name": "message",
"value": "=Продовжується запис на навчання за адресою: \n{{$node[\"rokoss1\"].json[\"address\"]}}\nПочаток занятть: {{$node[\"rokoss1\"].json[\"date_ua\"]}}\nЗалишилося місць: {{$node[\"recount rokoss\"].json[\"recount\"]}}"
},
{
"name": "access_token",
"value": "={{$json[\"access_token\"]}}"
},
{
"name": "link",
"value": "https://avtomoto25.cn.ua/booking/"
},
{
"name": "og_action_type_id",
"value": "383634835006146"
},
{
"name": "og_object_id",
"value": "387919524627259"
},
{
"name": "place",
"value": "avtomoto2502"
}
]
}
}
},
"name": "Facebook Graph API7",
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
1040,
280
],
"credentials": {
"facebookGraphApi": {
"id": "36",
"name": "Facebook Graph account"
}
}
},
{
"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",
"binaryPropertyName": "=data",
"path": "/var/www/html/driving_school/wp-content/uploads/",
"options": {
"fileName": "count_banner_masani.jpg"
}
},
"name": "SSH2",
"type": "n8n-nodes-base.ssh",
"typeVersion": 1,
"position": [
1900,
900
],
"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_masani.jpg"
},
{
"name": "caption",
"value": "=⏱ Продовжується набір в групу за адресою вул. Красносільського 59а\nДля реєстрації на навчання в нашій автошколі \nзаповніть форму 🎯 https://avtomoto25.cn.ua/booking/\nабо телефонуйте ☎️ +380735650500 ☎️ +380965650500"
}
]
}
}
},
"name": "Facebook Graph API3",
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
2700,
900
],
"credentials": {
"facebookGraphApi": {
"id": "36",
"name": "Facebook Graph account"
}
}
},
{
"parameters": {
"graphApiVersion": "v13.0",
"node": "me",
"edge": "accounts",
"options": {}
},
"name": "Get Pages4",
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
2100,
900
],
"credentials": {
"facebookGraphApi": {
"id": "36",
"name": "Facebook Graph account"
}
}
},
{
"parameters": {
"fieldToSplitOut": "data",
"options": {}
},
"name": "Split Pages4",
"type": "n8n-nodes-base.itemLists",
"typeVersion": 1,
"position": [
2280,
900
]
},
{
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$json[\"id\"]}}",
"value2": "105101524930750"
}
]
}
},
"name": "Is Tom Travels?4",
"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
]
},
{
"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": [
1500,
440
]
},
{
"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": [
1880,
440
],
"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": "=⏱ Продовжується набір в групу за адресою вул. Рокосовського 51\nДля реєстрації на навчання в нашій автошколі \nзаповніть форму 🎯 https://avtomoto25.cn.ua/booking/\nабо телефонуйте ☎️ +380735650500 ☎️ +380965650500"
}
]
}
}
},
"name": "Facebook Graph API8",
"type": "n8n-nodes-base.facebookGraphApi",
"typeVersion": 1,
"position": [
2680,
420
],
"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": [
2060,
440
],
"credentials": {
"facebookGraphApi": {
"id": "36",
"name": "Facebook Graph account"
}
}
},
{
"parameters": {
"fieldToSplitOut": "data",
"options": {}
},
"name": "Split Pages5",
"type": "n8n-nodes-base.itemLists",
"typeVersion": 1,
"position": [
2240,
440
]
},
{
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$json[\"id\"]}}",
"value2": "105101524930750"
}
]
}
},
"name": "Is Tom Travels?5",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
2440,
440
]
},
{
"parameters": {
"operation": "multiStep",
"operations": {
"operations": [
{
"operation": "text",
"text": "вул. Рокосовського 51",
"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 Image1",
"type": "n8n-nodes-base.editImage",
"typeVersion": 1,
"position": [
1700,
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",
"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": "=⏱ Продовжується набір в групу за адресою Проспект Перемоги 39\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": 850,
"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
]
},
{
"parameters": {
"conditions": {
"number": [
{
"value1": "={{$json[\"recount\"]}}",
"value2": 24
}
]
}
},
"name": "IF1",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
1200,
920
]
},
{
"parameters": {
"conditions": {
"number": [
{
"value1": "={{$json[\"recount\"]}}",
"value2": 24
}
]
}
},
"name": "IF2",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
1180,
1160
]
},
{
"parameters": {
"value1": "={{$json[\"recount\"]}}",
"rules": {
"rules": [
{
"value2": 23
},
{
"value2": 1,
"output": 1
}
]
},
"fallbackOutput": 3
},
"name": "Switch",
"type": "n8n-nodes-base.switch",
"typeVersion": 1,
"position": [
1260,
480
]
}
],
"connections": {
"Facebook Graph API": {
"main": [
[
{
"node": "Facebook Graph API4",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request2": {
"main": [
[
{
"node": "HTML Extract1",
"type": "main",
"index": 0
}
]
]
},
"HTML Extract1": {
"main": [
[
{
"node": "Set2",
"type": "main",
"index": 0
}
]
]
},
"Set2": {
"main": [
[
{
"node": "Merge3",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request3": {
"main": [
[
{
"node": "HTML Extract",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request4": {
"main": [
[
{
"node": "HTML Extract3",
"type": "main",
"index": 0
}
]
]
},
"HTML Extract3": {
"main": [
[
{
"node": "Set4",
"type": "main",
"index": 0
}
]
]
},
"Set4": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 0
}
]
]
},
"Cron": {
"main": [
[
{
"node": "HTTP Request2",
"type": "main",
"index": 0
},
{
"node": "HTTP Request3",
"type": "main",
"index": 0
},
{
"node": "HTTP Request4",
"type": "main",
"index": 0
}
]
]
},
"Merge3": {
"main": [
[
{
"node": "rokoss2",
"type": "main",
"index": 0
},
{
"node": "recount rokoss",
"type": "main",
"index": 0
}
]
]
},
"rokoss1": {
"main": [
[
{
"node": "Merge3",
"type": "main",
"index": 1
}
]
]
},
"HTML Extract": {
"main": [
[
{
"node": "Set",
"type": "main",
"index": 0
}
]
]
},
"Set": {
"main": [
[
{
"node": "Merge4",
"type": "main",
"index": 0
}
]
]
},
"Merge4": {
"main": [
[
{
"node": "rokoss4",
"type": "main",
"index": 0
},
{
"node": "recount masani",
"type": "main",
"index": 0
}
]
]
},
"masani1": {
"main": [
[
{
"node": "Merge4",
"type": "main",
"index": 1
}
]
]
},
"Get Pages1": {
"main": [
[
{
"node": "Split Pages1",
"type": "main",
"index": 0
}
]
]
},
"Split Pages1": {
"main": [
[
{
"node": "Is Tom Travels?1",
"type": "main",
"index": 0
}
]
]
},
"Is Tom Travels?1": {
"main": [
[
{
"node": "Facebook Graph API7",
"type": "main",
"index": 0
}
]
]
},
"Merge": {
"main": [
[
{
"node": "prospect",
"type": "main",
"index": 0
},
{
"node": "recount prospect",
"type": "main",
"index": 0
}
]
]
},
"prospect1": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 1
}
]
]
},
"Get Pages3": {
"main": [
[
{
"node": "Split Pages3",
"type": "main",
"index": 0
}
]
]
},
"Split Pages3": {
"main": [
[
{
"node": "Is Tom Travels?3",
"type": "main",
"index": 0
}
]
]
},
"Is Tom Travels?3": {
"main": [
[
{
"node": "Facebook Graph API6",
"type": "main",
"index": 0
}
]
]
},
"recount prospect": {
"main": [
[
{
"node": "IF2",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request5": {
"main": [
[
{
"node": "Edit Image",
"type": "main",
"index": 0
}
]
]
},
"SSH2": {
"main": [
[
{
"node": "Get Pages4",
"type": "main",
"index": 0
}
]
]
},
"Get Pages4": {
"main": [
[
{
"node": "Split Pages4",
"type": "main",
"index": 0
}
]
]
},
"Split Pages4": {
"main": [
[
{
"node": "Is Tom Travels?4",
"type": "main",
"index": 0
}
]
]
},
"Is Tom Travels?4": {
"main": [
[
{
"node": "Facebook Graph API3",
"type": "main",
"index": 0
}
]
]
},
"recount masani": {
"main": [
[
{
"node": "IF1",
"type": "main",
"index": 0
}
]
]
},
"Edit Image": {
"main": [
[
{
"node": "SSH2",
"type": "main",
"index": 0
}
]
]
},
"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": "Switch",
"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
}
]
]
},
"IF1": {
"main": [
[
{
"node": "HTTP Request5",
"type": "main",
"index": 0
}
]
]
},
"IF2": {
"main": [
[
{
"node": "HTTP Request6",
"type": "main",
"index": 0
}
]
]
},
"Switch": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
}
},
"createdAt": "2022-06-18T21:12:12.483Z",
"updatedAt": "2022-06-29T12:49:56.735Z",
"settings": {
"errorWorkflow": "25"
},
"staticData": null,
"tags": [
{
"id": "1",
"name": "avtomoto25",
"createdAt": "2022-05-10T18:06:30.022Z",
"updatedAt": "2022-05-10T18:06:30.022Z"
}
]
}