Auto backup (2022-06-21T21:00:40.676Z)
This commit is contained in:
721
flows/37.json
Normal file
721
flows/37.json
Normal file
@@ -0,0 +1,721 @@
|
||||
{
|
||||
"id": 37,
|
||||
"name": "avtomoto25 new date",
|
||||
"active": true,
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"name": "Start",
|
||||
"type": "n8n-nodes-base.start",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-960,
|
||||
1200
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "update",
|
||||
"calendar": "hvttbe9pijtp5c3iqiaj1rfvps%40group.calendar.google.com",
|
||||
"eventId": "31g2bcqsnqavh7e5deusa8b2oq\t",
|
||||
"updateFields": {
|
||||
"allday": "yes",
|
||||
"end": "= {{$json[\"date\"]}} 23:00:00",
|
||||
"start": "= {{$json[\"date\"]}} 01:00:00"
|
||||
}
|
||||
},
|
||||
"name": "Google Calendar",
|
||||
"type": "n8n-nodes-base.googleCalendar",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
500,
|
||||
660
|
||||
],
|
||||
"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[\"date\"]}} 01:00:00"
|
||||
}
|
||||
},
|
||||
"name": "Google Calendar3",
|
||||
"type": "n8n-nodes-base.googleCalendar",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
520,
|
||||
1360
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"name": "HTML Extract1",
|
||||
"type": "n8n-nodes-base.htmlExtract",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-280,
|
||||
640
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"url": "https://note.cynic.club/shares/wjFwc3x9h7lDRK9BlubQC0",
|
||||
"responseFormat": "string",
|
||||
"options": {}
|
||||
},
|
||||
"name": "HTTP Request3",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-520,
|
||||
980
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"extractionValues": {
|
||||
"values": [
|
||||
{
|
||||
"key": "data",
|
||||
"cssSelector": "li",
|
||||
"returnArray": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"name": "HTML Extract2",
|
||||
"type": "n8n-nodes-base.htmlExtract",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-280,
|
||||
980
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"url": "https://note.cynic.club/shares/978uO9kCnw65J1TMaH0XeR",
|
||||
"responseFormat": "string",
|
||||
"options": {}
|
||||
},
|
||||
"name": "HTTP Request4",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-500,
|
||||
1340
|
||||
]
|
||||
},
|
||||
{
|
||||
"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,
|
||||
1340
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"triggerTimes": {
|
||||
"item": [
|
||||
{
|
||||
"mode": "everyX",
|
||||
"value": 10,
|
||||
"unit": "minutes"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "Cron",
|
||||
"type": "n8n-nodes-base.cron",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-960,
|
||||
760
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"mode": "removeKeyMatches",
|
||||
"propertyName1": "date",
|
||||
"propertyName2": "date"
|
||||
},
|
||||
"name": "Merge3",
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
260,
|
||||
660
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"docId": "tAuWNMisjXqyEkYudRcA2c",
|
||||
"tableId": "Classrooms",
|
||||
"returnAll": true,
|
||||
"additionalOptions": {
|
||||
"filter": {
|
||||
"filterProperties": [
|
||||
{
|
||||
"field": "address",
|
||||
"values": "вул. Рокосовського 51"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": "rokoss1",
|
||||
"type": "n8n-nodes-base.grist",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-20,
|
||||
800
|
||||
],
|
||||
"credentials": {
|
||||
"gristApi": {
|
||||
"id": "21",
|
||||
"name": "Grist account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"keepOnlySet": true,
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "date",
|
||||
"value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").toISODate()}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"name": "Set rokoss",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-20,
|
||||
640
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "update",
|
||||
"docId": "tAuWNMisjXqyEkYudRcA2c",
|
||||
"tableId": "Classrooms",
|
||||
"rowId": "1",
|
||||
"fieldsToSend": {
|
||||
"properties": [
|
||||
{
|
||||
"fieldId": "date",
|
||||
"fieldValue": "={{$json[\"date\"]}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "rokoss",
|
||||
"type": "n8n-nodes-base.grist",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
500,
|
||||
800
|
||||
],
|
||||
"credentials": {
|
||||
"gristApi": {
|
||||
"id": "21",
|
||||
"name": "Grist account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"mode": "removeKeyMatches",
|
||||
"propertyName1": "date",
|
||||
"propertyName2": "date"
|
||||
},
|
||||
"name": "Merge4",
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
260,
|
||||
1000
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"keepOnlySet": true,
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "date",
|
||||
"value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").toISODate()}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"name": "Set masani",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-20,
|
||||
980
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"docId": "tAuWNMisjXqyEkYudRcA2c",
|
||||
"tableId": "Classrooms",
|
||||
"returnAll": true,
|
||||
"additionalOptions": {
|
||||
"filter": {
|
||||
"filterProperties": [
|
||||
{
|
||||
"field": "address",
|
||||
"values": "Красносільського 59а"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": "masani2",
|
||||
"type": "n8n-nodes-base.grist",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-20,
|
||||
1160
|
||||
],
|
||||
"credentials": {
|
||||
"gristApi": {
|
||||
"id": "21",
|
||||
"name": "Grist account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"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 Calendar4",
|
||||
"type": "n8n-nodes-base.googleCalendar",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
500,
|
||||
1000
|
||||
],
|
||||
"credentials": {
|
||||
"googleCalendarOAuth2Api": {
|
||||
"id": "6",
|
||||
"name": "Google Calendar account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "update",
|
||||
"docId": "tAuWNMisjXqyEkYudRcA2c",
|
||||
"tableId": "Classrooms",
|
||||
"rowId": "2",
|
||||
"fieldsToSend": {
|
||||
"properties": [
|
||||
{
|
||||
"fieldId": "date",
|
||||
"fieldValue": "={{$json[\"date\"]}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "masani1",
|
||||
"type": "n8n-nodes-base.grist",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
500,
|
||||
1160
|
||||
],
|
||||
"credentials": {
|
||||
"gristApi": {
|
||||
"id": "21",
|
||||
"name": "Grist account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"keepOnlySet": true,
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "date",
|
||||
"value": "={{DateTime.fromFormat($json[\"data\"][0], \"dd.MM.yyyy\").toISODate()}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"name": "Set prospect",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-20,
|
||||
1340
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"mode": "removeKeyMatches",
|
||||
"propertyName1": "date",
|
||||
"propertyName2": "date"
|
||||
},
|
||||
"name": "Merge5",
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
300,
|
||||
1360
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"docId": "tAuWNMisjXqyEkYudRcA2c",
|
||||
"tableId": "Classrooms",
|
||||
"returnAll": true,
|
||||
"additionalOptions": {
|
||||
"filter": {
|
||||
"filterProperties": [
|
||||
{
|
||||
"field": "address",
|
||||
"values": "Проспект Перемоги 39"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": "prospect",
|
||||
"type": "n8n-nodes-base.grist",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-20,
|
||||
1500
|
||||
],
|
||||
"credentials": {
|
||||
"gristApi": {
|
||||
"id": "21",
|
||||
"name": "Grist account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "update",
|
||||
"docId": "tAuWNMisjXqyEkYudRcA2c",
|
||||
"tableId": "Classrooms",
|
||||
"rowId": "3",
|
||||
"fieldsToSend": {
|
||||
"properties": [
|
||||
{
|
||||
"fieldId": "date",
|
||||
"fieldValue": "={{$json[\"date\"]}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "prospect1",
|
||||
"type": "n8n-nodes-base.grist",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
520,
|
||||
1540
|
||||
],
|
||||
"credentials": {
|
||||
"gristApi": {
|
||||
"id": "21",
|
||||
"name": "Grist account"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"HTTP Request2": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTML Extract1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTML Extract1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set rokoss",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTTP Request3": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTML Extract2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTML Extract2": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set masani",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTTP Request4": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTML Extract3",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTML Extract3": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set prospect",
|
||||
"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": "rokoss",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Google Calendar",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"rokoss1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge3",
|
||||
"type": "main",
|
||||
"index": 1
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Set rokoss": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge3",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Set masani": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge4",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"masani2": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge4",
|
||||
"type": "main",
|
||||
"index": 1
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Merge4": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Google Calendar4",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "masani1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Set prospect": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge5",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Merge5": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Google Calendar3",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "prospect1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"prospect": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge5",
|
||||
"type": "main",
|
||||
"index": 1
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdAt": "2022-06-20T08:36:58.934Z",
|
||||
"updatedAt": "2022-06-21T03:20:44.049Z",
|
||||
"settings": {
|
||||
"errorWorkflow": "25"
|
||||
},
|
||||
"staticData": null,
|
||||
"tags": [
|
||||
{
|
||||
"id": "1",
|
||||
"name": "avtomoto25",
|
||||
"createdAt": "2022-05-10T18:06:30.022Z",
|
||||
"updatedAt": "2022-05-10T18:06:30.022Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user