Auto backup (2022-08-10T21:00:50.909Z)

This commit is contained in:
nia
2022-08-10 21:00:50 +00:00
parent a2f07b5d22
commit 859009d6e8
5 changed files with 372 additions and 292 deletions

View File

@@ -29,16 +29,16 @@
"type": "n8n-nodes-base.googleCalendar",
"typeVersion": 1,
"position": [
740,
1200
900,
1240
],
"id": "0c5700bc-6c4b-4cc9-8982-f77ce4128278",
"credentials": {
"googleCalendarOAuth2Api": {
"id": "6",
"name": "Google Calendar account"
}
},
"id": "0c5700bc-6c4b-4cc9-8982-f77ce4128278"
}
},
{
"parameters": {
@@ -126,13 +126,13 @@
1360,
760
],
"id": "ba87c294-dace-47b1-b786-a717e77263af",
"credentials": {
"sshPassword": {
"id": "14",
"name": "SSH Password account"
}
},
"id": "ba87c294-dace-47b1-b786-a717e77263af"
}
},
{
"parameters": {
@@ -148,13 +148,13 @@
1540,
760
],
"id": "35184246-030a-40d8-9399-b39195dbe2cb",
"credentials": {
"facebookGraphApi": {
"id": "36",
"name": "Facebook Graph account"
}
},
"id": "35184246-030a-40d8-9399-b39195dbe2cb"
}
},
{
"parameters": {
@@ -222,13 +222,13 @@
2120,
740
],
"id": "63148b43-ff08-4848-94b7-e1e550e2cfd4",
"credentials": {
"facebookGraphApi": {
"id": "36",
"name": "Facebook Graph account"
}
},
"id": "63148b43-ff08-4848-94b7-e1e550e2cfd4"
}
},
{
"parameters": {
@@ -304,7 +304,7 @@
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 2,
"position": [
300,
280,
700
],
"id": "9318bb14-5178-487e-9f03-2b856862ffef"
@@ -492,13 +492,13 @@
-920,
1020
],
"id": "7832ddae-6848-47d8-a259-e1124e4af058",
"credentials": {
"gristApi": {
"id": "21",
"name": "Grist account"
}
},
"id": "7832ddae-6848-47d8-a259-e1124e4af058"
}
},
{
"parameters": {
@@ -514,13 +514,13 @@
-260,
1220
],
"id": "7ac3ad33-9526-4711-b887-ef97f1a7a6ff",
"credentials": {
"gristApi": {
"id": "21",
"name": "Grist account"
}
},
"id": "7ac3ad33-9526-4711-b887-ef97f1a7a6ff"
}
},
{
"parameters": {
@@ -552,6 +552,133 @@
],
"id": "e4f2cb6d-3f82-4a84-be9d-f8b30bfa3e66"
},
{
"parameters": {
"mode": "removeKeyMatches",
"propertyName1": "date.google",
"propertyName2": "date"
},
"name": "Merge1",
"type": "n8n-nodes-base.merge",
"typeVersion": 1,
"position": [
-40,
1120
],
"id": "7a0dd986-ac22-4f33-af9b-36201e33c1fd"
},
{
"parameters": {
"operation": "update",
"calendar": "hvttbe9pijtp5c3iqiaj1rfvps%40group.calendar.google.com",
"eventId": "397fskc0hc9vfl1dqffnbjlm7k",
"updateFields": {
"allday": "yes",
"end": "= {{$json[\"date\"][\"google\"]}} 23:00:00",
"start": "= {{$json[\"date\"][\"google\"]}} 01:00:00"
}
},
"name": "Google Calendar1",
"type": "n8n-nodes-base.googleCalendar",
"typeVersion": 1,
"position": [
900,
1460
],
"id": "752895fb-5f54-4b42-803a-d49a6aa1c572",
"credentials": {
"googleCalendarOAuth2Api": {
"id": "6",
"name": "Google Calendar account"
}
}
},
{
"parameters": {
"operation": "update",
"docId": "tAuWNMisjXqyEkYudRcA2c",
"tableId": "Classrooms",
"rowId": "3",
"fieldsToSend": {
"properties": [
{
"fieldId": "date",
"fieldValue": "={{$json[\"date\"][\"google\"]}}"
}
]
}
},
"name": "prospect4",
"type": "n8n-nodes-base.grist",
"typeVersion": 1,
"position": [
740,
1540
],
"id": "6b34fef6-2a8c-4a33-bb4d-450dabc88ed3",
"credentials": {
"gristApi": {
"id": "21",
"name": "Grist account"
}
}
},
{
"parameters": {
"operation": "update",
"calendar": "hvttbe9pijtp5c3iqiaj1rfvps%40group.calendar.google.com",
"eventId": "3ptu0erou5f816kglu1f2p0p28",
"updateFields": {
"allday": "yes",
"end": "= {{$json[\"date\"][\"google\"]}} 23:00:00",
"start": "= {{$json[\"date\"][\"google\"]}} 01:00:00"
}
},
"name": "Google Calendar2",
"type": "n8n-nodes-base.googleCalendar",
"typeVersion": 1,
"position": [
900,
1660
],
"id": "9676ecd6-ec60-45e2-9242-24e41e939825",
"credentials": {
"googleCalendarOAuth2Api": {
"id": "6",
"name": "Google Calendar account"
}
}
},
{
"parameters": {
"dataType": "string",
"value1": "={{ $json[\"class\"] }}",
"rules": {
"rules": [
{
"value2": "вул. Рокосовського 51"
},
{
"value2": "вул. Красносільського 59а",
"output": 1
},
{
"value2": "Проспект Перемоги 39",
"output": 2
}
]
},
"fallbackOutput": 3
},
"name": "Switch1",
"type": "n8n-nodes-base.switch",
"typeVersion": 1,
"position": [
-20,
380
],
"id": "0f621523-9c76-4f5a-9d7e-ce6d3f2ada7e"
},
{
"parameters": {
"operation": "update",
@@ -588,46 +715,39 @@
"fieldId": "day_2_ru",
"fieldValue": "={{$json[\"schedule\"][\"ru\"][\"day2\"]}}"
},
{
"fieldId": "date",
"fieldValue": "={{$json[\"date\"][\"google\"]}}"
},
{
"fieldId": "time_2",
"fieldValue": "={{$json[\"schedule\"][\"time\"][\"day2\"]}}"
},
{
"fieldId": "time_3",
"fieldValue": "={{$json[\"schedule\"][\"time\"][\"day3\"]}}"
},
{
"fieldId": "day_3_ua",
"fieldValue": "={{$json[\"schedule\"][\"ua\"][\"day3\"]}}"
},
{
"fieldId": "day_3_ru",
"fieldValue": "={{$json[\"schedule\"][\"ru\"][\"day3\"]}}"
}
]
}
},
"name": "prospect2",
"name": "rokoss",
"type": "n8n-nodes-base.grist",
"typeVersion": 1,
"position": [
1240,
1120
300,
200
],
"id": "17299003-a510-4b94-94ee-550b1f05a5a8",
"credentials": {
"gristApi": {
"id": "21",
"name": "Grist account"
}
},
"id": "d24dcd6b-f65e-4046-9ac1-62ea31008ccd"
},
{
"parameters": {
"mode": "removeKeyMatches",
"propertyName1": "date.google",
"propertyName2": "date"
},
"name": "Merge1",
"type": "n8n-nodes-base.merge",
"typeVersion": 1,
"position": [
-40,
1120
],
"id": "7a0dd986-ac22-4f33-af9b-36201e33c1fd"
}
},
{
"parameters": {
@@ -665,57 +785,99 @@
"fieldId": "day_2_ru",
"fieldValue": "={{$json[\"schedule\"][\"ru\"][\"day2\"]}}"
},
{
"fieldId": "date",
"fieldValue": "={{$json[\"date\"][\"google\"]}}"
},
{
"fieldId": "time_2",
"fieldValue": "={{$json[\"schedule\"][\"time\"][\"day2\"]}}"
},
{
"fieldId": "time_3",
"fieldValue": "={{$json[\"schedule\"][\"time\"][\"day3\"]}}"
},
{
"fieldId": "day_3_ua",
"fieldValue": "={{$json[\"schedule\"][\"ua\"][\"day3\"]}}"
},
{
"fieldId": "day_3_ru",
"fieldValue": "={{$json[\"schedule\"][\"ru\"][\"day3\"]}}"
}
]
}
},
"name": "prospect3",
"name": "masani",
"type": "n8n-nodes-base.grist",
"typeVersion": 1,
"position": [
1240,
1360
300,
360
],
"id": "a91fe67c-3106-440a-a43d-0a36174b8bb8",
"credentials": {
"gristApi": {
"id": "21",
"name": "Grist account"
}
},
"id": "7abb537e-bc34-424d-8fde-0c94e4f6bf84"
}
},
{
"parameters": {
"operation": "update",
"calendar": "hvttbe9pijtp5c3iqiaj1rfvps%40group.calendar.google.com",
"eventId": "397fskc0hc9vfl1dqffnbjlm7k",
"updateFields": {
"allday": "yes",
"end": "= {{$json[\"date\"][\"google\"]}} 23:00:00",
"start": "= {{$json[\"date\"][\"google\"]}} 01:00:00"
"docId": "tAuWNMisjXqyEkYudRcA2c",
"tableId": "Classrooms",
"rowId": "1",
"fieldsToSend": {
"properties": [
{
"fieldId": "date",
"fieldValue": "={{$json[\"date\"][\"google\"]}}"
}
]
}
},
"name": "Google Calendar1",
"type": "n8n-nodes-base.googleCalendar",
"name": "rokoss1",
"type": "n8n-nodes-base.grist",
"typeVersion": 1,
"position": [
740,
1480
1160
],
"id": "082d350c-f3eb-4a54-8fca-a98e14b1d8e7",
"credentials": {
"googleCalendarOAuth2Api": {
"id": "6",
"name": "Google Calendar account"
"gristApi": {
"id": "21",
"name": "Grist account"
}
}
},
{
"parameters": {
"operation": "update",
"docId": "tAuWNMisjXqyEkYudRcA2c",
"tableId": "Classrooms",
"rowId": "2",
"fieldsToSend": {
"properties": [
{
"fieldId": "date",
"fieldValue": "={{$json[\"date\"][\"google\"]}}"
}
]
}
},
"id": "752895fb-5f54-4b42-803a-d49a6aa1c572"
"name": "masani1",
"type": "n8n-nodes-base.grist",
"typeVersion": 1,
"position": [
740,
1340
],
"id": "254c2673-0c28-4405-8bf7-3b4cffd824af",
"credentials": {
"gristApi": {
"id": "21",
"name": "Grist account"
}
}
},
{
"parameters": {
@@ -753,110 +915,6 @@
"fieldId": "day_2_ru",
"fieldValue": "={{$json[\"schedule\"][\"ru\"][\"day2\"]}}"
},
{
"fieldId": "date",
"fieldValue": "={{$json[\"date\"][\"google\"]}}"
},
{
"fieldId": "time_2",
"fieldValue": "={{$json[\"schedule\"][\"time\"][\"day2\"]}}"
},
{
"fieldId": "time_3",
"fieldValue": "={{$json[\"schedule\"][\"time\"][\"day3\"]}}"
},
{
"fieldId": "day_3_ua",
"fieldValue": "={{$json[\"schedule\"][\"ua\"][\"day3\"]}}"
},
{
"fieldId": "day_3_ru",
"fieldValue": "={{$json[\"schedule\"][\"ru\"][\"day3\"]}}"
}
]
}
},
"name": "prospect4",
"type": "n8n-nodes-base.grist",
"typeVersion": 1,
"position": [
740,
1640
],
"credentials": {
"gristApi": {
"id": "21",
"name": "Grist account"
}
},
"id": "6b34fef6-2a8c-4a33-bb4d-450dabc88ed3"
},
{
"parameters": {
"operation": "update",
"calendar": "hvttbe9pijtp5c3iqiaj1rfvps%40group.calendar.google.com",
"eventId": "3ptu0erou5f816kglu1f2p0p28",
"updateFields": {
"allday": "yes",
"end": "= {{$json[\"date\"][\"google\"]}} 23:00:00",
"start": "= {{$json[\"date\"][\"google\"]}} 01:00:00"
}
},
"name": "Google Calendar2",
"type": "n8n-nodes-base.googleCalendar",
"typeVersion": 1,
"position": [
740,
1780
],
"credentials": {
"googleCalendarOAuth2Api": {
"id": "6",
"name": "Google Calendar account"
}
},
"id": "9676ecd6-ec60-45e2-9242-24e41e939825"
},
{
"parameters": {
"operation": "update",
"docId": "tAuWNMisjXqyEkYudRcA2c",
"tableId": "Classrooms",
"rowId": "1",
"fieldsToSend": {
"properties": [
{
"fieldId": "date_ru",
"fieldValue": "={{$json[\"date\"][\"ru\"]}}"
},
{
"fieldId": "date_ua",
"fieldValue": "={{$json[\"date\"][\"ua\"]}}"
},
{
"fieldId": "day_1_ua",
"fieldValue": "={{$json[\"schedule\"][\"ua\"][\"day1\"]}}"
},
{
"fieldId": "day_2_ua",
"fieldValue": "={{$json[\"schedule\"][\"ua\"][\"day2\"]}}"
},
{
"fieldId": "time",
"fieldValue": "={{$json[\"schedule\"][\"time\"][\"day1\"]}}"
},
{
"fieldId": "day_1_ru",
"fieldValue": "={{$json[\"schedule\"][\"ru\"][\"day1\"]}}"
},
{
"fieldId": "day_2_ru",
"fieldValue": "={{$json[\"schedule\"][\"ru\"][\"day2\"]}}"
},
{
"fieldId": "date",
"fieldValue": "={{$json[\"date\"][\"google\"]}}"
},
{
"fieldId": "time_2",
"fieldValue": "={{$json[\"schedule\"][\"time\"][\"day2\"]}}"
@@ -880,90 +938,16 @@
"type": "n8n-nodes-base.grist",
"typeVersion": 1,
"position": [
740,
1060
300,
500
],
"id": "d942b361-bcf7-4e8f-aa68-68f3a44350d7",
"credentials": {
"gristApi": {
"id": "21",
"name": "Grist account"
}
},
"id": "843b203b-db0d-49ab-a3a4-ec9071f22560"
},
{
"parameters": {
"operation": "update",
"docId": "tAuWNMisjXqyEkYudRcA2c",
"tableId": "Classrooms",
"rowId": "2",
"fieldsToSend": {
"properties": [
{
"fieldId": "date_ru",
"fieldValue": "={{$json[\"date\"][\"ru\"]}}"
},
{
"fieldId": "date_ua",
"fieldValue": "={{$json[\"date\"][\"ua\"]}}"
},
{
"fieldId": "day_1_ua",
"fieldValue": "={{$json[\"schedule\"][\"ua\"][\"day1\"]}}"
},
{
"fieldId": "day_2_ua",
"fieldValue": "={{$json[\"schedule\"][\"ua\"][\"day2\"]}}"
},
{
"fieldId": "time",
"fieldValue": "={{$json[\"schedule\"][\"time\"][\"day1\"]}}"
},
{
"fieldId": "day_1_ru",
"fieldValue": "={{$json[\"schedule\"][\"ru\"][\"day1\"]}}"
},
{
"fieldId": "day_2_ru",
"fieldValue": "={{$json[\"schedule\"][\"ru\"][\"day2\"]}}"
},
{
"fieldId": "date",
"fieldValue": "={{$json[\"date\"][\"google\"]}}"
},
{
"fieldId": "time_2",
"fieldValue": "={{$json[\"schedule\"][\"time\"][\"day2\"]}}"
},
{
"fieldId": "time_3",
"fieldValue": "={{$json[\"schedule\"][\"time\"][\"day3\"]}}"
},
{
"fieldId": "day_3_ua",
"fieldValue": "={{$json[\"schedule\"][\"ua\"][\"day3\"]}}"
},
{
"fieldId": "day_3_ru",
"fieldValue": "={{$json[\"schedule\"][\"ru\"][\"day3\"]}}"
}
]
}
},
"name": "prospect5",
"type": "n8n-nodes-base.grist",
"typeVersion": 1,
"position": [
740,
1340
],
"credentials": {
"gristApi": {
"id": "21",
"name": "Grist account"
}
},
"id": "254c2673-0c28-4405-8bf7-3b4cffd824af"
}
}
],
"connections": {
@@ -1128,6 +1112,11 @@
"node": "Merge1",
"type": "main",
"index": 0
},
{
"node": "Switch1",
"type": "main",
"index": 0
}
]
]
@@ -1163,7 +1152,7 @@
"index": 0
},
{
"node": "prospect",
"node": "rokoss1",
"type": "main",
"index": 0
}
@@ -1175,7 +1164,7 @@
"index": 0
},
{
"node": "prospect5",
"node": "masani1",
"type": "main",
"index": 0
}
@@ -1209,10 +1198,35 @@
}
]
]
},
"Switch1": {
"main": [
[
{
"node": "rokoss",
"type": "main",
"index": 0
}
],
[
{
"node": "masani",
"type": "main",
"index": 0
}
],
[
{
"node": "prospect",
"type": "main",
"index": 0
}
]
]
}
},
"createdAt": "2022-07-22T17:53:56.513Z",
"updatedAt": "2022-08-03T13:07:10.511Z",
"updatedAt": "2022-08-10T12:21:20.493Z",
"settings": {
"errorWorkflow": "25"
},