{ "id": 11, "name": "avtomoto25", "active": true, "nodes": [ { "parameters": {}, "name": "Start", "type": "n8n-nodes-base.start", "typeVersion": 1, "position": [ -560, 140 ] }, { "parameters": { "url": "https://note.cynic.club/shares/mrU4F6JyiyTZLwf87Phrbb", "responseFormat": "string", "options": {} }, "name": "HTTP Request", "type": "n8n-nodes-base.httpRequest", "typeVersion": 1, "position": [ -320, 320 ] }, { "parameters": { "extractionValues": { "values": [ { "key": "data", "cssSelector": "li", "returnArray": true } ] }, "options": {} }, "name": "HTML Extract", "type": "n8n-nodes-base.htmlExtract", "typeVersion": 1, "position": [ -120, 320 ] }, { "parameters": { "keepOnlySet": true, "values": { "string": [ { "name": "rokoss", "value": "={{$json[\"data\"][0]}}" }, { "name": "prospect", "value": "={{$json[\"data\"][4]}}" }, { "name": "masani", "value": "={{$json[\"data\"][2]}}" } ] }, "options": {} }, "name": "Set", "type": "n8n-nodes-base.set", "typeVersion": 1, "position": [ 100, -220 ], "disabled": true }, { "parameters": { "operation": "update", "calendar": "hvttbe9pijtp5c3iqiaj1rfvps%40group.calendar.google.com", "eventId": "397fskc0hc9vfl1dqffnbjlm7k", "updateFields": { "allday": "yes", "end": "={{$json[\"date\"]}} 23:00:00", "start": "={{$json[\"date\"]}} 01:00:00" } }, "name": "Google Calendar2", "type": "n8n-nodes-base.googleCalendar", "typeVersion": 1, "position": [ 1460, 820 ], "credentials": { "googleCalendarOAuth2Api": { "id": "6", "name": "Google Calendar account" } } }, { "parameters": { "operation": "update", "calendar": "hvttbe9pijtp5c3iqiaj1rfvps%40group.calendar.google.com", "eventId": "31g2bcqsnqavh7e5deusa8b2oq\t", "updateFields": { "allday": "yes", "end": "={{$json[\"date\"]}} 23:00:00", "start": "={{$json[\"google\"][\"rokoss\"]}} 01:00:00" } }, "name": "Google Calendar", "type": "n8n-nodes-base.googleCalendar", "typeVersion": 1, "position": [ 1440, 640 ], "credentials": { "googleCalendarOAuth2Api": { "id": "6", "name": "Google Calendar account" } } }, { "parameters": { "operation": "update", "calendar": "hvttbe9pijtp5c3iqiaj1rfvps%40group.calendar.google.com", "eventId": "3ptu0erou5f816kglu1f2p0p28", "updateFields": { "allday": "yes", "end": "={{$json[\"date\"]}} 23:00:00", "start": "={{$json[\"google\"][\"prospect\"]}} 01:00:00" } }, "name": "Google Calendar3", "type": "n8n-nodes-base.googleCalendar", "typeVersion": 1, "position": [ 1460, 1040 ], "credentials": { "googleCalendarOAuth2Api": { "id": "6", "name": "Google Calendar account" } } }, { "parameters": { "url": "https://avtomoto25.cn.ua/wp-content/uploads/new_data.jpg", "responseFormat": "file", "options": {} }, "name": "HTTP Request1", "type": "n8n-nodes-base.httpRequest", "typeVersion": 1, "position": [ 640, -240 ], "disabled": true }, { "parameters": { "operation": "multiStep", "operations": { "operations": [ { "operation": "text", "text": "вул. Красносільского 59а", "fontSize": 48, "fontColor": "#FFFFFF", "positionY": 580 }, { "operation": "text", "text": "=Початок занять {{$json[\"masani\"]}}", "fontSize": 56, "fontColor": "#FFFFFF", "positionY": 650 }, {} ] }, "options": {} }, "name": "Edit Image", "type": "n8n-nodes-base.editImage", "typeVersion": 1, "position": [ 940, -220 ], "disabled": true }, { "parameters": { "conditions": { "string": [ { "value1": "={{$json[\"date\"]}}", "operation": "notEqual", "value2": "={{$json[\"start\"][\"date\"]}}" } ] } }, "name": "IF", "type": "n8n-nodes-base.if", "typeVersion": 1, "position": [ 1220, 840 ] }, { "parameters": { "mode": "mergeByIndex" }, "name": "Merge", "type": "n8n-nodes-base.merge", "typeVersion": 1, "position": [ 940, 840 ] }, { "parameters": { "resource": "file", "binaryPropertyName": "=data", "path": "/var/www/html/driving_school/wp-content/uploads/", "options": { "fileName": "new_data_massani.jpg" } }, "name": "SSH", "type": "n8n-nodes-base.ssh", "typeVersion": 1, "position": [ 1220, -220 ], "credentials": { "sshPassword": { "id": "14", "name": "SSH Password account" } }, "disabled": true }, { "parameters": { "mode": "mergeByIndex" }, "name": "Merge1", "type": "n8n-nodes-base.merge", "typeVersion": 1, "position": [ 940, 1040 ] }, { "parameters": { "conditions": { "string": [ { "value1": "={{$json[\"date\"]}}", "operation": "notEqual", "value2": "={{$json[\"start\"][\"date\"]}}" } ] } }, "name": "IF1", "type": "n8n-nodes-base.if", "typeVersion": 1, "position": [ 1220, 1040 ] }, { "parameters": { "mode": "mergeByIndex" }, "name": "Merge2", "type": "n8n-nodes-base.merge", "typeVersion": 1, "position": [ 940, 660 ] }, { "parameters": { "conditions": { "string": [ { "value1": "={{$json[\"date\"]}}", "operation": "notEqual", "value2": "={{$json[\"start\"][\"date\"]}}" } ] } }, "name": "IF2", "type": "n8n-nodes-base.if", "typeVersion": 1, "position": [ 1220, 660 ] }, { "parameters": { "path": "scool", "responseMode": "responseNode", "options": {} }, "name": "Webhook", "type": "n8n-nodes-base.webhook", "typeVersion": 1, "position": [ -1060, 960 ], "webhookId": "42d23674-abe0-4cb4-a158-3319140d97f0" }, { "parameters": { "respondWith": "json", "responseBody": "={ \"data\": \n { \"data_rokoss\":\n {\n \"ru\": \"{{$json[\"date\"][\"rokoss_ru\"]}}\",\n \"ua\": \"{{$json[\"date\"][\"rokoss_ua\"]}}\"\n },\n \n \"data_masani\":\n {\n \"ru\": \"{{$json[\"date\"][\"masani_ru\"]}}\",\n \"ua\": \"{{$json[\"date\"][\"masani_ua\"]}}\"\n },\n \"data_prospect\":\n {\n \"ru\": \"{{$json[\"date\"][\"prospect_ru\"]}}\",\n \"ua\": \"{{$json[\"date\"][\"prospect_ua\"]}}\"\n } \n },\n \"count\":\n {\n \"rokoss\": \"{{$json[\"count\"][\"rokoss\"]}}\",\n \"masani\": \"{{$json[\"count\"][\"masani\"]}}\",\n \"prospect\": \"{{$json[\"count\"][\"prospect\"]}}\"\n}\n}", "options": { "responseCode": 200 } }, "name": "Respond to Webhook", "type": "n8n-nodes-base.respondToWebhook", "typeVersion": 1, "position": [ 680, 0 ], "disabled": true }, { "parameters": { "keepOnlySet": true, "values": { "string": [ { "name": "date.rokoss_ua", "value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").setLocale('uk').toFormat('dd MMMM yyyy року')}}" }, { "name": "date.rokoss_ru", "value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").setLocale('ru').toFormat('dd MMMM yyyy года')}}" }, { "name": "date.prospect_ua", "value": "={{DateTime.fromFormat($json[\"data\"][4], \"dd.MM.yyyy\").setLocale('uk').toFormat('dd MMMM yyyy року')}}" }, { "name": "date.prospect_ru", "value": "={{DateTime.fromFormat($json[\"data\"][4], \"dd.MM.yyyy\").setLocale('ru').toFormat('dd MMMM yyyy года')}}" }, { "name": "date.masani_ua", "value": "={{DateTime.fromFormat($json[\"data\"][2], \"dd.MM.yyyy\").setLocale('uk').toFormat('dd MMMM yyyy року')}}" }, { "name": "date.masani_ru", "value": "={{DateTime.fromFormat($json[\"data\"][2], \"dd.MM.yyyy\").setLocale('ru').toFormat('dd MMMM yyyy года')}}" }, { "name": "count.rokoss", "value": "={{$json[\"data\"][1]}}" }, { "name": "count.masani", "value": "={{$json[\"data\"][3]}}" }, { "name": "count.prospect", "value": "={{$json[\"data\"][5]}}" }, { "name": "google.rokoss", "value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").toISODate()}}" }, { "name": "google.prospect", "value": "={{DateTime.fromFormat($json[\"data\"][4], \"dd.MM.yyyy\").toISODate()}}" }, { "name": "google.masani", "value": "={{DateTime.fromFormat($json[\"data\"][2], \"dd.MM.yyyy\").toISODate()}}" } ] }, "options": { "dotNotation": true } }, "name": "Set1", "type": "n8n-nodes-base.set", "typeVersion": 1, "position": [ 80, 320 ] }, { "parameters": { "operation": "get", "calendar": "hvttbe9pijtp5c3iqiaj1rfvps%40group.calendar.google.com", "eventId": "3ptu0erou5f816kglu1f2p0p28", "options": {} }, "name": "Проспект Перемоги 39", "type": "n8n-nodes-base.googleCalendar", "typeVersion": 1, "position": [ 660, 1100 ], "credentials": { "googleCalendarOAuth2Api": { "id": "6", "name": "Google Calendar account" } } }, { "parameters": { "operation": "get", "calendar": "hvttbe9pijtp5c3iqiaj1rfvps%40group.calendar.google.com", "eventId": "31g2bcqsnqavh7e5deusa8b2oq\t", "options": {} }, "name": "вул. Рокосовського 51", "type": "n8n-nodes-base.googleCalendar", "typeVersion": 1, "position": [ 660, 720 ], "credentials": { "googleCalendarOAuth2Api": { "id": "6", "name": "Google Calendar account" } } }, { "parameters": { "operation": "get", "calendar": "hvttbe9pijtp5c3iqiaj1rfvps%40group.calendar.google.com", "eventId": "397fskc0hc9vfl1dqffnbjlm7k", "options": {} }, "name": "вул. Красносільского 59а", "type": "n8n-nodes-base.googleCalendar", "typeVersion": 1, "position": [ 660, 900 ], "credentials": { "googleCalendarOAuth2Api": { "id": "6", "name": "Google Calendar account" } } }, { "parameters": { "url": "https://note.cynic.club/shares/sJeGN4mi8Xgto8A85QS027", "responseFormat": "string", "options": {} }, "name": "HTTP Request2", "type": "n8n-nodes-base.httpRequest", "typeVersion": 1, "position": [ -500, 640 ] }, { "parameters": { "extractionValues": { "values": [ { "key": "data", "cssSelector": "li", "returnArray": true }, { "key": "schedule", "cssSelector": "label.checkbox-label-checked", "returnArray": true } ] }, "options": {} }, "name": "HTML Extract1", "type": "n8n-nodes-base.htmlExtract", "typeVersion": 1, "position": [ -280, 640 ] }, { "parameters": { "keepOnlySet": true, "values": { "string": [ { "name": "date.ua", "value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").setLocale('uk').toFormat('dd MMMM yyyy року')}}" }, { "name": "date.ru", "value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").setLocale('ru').toFormat('dd MMMM yyyy года')}}" }, { "name": "count", "value": "={{$json[\"data\"][1]}}" }, { "name": "date.google", "value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").toISODate()}}" }, { "name": "schedule.ua.day1", "value": "={{$json[\"schedule\"][0]}}" }, { "name": "schedule.ua.day2", "value": "={{$json[\"schedule\"][1]}}" }, { "name": "schedule.ru.day1", "value": "={{$json[\"schedule\"][0].replace(\"понеділок\", \"понедельник\").replace(\"вівторок\", \"вторник\").replace(\"середа\", \"среда\").replace(\"четвер\", \"четверг\").replace(\"п’ятниця\", \"пятница\").replace(\"субота\", \"суббота\").replace(\"неділя\", \"воскресенье\")}}" }, { "name": "schedule.ru.day2", "value": "={{$json[\"schedule\"][1].replace(\"понеділок\", \"понедельник\").replace(\"вівторок\", \"вторник\").replace(\"середа\", \"среда\").replace(\"четвер\", \"четверг\").replace(\"п’ятниця\", \"пятница\").replace(\"субота\", \"суббота\").replace(\"неділя\", \"воскресенье\")}}" }, { "name": "schedule.time", "value": "={{$json[\"data\"][9]}}" } ] }, "options": { "dotNotation": true } }, "name": "Set2", "type": "n8n-nodes-base.set", "typeVersion": 1, "position": [ -20, 640 ] }, { "parameters": { "respondWith": "json", "responseBody": "={ \"data\": \n { \"data_rokoss\":\n {\n \"ru\": \"{{$json[\"date\"][\"rokoss_ru\"]}}\",\n \"ua\": \"{{$json[\"date\"][\"rokoss_ua\"]}}\"\n },\n \n \"data_masani\":\n {\n \"ru\": \"{{$json[\"date\"][\"masani_ru\"]}}\",\n \"ua\": \"{{$json[\"date\"][\"masani_ua\"]}}\"\n },\n \"data_prospect\":\n {\n \"ru\": \"{{$json[\"date\"][\"prospect_ru\"]}}\",\n \"ua\": \"{{$json[\"date\"][\"prospect_ua\"]}}\"\n } \n },\n \"count\":\n {\n \"rokoss\": \"{{$json[\"count\"][\"rokoss\"]}}\",\n \"masani\": \"{{$json[\"count\"][\"masani\"]}}\",\n \"prospect\": \"{{$json[\"count\"][\"prospect\"]}}\"\n}\n}", "options": { "responseCode": 200 } }, "name": "Respond to Webhook1", "type": "n8n-nodes-base.respondToWebhook", "typeVersion": 1, "position": [ 360, 120 ], "disabled": true }, { "parameters": { "docId": "tAuWNMisjXqyEkYudRcA2c", "tableId": "Classrooms", "returnAll": true, "additionalOptions": {} }, "name": "Grist", "type": "n8n-nodes-base.grist", "typeVersion": 1, "position": [ -520, 1300 ], "credentials": { "gristApi": { "id": "21", "name": "Grist account" } } }, { "parameters": { "path": "scool/rokoss", "responseMode": "responseNode", "options": { "responseHeaders": { "entries": [ { "name": "Content-Type", "value": "application/json" } ] } } }, "name": "Webhook1", "type": "n8n-nodes-base.webhook", "typeVersion": 1, "position": [ -1180, 400 ], "webhookId": "8c8f9603-e1c2-43e9-9064-be76e9cdf76c", "disabled": true }, { "parameters": { "url": "https://note.cynic.club/shares/wjFwc3x9h7lDRK9BlubQC0", "responseFormat": "string", "options": {} }, "name": "HTTP Request3", "type": "n8n-nodes-base.httpRequest", "typeVersion": 1, "position": [ -500, 820 ] }, { "parameters": { "extractionValues": { "values": [ { "key": "data", "cssSelector": "li", "returnArray": true }, { "key": "schedule", "cssSelector": "label.checkbox-label-checked", "returnArray": true } ] }, "options": {} }, "name": "HTML Extract2", "type": "n8n-nodes-base.htmlExtract", "typeVersion": 1, "position": [ -280, 820 ] }, { "parameters": { "keepOnlySet": true, "values": { "string": [ { "name": "date.ua", "value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").setLocale('uk').toFormat('dd MMMM yyyy року')}}" }, { "name": "date.ru", "value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").setLocale('ru').toFormat('dd MMMM yyyy года')}}" }, { "name": "count", "value": "={{$json[\"data\"][1]}}" }, { "name": "date.google", "value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").toISODate()}}" }, { "name": "schedule.ua.day1", "value": "={{$json[\"schedule\"][0]}}" }, { "name": "schedule.ua.day2", "value": "={{$json[\"schedule\"][1]}}" }, { "name": "schedule.ru.day1", "value": "={{$json[\"schedule\"][0].replace(\"понеділок\", \"понедельник\").replace(\"вівторок\", \"вторник\").replace(\"середа\", \"среда\").replace(\"четвер\", \"четверг\").replace(\"п’ятниця\", \"пятница\").replace(\"субота\", \"суббота\").replace(\"неділя\", \"воскресенье\")}}" }, { "name": "schedule.ru.day2", "value": "={{$json[\"schedule\"][1].replace(\"понеділок\", \"понедельник\").replace(\"вівторок\", \"вторник\").replace(\"середа\", \"среда\").replace(\"четвер\", \"четверг\").replace(\"п’ятниця\", \"пятница\").replace(\"субота\", \"суббота\").replace(\"неділя\", \"воскресенье\")}}" }, { "name": "schedule.time", "value": "={{$json[\"data\"][9]}}" } ] }, "options": { "dotNotation": true } }, "name": "Set3", "type": "n8n-nodes-base.set", "typeVersion": 1, "position": [ -20, 820 ] }, { "parameters": { "url": "https://note.cynic.club/shares/978uO9kCnw65J1TMaH0XeR", "responseFormat": "string", "options": {} }, "name": "HTTP Request4", "type": "n8n-nodes-base.httpRequest", "typeVersion": 1, "position": [ -500, 1020 ] }, { "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": [ -280, 1020 ] }, { "parameters": { "keepOnlySet": true, "values": { "string": [ { "name": "date.ua", "value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").setLocale('uk').toFormat('dd MMMM yyyy року')}}" }, { "name": "date.ru", "value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").setLocale('ru').toFormat('dd MMMM yyyy года')}}" }, { "name": "count", "value": "={{$json[\"data\"][1]}}" }, { "name": "date.google", "value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").toISODate()}}" }, { "name": "schedule.ua.day1", "value": "={{$json[\"schedule\"][0]}}" }, { "name": "schedule.ua.day2", "value": "={{$json[\"schedule\"][1]}}" }, { "name": "schedule.ru.day1", "value": "={{$json[\"schedule\"][0].replace(\"понеділок\", \"понедельник\").replace(\"вівторок\", \"вторник\").replace(\"середа\", \"среда\").replace(\"четвер\", \"четверг\").replace(\"п’ятниця\", \"пятница\").replace(\"субота\", \"суббота\").replace(\"неділя\", \"воскресенье\")}}" }, { "name": "schedule.ru.day2", "value": "={{$json[\"schedule\"][1].replace(\"понеділок\", \"понедельник\").replace(\"вівторок\", \"вторник\").replace(\"середа\", \"среда\").replace(\"четвер\", \"четверг\").replace(\"п’ятниця\", \"пятница\").replace(\"субота\", \"суббота\").replace(\"неділя\", \"воскресенье\")}}" }, { "name": "schedule.time", "value": "={{$json[\"data\"][9]}}" } ] }, "options": { "dotNotation": true } }, "name": "Set4", "type": "n8n-nodes-base.set", "typeVersion": 1, "position": [ -20, 1020 ] }, { "parameters": { "operation": "aggregateItems", "fieldsToAggregate": { "fieldToAggregate": [ { "fieldToAggregate": "id" }, { "fieldToAggregate": "date_ru" }, { "fieldToAggregate": "date_ua" }, { "fieldToAggregate": "count" }, { "fieldToAggregate": "time" }, { "fieldToAggregate": "day_2_ua" }, { "fieldToAggregate": "day_1_ua" }, { "fieldToAggregate": "day_1_ru" }, { "fieldToAggregate": "day_2_ru" }, { "fieldToAggregate": "address" } ] }, "options": {} }, "name": "Item Lists", "type": "n8n-nodes-base.itemLists", "typeVersion": 1, "position": [ -220, 1300 ] }, { "parameters": { "respondWith": "json", "responseBody": "={ \"data\": \n { \"data_rokoss\":\n {\n \"ru\": \"{{$json[\"date_ru\"][0]}}\",\n \"ua\": \"{{$json[\"date_ua\"][0]}}\"\n },\n \n \"data_masani\":\n {\n \"ru\": \"{{$json[\"date_ru\"][1]}}\",\n \"ua\": \"{{$json[\"date_ua\"][1]}}\"\n },\n \"data_prospect\":\n {\n \"ru\": \"{{$json[\"date_ru\"][2]}}\",\n \"ua\": \"{{$json[\"date_ua\"][2]}}\"\n } \n },\n \"count\":\n {\n \"rokoss\": \"{{$json[\"count\"][0]}}\",\n \"masani\": \"{{$json[\"count\"][1]}}\",\n \"prospect\": \"{{$json[\"count\"][2]}}\"\n },\n\n\"schedule\":\n {\n \"rokoss\":\n {\n \"day1\":\n {\n \"ru\": \"{{$json[\"day_1_ru\"][0]}}\",\n \"ua\": \"{{$json[\"day_1_ua\"][0]}}\"\n },\n \"day2\":\n {\n \"ru\": \"{{$json[\"day_2_ru\"][0]}}\",\n \"ua\": \"{{$json[\"day_2_ua\"][0]}}\"\n },\n \"time\": \"{{$json[\"time\"][0]}}\"\n },\n\"masani\":\n{\n\"day1\":\n{\n\"ru\": \"{{$json[\"day_1_ru\"][1]}}\",\n\"ua\": \"{{$json[\"day_1_ua\"][1]}}\"\n},\n\"day2\":\n{\n\"ru\": \"{{$json[\"day_2_ru\"][1]}}\",\n\"ua\": \"{{$json[\"day_2_ua\"][1]}}\"\n},\n\"time\": \"{{$json[\"time\"][1]}}\"\n},\n\"prospect\":\n{\n\"day1\":\n{\n\"ru\": \"{{$json[\"day_1_ru\"][2]}}\",\n\"ua\": \"{{$json[\"day_1_ua\"][2]}}\"\n},\n\"day2\":\n{\n\"ru\": \"{{$json[\"day_2_ru\"][2]}}\",\n\"ua\": \"{{$json[\"day_2_ua\"][2]}}\"\n},\n\"time\": \"{{$json[\"time\"][2]}}\"\n}\n}\n}", "options": { "responseCode": 200 } }, "name": "Respond to Webhook2", "type": "n8n-nodes-base.respondToWebhook", "typeVersion": 1, "position": [ 100, 1300 ] }, { "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": "date", "fieldValue": "={{$json[\"date\"][\"google\"]}}" }, { "fieldId": "day_1_ua", "fieldValue": "={{$json[\"schedule\"][\"ua\"][\"day1\"]}}" }, { "fieldId": "day_2_ua", "fieldValue": "={{$json[\"schedule\"][\"ua\"][\"day2\"]}}" }, { "fieldId": "count", "fieldValue": "={{$json[\"count\"]}}" }, { "fieldId": "time", "fieldValue": "={{$json[\"schedule\"][\"time\"]}}" }, { "fieldId": "day_1_ru", "fieldValue": "={{$json[\"schedule\"][\"ru\"][\"day1\"]}}" }, { "fieldId": "day_2_ru", "fieldValue": "={{$json[\"schedule\"][\"ru\"][\"day2\"]}}" } ] } }, "name": "rokoss", "type": "n8n-nodes-base.grist", "typeVersion": 1, "position": [ 200, 640 ], "credentials": { "gristApi": { "id": "21", "name": "Grist account" } } }, { "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": "date", "fieldValue": "={{$json[\"date\"][\"google\"]}}" }, { "fieldId": "day_1_ua", "fieldValue": "={{$json[\"schedule\"][\"ua\"][\"day1\"]}}" }, { "fieldId": "day_2_ua", "fieldValue": "={{$json[\"schedule\"][\"ua\"][\"day2\"]}}" }, { "fieldId": "count", "fieldValue": "={{$json[\"count\"]}}" }, { "fieldId": "time", "fieldValue": "={{$json[\"schedule\"][\"time\"]}}" }, { "fieldId": "day_1_ru", "fieldValue": "={{$json[\"schedule\"][\"ru\"][\"day1\"]}}" }, { "fieldId": "day_2_ru", "fieldValue": "={{$json[\"schedule\"][\"ru\"][\"day2\"]}}" } ] } }, "name": "masani", "type": "n8n-nodes-base.grist", "typeVersion": 1, "position": [ 200, 820 ], "credentials": { "gristApi": { "id": "21", "name": "Grist account" } } }, { "parameters": { "operation": "update", "docId": "tAuWNMisjXqyEkYudRcA2c", "tableId": "Classrooms", "rowId": "3", "fieldsToSend": { "properties": [ { "fieldId": "date_ru", "fieldValue": "={{$json[\"date\"][\"ru\"]}}" }, { "fieldId": "date_ua", "fieldValue": "={{$json[\"date\"][\"ua\"]}}" }, { "fieldId": "date", "fieldValue": "={{$json[\"date\"][\"google\"]}}" }, { "fieldId": "day_1_ua", "fieldValue": "={{$json[\"schedule\"][\"ua\"][\"day1\"]}}" }, { "fieldId": "day_2_ua", "fieldValue": "={{$json[\"schedule\"][\"ua\"][\"day2\"]}}" }, { "fieldId": "count", "fieldValue": "={{$json[\"count\"]}}" }, { "fieldId": "time", "fieldValue": "={{$json[\"schedule\"][\"time\"]}}" }, { "fieldId": "day_1_ru", "fieldValue": "={{$json[\"schedule\"][\"ru\"][\"day1\"]}}" }, { "fieldId": "day_2_ru", "fieldValue": "={{$json[\"schedule\"][\"ru\"][\"day2\"]}}" } ] } }, "name": "prospect", "type": "n8n-nodes-base.grist", "typeVersion": 1, "position": [ 200, 1020 ], "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": [ -960, 760 ] } ], "connections": { "HTTP Request": { "main": [ [ { "node": "HTML Extract", "type": "main", "index": 0 } ] ] }, "HTML Extract": { "main": [ [ { "node": "Set", "type": "main", "index": 0 }, { "node": "Set1", "type": "main", "index": 0 } ] ] }, "Set": { "main": [ [ { "node": "HTTP Request1", "type": "main", "index": 0 } ] ] }, "HTTP Request1": { "main": [ [ { "node": "Edit Image", "type": "main", "index": 0 } ] ] }, "Merge": { "main": [ [ { "node": "IF", "type": "main", "index": 0 } ] ] }, "IF": { "main": [ [ { "node": "Google Calendar2", "type": "main", "index": 0 } ] ] }, "Edit Image": { "main": [ [ { "node": "SSH", "type": "main", "index": 0 } ] ] }, "Merge1": { "main": [ [ { "node": "IF1", "type": "main", "index": 0 } ] ] }, "IF1": { "main": [ [ { "node": "Google Calendar3", "type": "main", "index": 0 } ] ] }, "IF2": { "main": [ [ { "node": "Google Calendar", "type": "main", "index": 0 } ] ] }, "Merge2": { "main": [ [ { "node": "IF2", "type": "main", "index": 0 } ] ] }, "Webhook": { "main": [ [ { "node": "Grist", "type": "main", "index": 0 } ] ] }, "Проспект Перемоги 39": { "main": [ [ { "node": "Merge1", "type": "main", "index": 1 } ] ] }, "вул. Рокосовського 51": { "main": [ [ { "node": "Merge2", "type": "main", "index": 1 } ] ] }, "вул. Красносільского 59а": { "main": [ [ { "node": "Merge", "type": "main", "index": 1 } ] ] }, "HTTP Request2": { "main": [ [ { "node": "HTML Extract1", "type": "main", "index": 0 } ] ] }, "HTML Extract1": { "main": [ [ { "node": "Set2", "type": "main", "index": 0 } ] ] }, "Set2": { "main": [ [ { "node": "rokoss", "type": "main", "index": 0 } ] ] }, "Grist": { "main": [ [ { "node": "Item Lists", "type": "main", "index": 0 } ] ] }, "HTTP Request3": { "main": [ [ { "node": "HTML Extract2", "type": "main", "index": 0 } ] ] }, "HTML Extract2": { "main": [ [ { "node": "Set3", "type": "main", "index": 0 } ] ] }, "Set3": { "main": [ [ { "node": "masani", "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": "prospect", "type": "main", "index": 0 } ] ] }, "Item Lists": { "main": [ [ { "node": "Respond to Webhook2", "type": "main", "index": 0 } ] ] }, "rokoss": { "main": [ [ { "node": "вул. Рокосовського 51", "type": "main", "index": 0 }, { "node": "Merge2", "type": "main", "index": 0 } ] ] }, "masani": { "main": [ [ { "node": "Merge", "type": "main", "index": 0 }, { "node": "вул. Красносільского 59а", "type": "main", "index": 0 } ] ] }, "prospect": { "main": [ [ { "node": "Проспект Перемоги 39", "type": "main", "index": 0 }, { "node": "Merge1", "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 } ] ] } }, "createdAt": "2022-04-29T07:24:59.929Z", "updatedAt": "2022-06-01T05:25:21.307Z", "settings": { "saveExecutionProgress": "DEFAULT", "errorWorkflow": "25" }, "staticData": null }