Auto backup (2022-12-03T22:01:32.974Z)

This commit is contained in:
nia
2022-12-03 22:01:33 +00:00
parent 30fdbfbb13
commit a43741f954
9 changed files with 347 additions and 24 deletions

View File

@@ -1,6 +1,6 @@
{
"createdAt": "2022-04-29T05:12:17.339Z",
"updatedAt": "2022-12-02T10:18:49.644Z",
"updatedAt": "2022-12-02T22:07:39.150Z",
"id": 10,
"name": "OpenData to Mattermost",
"active": true,
@@ -284,10 +284,10 @@
"settings": {},
"staticData": {
"node:IMAP Email": {
"lastMessageUid": 7095
"lastMessageUid": 7096
}
},
"pinData": {},
"tags": [],
"hash": "41b2a199834b3a23e02cf9bde194a8c6"
"hash": "f1f0749b4cd7799f62af70014aded1a3"
}

View File

@@ -1,9 +1,9 @@
{
"createdAt": "2022-04-29T07:24:59.929Z",
"updatedAt": "2022-12-02T19:22:51.421Z",
"updatedAt": "2022-12-03T07:50:26.901Z",
"id": 11,
"name": "avtomoto25",
"active": true,
"active": false,
"nodes": [
{
"parameters": {},
@@ -18,7 +18,7 @@
},
{
"parameters": {
"path": "scool",
"path": "scool_old",
"responseMode": "responseNode",
"options": {}
},
@@ -205,11 +205,6 @@
}
]
]
},
"Spreadsheet File": {
"main": [
[]
]
}
},
"settings": {
@@ -229,5 +224,5 @@
"name": "avtomoto25"
}
],
"hash": "92e57406df84bedc1c38f41d20cc512c"
"hash": "1373280d521f228ed7519073101499f1"
}

View File

@@ -1,6 +1,6 @@
{
"createdAt": "2022-11-28T06:30:11.913Z",
"updatedAt": "2022-12-02T18:02:59.381Z",
"updatedAt": "2022-12-03T18:38:24.544Z",
"id": 69,
"name": "hi-connect",
"active": true,
@@ -89,7 +89,7 @@
"settings": {},
"staticData": {
"node:IMAP Email": {
"lastMessageUid": 594
"lastMessageUid": 598
}
},
"pinData": {},
@@ -101,5 +101,5 @@
"name": "work"
}
],
"hash": "8d0342eb924d16aff2e4581816180485"
"hash": "6eb4d8b1ddc3c6f6324e7669a689e8c3"
}

306
flows/70.json Normal file
View File

@@ -0,0 +1,306 @@
{
"createdAt": "2022-12-03T07:10:01.943Z",
"updatedAt": "2022-12-03T18:48:06.228Z",
"id": 70,
"name": "google",
"active": true,
"nodes": [
{
"parameters": {
"docId": "tAuWNMisjXqyEkYudRcA2c",
"tableId": "Classrooms",
"returnAll": true,
"additionalOptions": {}
},
"id": "5fb335dc-e91f-4de7-b836-42061d936558",
"name": "Grist",
"type": "n8n-nodes-base.grist",
"typeVersion": 1,
"position": [
880,
200
],
"credentials": {
"gristApi": {
"id": "21",
"name": "Grist account"
}
}
},
{
"parameters": {
"operation": "toFile",
"fileFormat": "csv",
"options": {}
},
"id": "1b2ea0b1-1a5b-4f1e-b9b6-f46ca851e0c9",
"name": "Spreadsheet File",
"type": "n8n-nodes-base.spreadsheetFile",
"typeVersion": 1,
"position": [
1100,
200
]
},
{
"parameters": {
"rule": {
"interval": [
{
"field": "minutes",
"minutesInterval": 10
}
]
}
},
"id": "0a5c9419-5156-48d9-a156-176f312e262a",
"name": "Schedule Trigger",
"type": "n8n-nodes-base.scheduleTrigger",
"typeVersion": 1,
"position": [
640,
200
]
},
{
"parameters": {
"fileName": "/files/classrooms.csv",
"options": {
"append": false
}
},
"id": "4a9893ea-5eeb-452d-a8b6-16e96266c947",
"name": "Write Binary File",
"type": "n8n-nodes-base.writeBinaryFile",
"typeVersion": 1,
"position": [
1320,
200
]
},
{
"parameters": {
"authentication": "headerAuth",
"path": "driver_scool",
"responseMode": "responseNode",
"options": {}
},
"name": "Webhook1",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
440,
440
],
"webhookId": "42d23674-abe0-4cb4-a158-3319140d97f0",
"id": "01eb7b4e-4a1f-424a-8603-4848a61f5bc2",
"credentials": {
"httpHeaderAuth": {
"id": "22",
"name": "n8n webhook"
}
}
},
{
"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"
},
{
"fieldToAggregate": "time_2"
},
{
"fieldToAggregate": "time_3"
},
{
"fieldToAggregate": "day_3_ua"
},
{
"fieldToAggregate": "day_3_ru"
}
]
},
"options": {}
},
"name": "Item Lists1",
"type": "n8n-nodes-base.itemLists",
"typeVersion": 1,
"position": [
1080,
440
],
"id": "b8420135-7337-4079-b1b6-1101ef314f74"
},
{
"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\"day3\":\n{\n\"ru\": \"{{$json[\"day_3_ru\"][0]}}\",\n\"ua\": \"{{$json[\"day_3_ua\"][0]}}\"\n},\n \"time\": \"{{$json[\"time\"][0]}}\",\n \"time_2\": \"{{$json[\"time_2\"][0]}}\",\n \"time_3\": \"{{$json[\"time_3\"][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\"day3\":\n{\n\"ru\": \"{{$json[\"day_3_ru\"][1]}}\",\n\"ua\": \"{{$json[\"day_3_ua\"][1]}}\"\n},\n\"time\": \"{{$json[\"time\"][1]}}\",\n\"time_2\": \"{{$json[\"time_2\"][1]}}\",\n\"time_3\": \"{{$json[\"time_3\"][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\"day3\":\n{\n\"ru\": \"{{$json[\"day_3_ru\"][2]}}\",\n\"ua\": \"{{$json[\"day_3_ua\"][2]}}\"\n},\n\"time\": \"{{$json[\"time\"][2]}}\",\n\"time_2\": \"{{$json[\"time_2\"][2]}}\",\n\"time_3\": \"{{$json[\"time_3\"][2]}}\"\n}\n}\n}",
"options": {
"responseCode": 200
}
},
"name": "Respond to Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1,
"position": [
1320,
440
],
"id": "4187897a-adb4-4da6-abe8-32a02fd35ed2"
},
{
"parameters": {
"filePath": "/files/classrooms.csv"
},
"id": "9e8d20d2-38b7-47e8-a645-4595ea61eee3",
"name": "Read Binary File",
"type": "n8n-nodes-base.readBinaryFile",
"typeVersion": 1,
"position": [
640,
440
]
},
{
"parameters": {
"options": {
"headerRow": true,
"rawData": true
}
},
"id": "6d8b2a6a-0423-4ad4-927c-501f548a6285",
"name": "Spreadsheet File1",
"type": "n8n-nodes-base.spreadsheetFile",
"typeVersion": 1,
"position": [
860,
440
]
}
],
"connections": {
"Grist": {
"main": [
[
{
"node": "Spreadsheet File",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "Grist",
"type": "main",
"index": 0
}
]
]
},
"Spreadsheet File": {
"main": [
[
{
"node": "Write Binary File",
"type": "main",
"index": 0
}
]
]
},
"Item Lists1": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
},
"Read Binary File": {
"main": [
[
{
"node": "Spreadsheet File1",
"type": "main",
"index": 0
}
]
]
},
"Spreadsheet File1": {
"main": [
[
{
"node": "Item Lists1",
"type": "main",
"index": 0
}
]
]
},
"Webhook1": {
"main": [
[
{
"node": "Read Binary File",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {},
"staticData": {
"node:Schedule Trigger": {
"recurrencyRules": []
}
},
"pinData": {},
"tags": [
{
"createdAt": "2022-05-10T18:06:30.022Z",
"updatedAt": "2022-05-10T18:06:30.022Z",
"id": "1",
"name": "avtomoto25"
}
],
"hash": "a0f9888887e3d3ca1c3c8bbd659f91fe"
}