Auto backup (2022-07-29T21:00:30.303Z)

This commit is contained in:
nia
2022-07-29 21:00:30 +00:00
parent 1053672264
commit aba1c243d5
5 changed files with 47 additions and 12 deletions

View File

@@ -86,6 +86,15 @@
},
{
"fieldToAggregate": "time_2"
},
{
"fieldToAggregate": "time_3"
},
{
"fieldToAggregate": "day_3_ua"
},
{
"fieldToAggregate": "day_3_ru"
}
]
},
@@ -102,7 +111,7 @@
{
"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 \"time_2\": \"{{$json[\"time_2\"][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}",
"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 \"time_2\": \"{{$json[\"time_2\"][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\"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
}
@@ -152,13 +161,13 @@
}
},
"createdAt": "2022-04-29T07:24:59.929Z",
"updatedAt": "2022-07-12T11:51:32.916Z",
"updatedAt": "2022-07-29T18:32:40.300Z",
"settings": {
"saveExecutionProgress": "DEFAULT",
"errorWorkflow": "25"
},
"staticData": null,
"pinData": null,
"pinData": {},
"tags": [
{
"id": "1",

View File

@@ -219,7 +219,8 @@
"id": "36",
"name": "Facebook Graph account"
}
}
},
"disabled": true
},
{
"parameters": {
@@ -433,6 +434,18 @@
{
"name": "class",
"value": "={{ $json[\"class\"] }}"
},
{
"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(\"неділя\", \"воскресенье\")}}"
}
]
},
@@ -723,6 +736,18 @@
{
"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\"]}}"
}
]
}
@@ -764,7 +789,8 @@
"id": "6",
"name": "Google Calendar account"
}
}
},
"disabled": true
}
],
"connections": {
@@ -1013,7 +1039,7 @@
}
},
"createdAt": "2022-07-22T17:53:56.513Z",
"updatedAt": "2022-07-23T17:29:12.665Z",
"updatedAt": "2022-07-29T18:33:35.091Z",
"settings": {
"errorWorkflow": "25"
},