Auto backup (2022-08-01T21:00:31.449Z)
This commit is contained in:
217
flows/56.json
217
flows/56.json
@@ -30,7 +30,7 @@
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
200,
|
||||
220
|
||||
260
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -288,7 +288,7 @@
|
||||
"typeVersion": 2,
|
||||
"position": [
|
||||
2460,
|
||||
20
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -324,76 +324,9 @@
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
2640,
|
||||
20
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "multiStep",
|
||||
"operations": {
|
||||
"operations": [
|
||||
{
|
||||
"operation": "resize",
|
||||
"width": 300,
|
||||
"height": -1,
|
||||
"resizeOption": "onlyIfLarger"
|
||||
},
|
||||
{
|
||||
"operation": "crop",
|
||||
"width": 300,
|
||||
"height": 100,
|
||||
"positionY": 75
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"name": "Edit Image1",
|
||||
"type": "n8n-nodes-base.editImage",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
3040,
|
||||
-260
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"url": "={{$json[\"image\"]}}",
|
||||
"responseFormat": "file",
|
||||
"options": {}
|
||||
},
|
||||
"name": "HTTP Request5",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"typeVersion": 2,
|
||||
"position": [
|
||||
2880,
|
||||
-240
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "sendPhoto",
|
||||
"chatId": "1684481",
|
||||
"binaryData": true,
|
||||
"additionalFields": {
|
||||
"caption": "=#{{$node[\"IF\"].json[\"tag\"]}}\n<b>{{$json[\"title\"]}} - {{$json[\"price\"]}}</b>\n📍 <i>{{$node[\"IF\"].json[\"city\"]}}</i>\n<a href=\"{{$node[\"IF\"].json[\"link\"]}}\">Подробнее</a>",
|
||||
"parse_mode": "HTML"
|
||||
}
|
||||
},
|
||||
"name": "Telegram1",
|
||||
"type": "n8n-nodes-base.telegram",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
3260,
|
||||
-260
|
||||
],
|
||||
"credentials": {
|
||||
"telegramApi": {
|
||||
"id": "31",
|
||||
"name": "Telegram account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
@@ -426,8 +359,8 @@
|
||||
"type": "n8n-nodes-base.telegram",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
3040,
|
||||
20
|
||||
2860,
|
||||
0
|
||||
],
|
||||
"credentials": {
|
||||
"telegramApi": {
|
||||
@@ -463,6 +396,84 @@
|
||||
1600,
|
||||
20
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"docId": "d61nLm6Fn99jwqxd6hdT9d",
|
||||
"tableId": "Items",
|
||||
"returnAll": true,
|
||||
"additionalOptions": {}
|
||||
},
|
||||
"name": "Grist3",
|
||||
"type": "n8n-nodes-base.grist",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
420,
|
||||
260
|
||||
],
|
||||
"credentials": {
|
||||
"gristApi": {
|
||||
"id": "21",
|
||||
"name": "Grist account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"conditions": {
|
||||
"dateTime": [
|
||||
{
|
||||
"value1": "={{ $json[\"data\"] }}",
|
||||
"operation": "before",
|
||||
"value2": "={{$today.minus({days: 14}).toString()}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"name": "IF2",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
820,
|
||||
260
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"value": "={{ $json[\"date\"] }}",
|
||||
"toFormat": "YYYY-MM-DD",
|
||||
"options": {
|
||||
"fromFormat": "X"
|
||||
}
|
||||
},
|
||||
"name": "Date & Time",
|
||||
"type": "n8n-nodes-base.dateTime",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
620,
|
||||
260
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "delete",
|
||||
"docId": "d61nLm6Fn99jwqxd6hdT9d",
|
||||
"tableId": "Items",
|
||||
"rowId": "={{ $json[\"id\"] }}"
|
||||
},
|
||||
"name": "Grist4",
|
||||
"type": "n8n-nodes-base.grist",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1020,
|
||||
240
|
||||
],
|
||||
"credentials": {
|
||||
"gristApi": {
|
||||
"id": "21",
|
||||
"name": "Grist account"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
@@ -473,6 +484,11 @@
|
||||
"node": "get url",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Grist3",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
@@ -598,28 +614,6 @@
|
||||
]
|
||||
]
|
||||
},
|
||||
"Edit Image1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Telegram1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTTP Request5": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Edit Image1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTML Extract5": {
|
||||
"main": [
|
||||
[
|
||||
@@ -657,10 +651,43 @@
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Grist3": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Date & Time",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"IF2": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Grist4",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Date & Time": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "IF2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdAt": "2022-07-18T17:30:44.606Z",
|
||||
"updatedAt": "2022-07-31T18:04:21.903Z",
|
||||
"updatedAt": "2022-08-01T07:50:29.799Z",
|
||||
"settings": {
|
||||
"errorWorkflow": "25"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user