Auto backup (2022-06-29T21:00:55.666Z)
This commit is contained in:
413
flows/36.json
413
flows/36.json
@@ -41,106 +41,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"graphApiVersion": "v13.0",
|
||||
"node": "me",
|
||||
"edge": "accounts",
|
||||
"options": {}
|
||||
},
|
||||
"name": "Get Pages",
|
||||
"type": "n8n-nodes-base.facebookGraphApi",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1580,
|
||||
100
|
||||
],
|
||||
"credentials": {
|
||||
"facebookGraphApi": {
|
||||
"id": "36",
|
||||
"name": "Facebook Graph account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"fieldToSplitOut": "data",
|
||||
"options": {}
|
||||
},
|
||||
"name": "Split Pages",
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1780,
|
||||
100
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"string": [
|
||||
{
|
||||
"value1": "={{$json[\"id\"]}}",
|
||||
"value2": "105101524930750"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "Is Tom Travels?",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1980,
|
||||
100
|
||||
]
|
||||
},
|
||||
{
|
||||
"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": "Facebook Graph API2",
|
||||
"type": "n8n-nodes-base.facebookGraphApi",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
2280,
|
||||
100
|
||||
],
|
||||
"credentials": {
|
||||
"facebookGraphApi": {
|
||||
"id": "36",
|
||||
"name": "Facebook Graph account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"url": "https://note.cynic.club/shares/sJeGN4mi8Xgto8A85QS027",
|
||||
@@ -665,106 +565,6 @@
|
||||
1300
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"graphApiVersion": "v13.0",
|
||||
"node": "me",
|
||||
"edge": "accounts",
|
||||
"options": {}
|
||||
},
|
||||
"name": "Get Pages2",
|
||||
"type": "n8n-nodes-base.facebookGraphApi",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1620,
|
||||
300
|
||||
],
|
||||
"credentials": {
|
||||
"facebookGraphApi": {
|
||||
"id": "36",
|
||||
"name": "Facebook Graph account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"fieldToSplitOut": "data",
|
||||
"options": {}
|
||||
},
|
||||
"name": "Split Pages2",
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1820,
|
||||
300
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"string": [
|
||||
{
|
||||
"value1": "={{$json[\"id\"]}}",
|
||||
"value2": "105101524930750"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "Is Tom Travels?2",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
2020,
|
||||
300
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"httpRequestMethod": "POST",
|
||||
"graphApiVersion": "v13.0",
|
||||
"node": "={{$json[\"id\"]}}",
|
||||
"edge": "feed",
|
||||
"options": {
|
||||
"queryParameters": {
|
||||
"parameter": [
|
||||
{
|
||||
"name": "message",
|
||||
"value": "=Продовжується запис на навчання за адресою: \n{{$node[\"masani1\"].json[\"address\"]}}\nПочаток занятть: {{$node[\"masani1\"].json[\"date_ua\"]}}\nЗалишилося місць: {{$node[\"recount masani\"].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 API5",
|
||||
"type": "n8n-nodes-base.facebookGraphApi",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
2320,
|
||||
300
|
||||
],
|
||||
"credentials": {
|
||||
"facebookGraphApi": {
|
||||
"id": "36",
|
||||
"name": "Facebook Graph account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"docId": "tAuWNMisjXqyEkYudRcA2c",
|
||||
@@ -1002,7 +802,7 @@
|
||||
},
|
||||
{
|
||||
"name": "caption",
|
||||
"value": "=⏱ Закінчується набір в групу \nДля реєстрації на навчання в нашій автошколі \nзаповніть форму 🎯 https://avtomoto25.cn.ua/booking/\nабо телефонуйте ☎️ +380735650500 ☎️ +380965650500"
|
||||
"value": "=⏱ Продовжується набір в групу за адресою вул. Красносільського 59а\nДля реєстрації на навчання в нашій автошколі \nзаповніть форму 🎯 https://avtomoto25.cn.ua/booking/\nабо телефонуйте ☎️ +380735650500 ☎️ +380965650500"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1082,7 +882,7 @@
|
||||
"operations": [
|
||||
{
|
||||
"operation": "text",
|
||||
"text": "вул. Рокосовського 51",
|
||||
"text": "вул. Красносільського 59а",
|
||||
"fontSize": 56,
|
||||
"positionX": 550,
|
||||
"positionY": 750,
|
||||
@@ -1101,7 +901,7 @@
|
||||
"text": "={{$json[\"recount\"]}}!",
|
||||
"fontSize": 400,
|
||||
"fontColor": "#FF0000",
|
||||
"positionX": 900,
|
||||
"positionX": 850,
|
||||
"positionY": 500,
|
||||
"font": "/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf"
|
||||
}
|
||||
@@ -1129,8 +929,8 @@
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1400,
|
||||
620
|
||||
1500,
|
||||
440
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -1146,8 +946,8 @@
|
||||
"type": "n8n-nodes-base.ssh",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1900,
|
||||
620
|
||||
1880,
|
||||
440
|
||||
],
|
||||
"credentials": {
|
||||
"sshPassword": {
|
||||
@@ -1175,7 +975,7 @@
|
||||
},
|
||||
{
|
||||
"name": "caption",
|
||||
"value": "=⏱ Закінчується набір в групу \nДля реєстрації на навчання в нашій автошколі \nзаповніть форму 🎯 https://avtomoto25.cn.ua/booking/\nабо телефонуйте ☎️ +380735650500 ☎️ +380965650500"
|
||||
"value": "=⏱ Продовжується набір в групу за адресою вул. Рокосовського 51\nДля реєстрації на навчання в нашій автошколі \nзаповніть форму 🎯 https://avtomoto25.cn.ua/booking/\nабо телефонуйте ☎️ +380735650500 ☎️ +380965650500"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1185,8 +985,8 @@
|
||||
"type": "n8n-nodes-base.facebookGraphApi",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
2700,
|
||||
620
|
||||
2680,
|
||||
420
|
||||
],
|
||||
"credentials": {
|
||||
"facebookGraphApi": {
|
||||
@@ -1206,8 +1006,8 @@
|
||||
"type": "n8n-nodes-base.facebookGraphApi",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
2100,
|
||||
620
|
||||
2060,
|
||||
440
|
||||
],
|
||||
"credentials": {
|
||||
"facebookGraphApi": {
|
||||
@@ -1225,8 +1025,8 @@
|
||||
"type": "n8n-nodes-base.itemLists",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
2280,
|
||||
620
|
||||
2240,
|
||||
440
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -1244,8 +1044,8 @@
|
||||
"type": "n8n-nodes-base.if",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
2480,
|
||||
620
|
||||
2440,
|
||||
440
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -1255,7 +1055,7 @@
|
||||
"operations": [
|
||||
{
|
||||
"operation": "text",
|
||||
"text": "вул. Красносільського 59а",
|
||||
"text": "вул. Рокосовського 51",
|
||||
"fontSize": 56,
|
||||
"positionX": 550,
|
||||
"positionY": 750,
|
||||
@@ -1274,7 +1074,7 @@
|
||||
"text": "={{$json[\"recount\"]}}!",
|
||||
"fontSize": 400,
|
||||
"fontColor": "#FF0000",
|
||||
"positionX": 900,
|
||||
"positionX": 850,
|
||||
"positionY": 500,
|
||||
"font": "/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf"
|
||||
}
|
||||
@@ -1288,8 +1088,8 @@
|
||||
"type": "n8n-nodes-base.editImage",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1620,
|
||||
620
|
||||
1700,
|
||||
440
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -1348,7 +1148,7 @@
|
||||
},
|
||||
{
|
||||
"name": "caption",
|
||||
"value": "=⏱ Закінчується набір в групу \nДля реєстрації на навчання в нашій автошколі \nзаповніть форму 🎯 https://avtomoto25.cn.ua/booking/\nабо телефонуйте ☎️ +380735650500 ☎️ +380965650500"
|
||||
"value": "=⏱ Продовжується набір в групу за адресою Проспект Перемоги 39\nДля реєстрації на навчання в нашій автошколі \nзаповніть форму 🎯 https://avtomoto25.cn.ua/booking/\nабо телефонуйте ☎️ +380735650500 ☎️ +380965650500"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1447,7 +1247,7 @@
|
||||
"text": "={{$json[\"recount\"]}}!",
|
||||
"fontSize": 400,
|
||||
"fontColor": "#FF0000",
|
||||
"positionX": 900,
|
||||
"positionX": 850,
|
||||
"positionY": 500,
|
||||
"font": "/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf"
|
||||
}
|
||||
@@ -1464,6 +1264,68 @@
|
||||
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": {
|
||||
@@ -1478,39 +1340,6 @@
|
||||
]
|
||||
]
|
||||
},
|
||||
"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 API2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTTP Request2": {
|
||||
"main": [
|
||||
[
|
||||
@@ -1734,39 +1563,6 @@
|
||||
]
|
||||
]
|
||||
},
|
||||
"Get Pages2": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Split Pages2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Split Pages2": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Is Tom Travels?2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Is Tom Travels?2": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Facebook Graph API5",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"prospect1": {
|
||||
"main": [
|
||||
[
|
||||
@@ -1815,7 +1611,7 @@
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request6",
|
||||
"node": "IF2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
@@ -1881,7 +1677,7 @@
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request5",
|
||||
"node": "IF1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
@@ -1969,7 +1765,7 @@
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request",
|
||||
"node": "Switch",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
@@ -2041,10 +1837,43 @@
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"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-27T11:51:38.022Z",
|
||||
"updatedAt": "2022-06-29T12:49:56.735Z",
|
||||
"settings": {
|
||||
"errorWorkflow": "25"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user