2022-07-22 21:00:26 +00:00
{
2022-10-27 21:01:19 +00:00
"createdAt" : "2022-07-22T17:53:56.513Z" ,
2022-12-22 22:00:50 +00:00
"updatedAt" : "2022-12-22T19:13:26.037Z" ,
2022-07-22 21:00:26 +00:00
"id" : 58 ,
2022-07-23 21:00:25 +00:00
"name" : "avtomoto25 new date" ,
2022-07-22 21:00:26 +00:00
"active" : true ,
"nodes" : [
{
"parameters" : { } ,
"name" : "Start" ,
"type" : "n8n-nodes-base.start" ,
"typeVersion" : 1 ,
"position" : [
2022-07-23 21:00:25 +00:00
-1100 ,
1180
2022-08-03 21:00:21 +00:00
] ,
"id" : "d1752025-81fb-4802-b74f-4f4017bcb936"
2022-07-22 21:00:26 +00:00
} ,
{
"parameters" : {
"operation" : "update" ,
"calendar" : "hvttbe9pijtp5c3iqiaj1rfvps%40group.calendar.google.com" ,
"eventId" : "31g2bcqsnqavh7e5deusa8b2oq\t" ,
"updateFields" : {
"allday" : "yes" ,
"end" : "= {{$json[\"date\"][\"google\"]}} 23:00:00" ,
"start" : "= {{$json[\"date\"][\"google\"]}} 01:00:00"
}
} ,
"name" : "Google Calendar" ,
"type" : "n8n-nodes-base.googleCalendar" ,
"typeVersion" : 1 ,
"position" : [
2022-08-10 21:00:50 +00:00
900 ,
1240
2022-07-22 21:00:26 +00:00
] ,
2022-08-10 21:00:50 +00:00
"id" : "0c5700bc-6c4b-4cc9-8982-f77ce4128278" ,
2022-07-22 21:00:26 +00:00
"credentials" : {
"googleCalendarOAuth2Api" : {
"id" : "6" ,
"name" : "Google Calendar account"
}
2022-08-10 21:00:50 +00:00
}
2022-07-22 21:00:26 +00:00
} ,
{
"parameters" : {
"triggerTimes" : {
"item" : [
{
"mode" : "everyX" ,
"value" : 10 ,
"unit" : "minutes"
}
]
}
} ,
"name" : "Cron" ,
"type" : "n8n-nodes-base.cron" ,
"typeVersion" : 1 ,
"position" : [
2022-07-23 21:00:25 +00:00
-1100 ,
1020
2022-08-03 21:00:21 +00:00
] ,
"id" : "43f1b2b3-080b-4345-bfdc-60968865da33"
2022-07-22 21:00:26 +00:00
} ,
{
"parameters" : {
"operation" : "multiStep" ,
"operations" : {
"operations" : [
{
"operation" : "text" ,
"text" : "Розпочато запис на \nна вча ння за адресою" ,
"fontSize" : 64 ,
"fontColor" : "#EDEDED" ,
"positionX" : 450 ,
"positionY" : 100
} ,
{
"operation" : "text" ,
2022-07-23 21:00:25 +00:00
"text" : "={{$node[\"Merge1\"].json[\"class\"]}}" ,
2022-07-22 21:00:26 +00:00
"fontSize" : 80 ,
"fontColor" : "#FFFFFF" ,
"positionY" : 400 ,
"font" : "/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf"
} ,
{
"operation" : "text" ,
"text" : "Початок занятть" ,
"fontSize" : 36 ,
"fontColor" : "#EDEDED" ,
"positionY" : 520
} ,
{
"operation" : "text" ,
2022-07-23 21:00:25 +00:00
"text" : "={{$node[\"Merge1\"].json[\"date\"][\"ua\"]}}" ,
2022-07-22 21:00:26 +00:00
"fontSize" : 56 ,
"fontColor" : "#FFFFFF" ,
"positionY" : 580 ,
"font" : "/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf"
}
]
} ,
"options" : { }
} ,
"name" : "Edit Image" ,
"type" : "n8n-nodes-base.editImage" ,
"typeVersion" : 1 ,
"position" : [
2022-07-23 21:00:25 +00:00
1180 ,
760
2022-08-03 21:00:21 +00:00
] ,
"id" : "d95985e6-85dc-45c7-928b-548cad9e78ee"
2022-07-22 21:00:26 +00:00
} ,
{
"parameters" : {
"resource" : "file" ,
"binaryPropertyName" : "=data" ,
"path" : "/var/www/html/driving_school/wp-content/uploads/" ,
"options" : {
"fileName" : "new_data_rokoss.jpg"
}
} ,
"name" : "SSH" ,
"type" : "n8n-nodes-base.ssh" ,
"typeVersion" : 1 ,
"position" : [
2022-07-23 21:00:25 +00:00
1360 ,
760
2022-07-22 21:00:26 +00:00
] ,
2022-08-10 21:00:50 +00:00
"id" : "ba87c294-dace-47b1-b786-a717e77263af" ,
2022-07-22 21:00:26 +00:00
"credentials" : {
"sshPassword" : {
"id" : "14" ,
"name" : "SSH Password account"
}
2022-08-10 21:00:50 +00:00
}
2022-07-22 21:00:26 +00:00
} ,
{
"parameters" : {
"graphApiVersion" : "v14.0" ,
"node" : "me" ,
"edge" : "accounts" ,
"options" : { }
} ,
"name" : "Get Pages1" ,
"type" : "n8n-nodes-base.facebookGraphApi" ,
"typeVersion" : 1 ,
"position" : [
2022-07-23 21:00:25 +00:00
1540 ,
760
2022-07-22 21:00:26 +00:00
] ,
2022-08-10 21:00:50 +00:00
"id" : "35184246-030a-40d8-9399-b39195dbe2cb" ,
2022-07-22 21:00:26 +00:00
"credentials" : {
"facebookGraphApi" : {
"id" : "36" ,
"name" : "Facebook Graph account"
}
2022-08-10 21:00:50 +00:00
}
2022-07-22 21:00:26 +00:00
} ,
{
"parameters" : {
"fieldToSplitOut" : "data" ,
"options" : { }
} ,
"name" : "Split Pages1" ,
"type" : "n8n-nodes-base.itemLists" ,
"typeVersion" : 1 ,
"position" : [
2022-07-23 21:00:25 +00:00
1720 ,
760
2022-08-03 21:00:21 +00:00
] ,
"id" : "31c4cd0f-186e-462c-9d13-a8eff5d8002e"
2022-07-22 21:00:26 +00:00
} ,
{
"parameters" : {
"conditions" : {
"string" : [
{
"value1" : "={{$json[\"id\"]}}" ,
"value2" : "105101524930750"
}
]
}
} ,
"name" : "Is Tom Travels?1" ,
"type" : "n8n-nodes-base.if" ,
"typeVersion" : 1 ,
"position" : [
2022-07-23 21:00:25 +00:00
1900 ,
760
2022-08-03 21:00:21 +00:00
] ,
"id" : "509de331-ce0f-44dc-b50b-ec42edf1ceef"
2022-07-22 21:00:26 +00:00
} ,
{
"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/new_data_rokoss.jpg"
} ,
{
"name" : "caption" ,
"value" : "Розпочато нову реєстрацію на навчання в нашій автошколі. \nЗ а по вні ть форму 🎯 https://avtomoto25.cn.ua/booking/\nа б о телефонуйте ☎️ +380735650500 ☎️ +380965650500\n"
}
]
}
}
} ,
"name" : "Facebook Graph API" ,
"type" : "n8n-nodes-base.facebookGraphApi" ,
"typeVersion" : 1 ,
"position" : [
2022-07-23 21:00:25 +00:00
2120 ,
740
2022-07-22 21:00:26 +00:00
] ,
2022-08-10 21:00:50 +00:00
"id" : "63148b43-ff08-4848-94b7-e1e550e2cfd4" ,
2022-07-22 21:00:26 +00:00
"credentials" : {
"facebookGraphApi" : {
"id" : "36" ,
"name" : "Facebook Graph account"
}
2022-08-10 21:00:50 +00:00
}
2022-07-22 21:00:26 +00:00
} ,
{
"parameters" : {
2022-07-23 21:00:25 +00:00
"url" : "={{$json[\"urls\"][\"full\"]}}" ,
"responseFormat" : "file" ,
"options" : { }
2022-07-22 21:00:26 +00:00
} ,
2022-07-23 21:00:25 +00:00
"name" : "HTTP Request12" ,
"type" : "n8n-nodes-base.httpRequest" ,
"typeVersion" : 2 ,
2022-07-22 21:00:26 +00:00
"position" : [
2022-07-23 21:00:25 +00:00
480 ,
700
2022-08-03 21:00:21 +00:00
] ,
"id" : "368a6f7c-4564-4ecc-8aae-cbb6db9907f6"
2022-07-22 21:00:26 +00:00
} ,
{
"parameters" : {
2022-07-23 21:00:25 +00:00
"url" : "https://avtomoto25.cn.ua/wp-content/uploads/logo_banner.png" ,
"responseFormat" : "file" ,
"dataPropertyName" : "data2" ,
2022-07-22 21:00:26 +00:00
"options" : { }
} ,
2022-07-23 21:00:25 +00:00
"name" : "HTTP Request13" ,
"type" : "n8n-nodes-base.httpRequest" ,
"typeVersion" : 2 ,
2022-07-22 21:00:26 +00:00
"position" : [
2022-07-23 21:00:25 +00:00
640 ,
860
2022-08-03 21:00:21 +00:00
] ,
"id" : "0b50ecf9-756d-430f-91a3-a875ffa45d83"
2022-07-22 21:00:26 +00:00
} ,
{
"parameters" : {
2022-07-23 21:00:25 +00:00
"operation" : "composite" ,
"dataPropertyNameComposite" : "data2" ,
"operator" : "Plus" ,
"positionX" : 50 ,
"positionY" : 50 ,
2022-07-22 21:00:26 +00:00
"options" : { }
} ,
2022-07-23 21:00:25 +00:00
"name" : "Edit Image7" ,
"type" : "n8n-nodes-base.editImage" ,
2022-07-22 21:00:26 +00:00
"typeVersion" : 1 ,
"position" : [
2022-07-23 21:00:25 +00:00
1020 ,
760
2022-08-03 21:00:21 +00:00
] ,
"id" : "ade31d02-fb9d-4520-a9c5-e33db7cc355d"
2022-07-22 21:00:26 +00:00
} ,
{
"parameters" : {
2022-07-23 21:00:25 +00:00
"url" : "https://api.unsplash.com/photos/random?query=schedule" ,
"options" : { } ,
"headerParametersUi" : {
"parameter" : [
2022-07-22 21:00:26 +00:00
{
2022-07-23 21:00:25 +00:00
"name" : "Authorization" ,
"value" : "Client-ID SU9IXaIjfJXqKqJ1NM1zgkSjuxLVhVXICfIdWEWvUPM"
}
]
} ,
"queryParametersUi" : {
"parameter" : [
{
"name" : "orientation" ,
"value" : "landscape"
2022-07-22 21:00:26 +00:00
}
]
}
} ,
2022-07-23 21:00:25 +00:00
"name" : "HTTP Request14" ,
"type" : "n8n-nodes-base.httpRequest" ,
"typeVersion" : 2 ,
2022-07-22 21:00:26 +00:00
"position" : [
2022-08-10 21:00:50 +00:00
280 ,
2022-07-23 21:00:25 +00:00
700
2022-08-03 21:00:21 +00:00
] ,
"id" : "9318bb14-5178-487e-9f03-2b856862ffef"
2022-07-22 21:00:26 +00:00
} ,
{
"parameters" : {
2022-07-23 21:00:25 +00:00
"mode" : "mergeByIndex" ,
"join" : "inner"
2022-07-22 21:00:26 +00:00
} ,
2022-07-23 21:00:25 +00:00
"name" : "Merge" ,
"type" : "n8n-nodes-base.merge" ,
2022-07-22 21:00:26 +00:00
"typeVersion" : 1 ,
"position" : [
2022-07-23 21:00:25 +00:00
860 ,
760
2022-08-03 21:00:21 +00:00
] ,
"id" : "ebaafb74-da26-4a2a-b07e-2b2c8a9ee7ce"
2022-07-22 21:00:26 +00:00
} ,
{
"parameters" : {
2022-07-23 21:00:25 +00:00
"operation" : "multiStep" ,
"operations" : {
"operations" : [
2022-07-22 21:00:26 +00:00
{
2022-07-23 21:00:25 +00:00
"operation" : "resize" ,
"width" : 1200 ,
"height" : -1 ,
"resizeOption" : "onlyIfLarger"
2022-07-22 21:00:26 +00:00
} ,
{
2022-07-23 21:00:25 +00:00
"operation" : "draw" ,
"color" : "#00000099" ,
"startPositionX" : 25 ,
"startPositionY" : 25 ,
"endPositionX" : 1175 ,
"endPositionY" : 605
2022-07-22 21:00:26 +00:00
} ,
{
2022-07-23 21:00:25 +00:00
"operation" : "crop" ,
"width" : 1200 ,
"height" : 630
2022-07-22 21:00:26 +00:00
}
]
2022-07-23 21:00:25 +00:00
} ,
"options" : { }
2022-07-22 21:00:26 +00:00
} ,
2022-07-23 21:00:25 +00:00
"name" : "Edit Image1" ,
"type" : "n8n-nodes-base.editImage" ,
2022-07-22 21:00:26 +00:00
"typeVersion" : 1 ,
"position" : [
2022-07-23 21:00:25 +00:00
640 ,
700
2022-08-03 21:00:21 +00:00
] ,
"id" : "5f865115-dfdb-46e2-9592-fb35881de405"
2022-07-23 21:00:25 +00:00
} ,
{
"parameters" : {
"url" : "={{ $json[\"url\"] }}" ,
"responseFormat" : "string" ,
"options" : { }
} ,
"name" : "HTTP Request" ,
"type" : "n8n-nodes-base.httpRequest" ,
"typeVersion" : 1 ,
"position" : [
-700 ,
1020
2022-08-03 21:00:21 +00:00
] ,
"id" : "dca4da9f-a74d-4930-b93f-68cfd043a6cf"
2022-07-22 21:00:26 +00:00
} ,
{
"parameters" : {
"extractionValues" : {
"values" : [
{
"key" : "data" ,
"cssSelector" : "li" ,
"returnArray" : true
} ,
{
"key" : "schedule" ,
"cssSelector" : "label.checkbox-label-checked" ,
"returnArray" : true
2022-07-23 21:00:25 +00:00
} ,
{
"key" : "class" ,
"cssSelector" : "h1.title"
2022-07-22 21:00:26 +00:00
}
]
} ,
"options" : { }
} ,
2022-07-23 21:00:25 +00:00
"name" : "HTML Extract3" ,
2022-07-22 21:00:26 +00:00
"type" : "n8n-nodes-base.htmlExtract" ,
"typeVersion" : 1 ,
"position" : [
2022-07-23 21:00:25 +00:00
-480 ,
1020
2022-08-03 21:00:21 +00:00
] ,
"id" : "34f7ef61-6a08-499a-8a5b-534a928fce79"
2022-07-22 21:00:26 +00:00
} ,
{
"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" : "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(\"неділя\", \"воскресенье\")}}"
} ,
{
2022-07-23 21:00:25 +00:00
"name" : "schedule.time.day1" ,
2022-07-22 21:00:26 +00:00
"value" : "={{$json[\"data\"][9]}}"
} ,
2022-07-23 21:00:25 +00:00
{
"name" : "schedule.time.day2" ,
"value" : "={{$json[\"data\"][10]}}"
} ,
2022-07-22 21:00:26 +00:00
{
"name" : "date.google" ,
"value" : "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").toISODate()}}"
2022-07-23 21:00:25 +00:00
} ,
{
"name" : "class" ,
"value" : "={{ $json[\"class\"] }}"
2022-07-29 21:00:30 +00:00
} ,
{
"name" : "schedule.time.day3" ,
"value" : "={{$json[\"data\"][11]}}"
} ,
{
"name" : "schedule.ua.day3" ,
"value" : "={{$json[\"schedule\"][2]}}"
} ,
{
"name" : "schedule.ru.day3" ,
"value" : "={{$json[\"schedule\"][2].replace(\"понеділок\", \"понедельник\").replace(\"вівторок\", \"вторник\").replace(\"середа\", \"среда\").replace(\"четвер\", \"четверг\").replace(\"п’ятниця\", \"пятница\").replace(\"субота\", \"суббота\").replace(\"неділя\", \"воскресенье\")}}"
2022-07-22 21:00:26 +00:00
}
]
} ,
"options" : {
"dotNotation" : true
}
} ,
2022-07-23 21:00:25 +00:00
"name" : "Set" ,
2022-07-22 21:00:26 +00:00
"type" : "n8n-nodes-base.set" ,
"typeVersion" : 1 ,
"position" : [
2022-07-23 21:00:25 +00:00
-260 ,
1020
2022-08-03 21:00:21 +00:00
] ,
"id" : "ed7578d3-1f28-4251-b9cd-95c7afa4068e"
2022-07-22 21:00:26 +00:00
} ,
{
"parameters" : {
"docId" : "tAuWNMisjXqyEkYudRcA2c" ,
"tableId" : "Classrooms" ,
2022-07-23 21:00:25 +00:00
"returnAll" : true ,
"additionalOptions" : { }
2022-07-22 21:00:26 +00:00
} ,
2022-07-23 21:00:25 +00:00
"name" : "url" ,
2022-07-22 21:00:26 +00:00
"type" : "n8n-nodes-base.grist" ,
"typeVersion" : 1 ,
"position" : [
2022-07-23 21:00:25 +00:00
-920 ,
1020
2022-07-22 21:00:26 +00:00
] ,
2022-08-10 21:00:50 +00:00
"id" : "7832ddae-6848-47d8-a259-e1124e4af058" ,
2022-07-22 21:00:26 +00:00
"credentials" : {
"gristApi" : {
"id" : "21" ,
"name" : "Grist account"
}
2022-08-10 21:00:50 +00:00
}
2022-07-22 21:00:26 +00:00
} ,
{
"parameters" : {
2022-07-23 21:00:25 +00:00
"docId" : "tAuWNMisjXqyEkYudRcA2c" ,
"tableId" : "Classrooms" ,
"returnAll" : true ,
"additionalOptions" : { }
2022-07-22 21:00:26 +00:00
} ,
2022-07-23 21:00:25 +00:00
"name" : "dates" ,
"type" : "n8n-nodes-base.grist" ,
2022-07-22 21:00:26 +00:00
"typeVersion" : 1 ,
"position" : [
2022-07-23 21:00:25 +00:00
-260 ,
1220
] ,
2022-08-10 21:00:50 +00:00
"id" : "7ac3ad33-9526-4711-b887-ef97f1a7a6ff" ,
2022-07-23 21:00:25 +00:00
"credentials" : {
"gristApi" : {
"id" : "21" ,
"name" : "Grist account"
2022-07-22 21:00:26 +00:00
}
2022-08-10 21:00:50 +00:00
}
2022-07-22 21:00:26 +00:00
} ,
{
"parameters" : {
2022-07-23 21:00:25 +00:00
"dataType" : "string" ,
"value1" : "={{ $json[\"class\"] }}" ,
"rules" : {
"rules" : [
2022-07-22 21:00:26 +00:00
{
2022-07-23 21:00:25 +00:00
"value2" : "вул. Рокосовського 51"
2022-07-22 21:00:26 +00:00
} ,
{
2022-07-23 21:00:25 +00:00
"value2" : "вул. Красносільського 59а " ,
"output" : 1
2022-07-22 21:00:26 +00:00
} ,
{
2022-09-07 21:00:43 +00:00
"value2" : "Проспект Перемоги 21" ,
2022-07-23 21:00:25 +00:00
"output" : 2
2022-07-22 21:00:26 +00:00
}
]
} ,
2022-07-23 21:00:25 +00:00
"fallbackOutput" : 3
2022-07-22 21:00:26 +00:00
} ,
2022-07-23 21:00:25 +00:00
"name" : "Switch" ,
"type" : "n8n-nodes-base.switch" ,
2022-07-22 21:00:26 +00:00
"typeVersion" : 1 ,
"position" : [
2022-07-23 21:00:25 +00:00
300 ,
1420
2022-08-03 21:00:21 +00:00
] ,
"id" : "e4f2cb6d-3f82-4a84-be9d-f8b30bfa3e66"
2022-07-22 21:00:26 +00:00
} ,
{
"parameters" : {
"mode" : "removeKeyMatches" ,
"propertyName1" : "date.google" ,
"propertyName2" : "date"
} ,
2022-07-23 21:00:25 +00:00
"name" : "Merge1" ,
2022-07-22 21:00:26 +00:00
"type" : "n8n-nodes-base.merge" ,
"typeVersion" : 1 ,
"position" : [
2022-07-23 21:00:25 +00:00
-40 ,
1120
2022-08-03 21:00:21 +00:00
] ,
"id" : "7a0dd986-ac22-4f33-af9b-36201e33c1fd"
2022-07-22 21:00:26 +00:00
} ,
2022-08-10 21:00:50 +00:00
{
"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"
}
}
} ,
2022-07-22 21:00:26 +00:00
{
"parameters" : {
2022-07-23 21:00:25 +00:00
"operation" : "update" ,
"docId" : "tAuWNMisjXqyEkYudRcA2c" ,
"tableId" : "Classrooms" ,
2022-08-10 21:00:50 +00:00
"rowId" : "3" ,
2022-07-23 21:00:25 +00:00
"fieldsToSend" : {
"properties" : [
2022-07-22 21:00:26 +00:00
{
2022-07-23 21:00:25 +00:00
"fieldId" : "date" ,
"fieldValue" : "={{$json[\"date\"][\"google\"]}}"
2022-07-22 21:00:26 +00:00
}
]
}
} ,
2022-08-10 21:00:50 +00:00
"name" : "prospect4" ,
2022-07-23 21:00:25 +00:00
"type" : "n8n-nodes-base.grist" ,
2022-07-22 21:00:26 +00:00
"typeVersion" : 1 ,
"position" : [
2022-08-10 21:00:50 +00:00
740 ,
1540
2022-07-23 21:00:25 +00:00
] ,
2022-08-10 21:00:50 +00:00
"id" : "6b34fef6-2a8c-4a33-bb4d-450dabc88ed3" ,
2022-07-23 21:00:25 +00:00
"credentials" : {
"gristApi" : {
"id" : "21" ,
"name" : "Grist account"
}
2022-08-10 21:00:50 +00:00
}
2022-07-22 21:00:26 +00:00
} ,
{
"parameters" : {
2022-07-23 21:00:25 +00:00
"operation" : "update" ,
"calendar" : "hvttbe9pijtp5c3iqiaj1rfvps%40group.calendar.google.com" ,
2022-08-10 21:00:50 +00:00
"eventId" : "3ptu0erou5f816kglu1f2p0p28" ,
2022-07-23 21:00:25 +00:00
"updateFields" : {
"allday" : "yes" ,
"end" : "= {{$json[\"date\"][\"google\"]}} 23:00:00" ,
"start" : "= {{$json[\"date\"][\"google\"]}} 01:00:00"
}
2022-07-22 21:00:26 +00:00
} ,
2022-08-10 21:00:50 +00:00
"name" : "Google Calendar2" ,
2022-07-23 21:00:25 +00:00
"type" : "n8n-nodes-base.googleCalendar" ,
2022-07-22 21:00:26 +00:00
"typeVersion" : 1 ,
"position" : [
2022-08-10 21:00:50 +00:00
900 ,
1660
2022-07-22 21:00:26 +00:00
] ,
2022-08-10 21:00:50 +00:00
"id" : "9676ecd6-ec60-45e2-9242-24e41e939825" ,
2022-07-22 21:00:26 +00:00
"credentials" : {
2022-07-23 21:00:25 +00:00
"googleCalendarOAuth2Api" : {
"id" : "6" ,
"name" : "Google Calendar account"
2022-07-22 21:00:26 +00:00
}
2022-08-10 21:00:50 +00:00
}
} ,
{
"parameters" : {
"dataType" : "string" ,
"value1" : "={{ $json[\"class\"] }}" ,
"rules" : {
"rules" : [
{
"value2" : "вул. Рокосовського 51"
} ,
{
"value2" : "вул. Красносільського 59а " ,
"output" : 1
} ,
{
2022-09-07 21:00:43 +00:00
"value2" : "Проспект Перемоги 21" ,
2022-08-10 21:00:50 +00:00
"output" : 2
}
]
} ,
"fallbackOutput" : 3
2022-08-03 21:00:21 +00:00
} ,
2022-08-10 21:00:50 +00:00
"name" : "Switch1" ,
"type" : "n8n-nodes-base.switch" ,
"typeVersion" : 1 ,
"position" : [
-20 ,
380
] ,
"id" : "0f621523-9c76-4f5a-9d7e-ce6d3f2ada7e"
2022-07-22 21:00:26 +00:00
} ,
{
"parameters" : {
2022-07-23 21:00:25 +00:00
"operation" : "update" ,
2022-07-22 21:00:26 +00:00
"docId" : "tAuWNMisjXqyEkYudRcA2c" ,
"tableId" : "Classrooms" ,
2022-08-10 21:00:50 +00:00
"rowId" : "1" ,
2022-07-23 21:00:25 +00:00
"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" : "time_2" ,
"fieldValue" : "={{$json[\"schedule\"][\"time\"][\"day2\"]}}"
2022-07-29 21:00:30 +00:00
} ,
{
"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\"]}}"
2022-07-23 21:00:25 +00:00
}
]
}
2022-07-22 21:00:26 +00:00
} ,
2022-08-10 21:00:50 +00:00
"name" : "rokoss" ,
2022-07-22 21:00:26 +00:00
"type" : "n8n-nodes-base.grist" ,
"typeVersion" : 1 ,
"position" : [
2022-08-10 21:00:50 +00:00
300 ,
200
2022-07-22 21:00:26 +00:00
] ,
2022-08-10 21:00:50 +00:00
"id" : "17299003-a510-4b94-94ee-550b1f05a5a8" ,
2022-07-22 21:00:26 +00:00
"credentials" : {
"gristApi" : {
"id" : "21" ,
"name" : "Grist account"
}
2022-08-10 21:00:50 +00:00
}
2022-08-03 21:00:21 +00:00
} ,
{
"parameters" : {
"operation" : "update" ,
"docId" : "tAuWNMisjXqyEkYudRcA2c" ,
"tableId" : "Classrooms" ,
2022-08-10 21:00:50 +00:00
"rowId" : "2" ,
2022-08-03 21:00:21 +00:00
"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" : "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\"]}}"
}
]
}
} ,
2022-08-10 21:00:50 +00:00
"name" : "masani" ,
2022-08-03 21:00:21 +00:00
"type" : "n8n-nodes-base.grist" ,
"typeVersion" : 1 ,
"position" : [
2022-08-10 21:00:50 +00:00
300 ,
360
2022-08-03 21:00:21 +00:00
] ,
2022-08-10 21:00:50 +00:00
"id" : "a91fe67c-3106-440a-a43d-0a36174b8bb8" ,
2022-08-03 21:00:21 +00:00
"credentials" : {
"gristApi" : {
"id" : "21" ,
"name" : "Grist account"
}
2022-08-10 21:00:50 +00:00
}
} ,
{
"parameters" : {
"operation" : "update" ,
"docId" : "tAuWNMisjXqyEkYudRcA2c" ,
"tableId" : "Classrooms" ,
"rowId" : "1" ,
"fieldsToSend" : {
"properties" : [
{
"fieldId" : "date" ,
"fieldValue" : "={{$json[\"date\"][\"google\"]}}"
}
]
}
2022-08-03 21:00:21 +00:00
} ,
2022-08-10 21:00:50 +00:00
"name" : "rokoss1" ,
"type" : "n8n-nodes-base.grist" ,
"typeVersion" : 1 ,
"position" : [
740 ,
1160
] ,
"id" : "082d350c-f3eb-4a54-8fca-a98e14b1d8e7" ,
"credentials" : {
"gristApi" : {
"id" : "21" ,
"name" : "Grist account"
}
}
2022-08-03 21:00:21 +00:00
} ,
{
"parameters" : {
"operation" : "update" ,
"docId" : "tAuWNMisjXqyEkYudRcA2c" ,
"tableId" : "Classrooms" ,
"rowId" : "2" ,
2022-08-10 21:00:50 +00:00
"fieldsToSend" : {
"properties" : [
{
"fieldId" : "date" ,
"fieldValue" : "={{$json[\"date\"][\"google\"]}}"
}
]
}
} ,
"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" : {
"operation" : "update" ,
"docId" : "tAuWNMisjXqyEkYudRcA2c" ,
"tableId" : "Classrooms" ,
"rowId" : "3" ,
2022-08-03 21:00:21 +00:00
"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" : "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\"]}}"
}
]
}
} ,
2022-08-10 21:00:50 +00:00
"name" : "prospect" ,
2022-08-03 21:00:21 +00:00
"type" : "n8n-nodes-base.grist" ,
"typeVersion" : 1 ,
"position" : [
2022-08-10 21:00:50 +00:00
300 ,
500
2022-08-03 21:00:21 +00:00
] ,
2022-08-10 21:00:50 +00:00
"id" : "d942b361-bcf7-4e8f-aa68-68f3a44350d7" ,
2022-08-03 21:00:21 +00:00
"credentials" : {
"gristApi" : {
"id" : "21" ,
"name" : "Grist account"
}
2022-08-10 21:00:50 +00:00
}
2022-07-23 21:00:25 +00:00
}
] ,
"connections" : {
"Cron" : {
2022-07-22 21:00:26 +00:00
"main" : [
[
{
2022-07-23 21:00:25 +00:00
"node" : "url" ,
2022-07-22 21:00:26 +00:00
"type" : "main" ,
"index" : 0
}
]
]
} ,
"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 API" ,
"type" : "main" ,
"index" : 0
}
]
]
} ,
"SSH" : {
"main" : [
[
{
"node" : "Get Pages1" ,
"type" : "main" ,
"index" : 0
}
]
]
} ,
"HTTP Request12" : {
"main" : [
[
{
"node" : "Edit Image1" ,
"type" : "main" ,
"index" : 0
}
]
]
} ,
"HTTP Request13" : {
"main" : [
[
{
"node" : "Merge" ,
"type" : "main" ,
"index" : 1
}
]
]
} ,
"Edit Image7" : {
"main" : [
[
{
"node" : "Edit Image" ,
"type" : "main" ,
"index" : 0
}
]
]
} ,
"HTTP Request14" : {
"main" : [
[
{
"node" : "HTTP Request12" ,
"type" : "main" ,
"index" : 0
}
]
]
} ,
"Merge" : {
"main" : [
[
{
"node" : "Edit Image7" ,
"type" : "main" ,
"index" : 0
}
]
]
} ,
"Edit Image1" : {
"main" : [
[
{
"node" : "Merge" ,
"type" : "main" ,
"index" : 0
}
]
]
} ,
"Edit Image" : {
"main" : [
[
{
"node" : "SSH" ,
"type" : "main" ,
"index" : 0
}
]
]
} ,
2022-07-23 21:00:25 +00:00
"HTTP Request" : {
2022-07-22 21:00:26 +00:00
"main" : [
[
{
2022-07-23 21:00:25 +00:00
"node" : "HTML Extract3" ,
2022-07-22 21:00:26 +00:00
"type" : "main" ,
"index" : 0
}
]
]
} ,
2022-07-23 21:00:25 +00:00
"HTML Extract3" : {
2022-07-22 21:00:26 +00:00
"main" : [
[
{
2022-07-23 21:00:25 +00:00
"node" : "Set" ,
2022-07-22 21:00:26 +00:00
"type" : "main" ,
"index" : 0
}
]
]
} ,
2022-07-23 21:00:25 +00:00
"Set" : {
2022-07-22 21:00:26 +00:00
"main" : [
[
{
"node" : "Merge1" ,
"type" : "main" ,
"index" : 0
2022-08-10 21:00:50 +00:00
} ,
{
"node" : "Switch1" ,
"type" : "main" ,
"index" : 0
2022-07-22 21:00:26 +00:00
}
]
]
} ,
2022-07-23 21:00:25 +00:00
"url" : {
2022-07-22 21:00:26 +00:00
"main" : [
[
{
2022-07-23 21:00:25 +00:00
"node" : "HTTP Request" ,
2022-07-22 21:00:26 +00:00
"type" : "main" ,
"index" : 0
}
]
]
} ,
2022-07-23 21:00:25 +00:00
"dates" : {
2022-07-22 21:00:26 +00:00
"main" : [
[
{
"node" : "Merge1" ,
"type" : "main" ,
"index" : 1
}
]
]
} ,
2022-07-23 21:00:25 +00:00
"Switch" : {
2022-07-22 21:00:26 +00:00
"main" : [
[
{
2022-07-23 21:00:25 +00:00
"node" : "Google Calendar" ,
2022-07-22 21:00:26 +00:00
"type" : "main" ,
"index" : 0
2022-07-23 21:00:25 +00:00
} ,
2022-07-22 21:00:26 +00:00
{
2022-08-10 21:00:50 +00:00
"node" : "rokoss1" ,
2022-07-22 21:00:26 +00:00
"type" : "main" ,
"index" : 0
}
2022-07-23 21:00:25 +00:00
] ,
2022-07-22 21:00:26 +00:00
[
{
2022-08-03 21:00:21 +00:00
"node" : "Google Calendar1" ,
2022-07-22 21:00:26 +00:00
"type" : "main" ,
"index" : 0
} ,
{
2022-08-10 21:00:50 +00:00
"node" : "masani1" ,
2022-07-22 21:00:26 +00:00
"type" : "main" ,
"index" : 0
}
2022-07-23 21:00:25 +00:00
] ,
2022-07-22 21:00:26 +00:00
[
{
2022-07-23 21:00:25 +00:00
"node" : "prospect4" ,
2022-07-22 21:00:26 +00:00
"type" : "main" ,
"index" : 0
2022-07-23 21:00:25 +00:00
} ,
2022-07-22 21:00:26 +00:00
{
2022-07-23 21:00:25 +00:00
"node" : "Google Calendar2" ,
2022-07-22 21:00:26 +00:00
"type" : "main" ,
"index" : 0
}
]
]
} ,
2022-07-23 21:00:25 +00:00
"Merge1" : {
2022-07-22 21:00:26 +00:00
"main" : [
[
{
2022-07-23 21:00:25 +00:00
"node" : "Switch" ,
2022-07-22 21:00:26 +00:00
"type" : "main" ,
"index" : 0
2022-07-23 21:00:25 +00:00
} ,
2022-07-22 21:00:26 +00:00
{
2022-07-23 21:00:25 +00:00
"node" : "HTTP Request14" ,
2022-07-22 21:00:26 +00:00
"type" : "main" ,
"index" : 0
}
]
]
2022-08-10 21:00:50 +00:00
} ,
"Switch1" : {
"main" : [
[
{
"node" : "rokoss" ,
"type" : "main" ,
"index" : 0
}
] ,
[
{
"node" : "masani" ,
"type" : "main" ,
"index" : 0
}
] ,
[
{
"node" : "prospect" ,
"type" : "main" ,
"index" : 0
}
]
]
2022-07-22 21:00:26 +00:00
}
} ,
"settings" : {
"errorWorkflow" : "25"
} ,
"staticData" : null ,
2022-12-07 22:01:07 +00:00
"dataLoaded" : true ,
2022-07-22 21:00:26 +00:00
"pinData" : { } ,
2022-12-07 22:01:07 +00:00
"versionId" : "e163f934-c1c4-492d-aba1-2df6bb1f6780" ,
2022-12-21 22:01:02 +00:00
"triggerCount" : 1 ,
2022-07-22 21:00:26 +00:00
"tags" : [
{
"createdAt" : "2022-05-10T18:06:30.022Z" ,
2022-10-27 21:01:19 +00:00
"updatedAt" : "2022-05-10T18:06:30.022Z" ,
"id" : "1" ,
"name" : "avtomoto25"
2022-07-22 21:00:26 +00:00
}
2022-12-07 22:01:07 +00:00
]
2022-07-22 21:00:26 +00:00
}