Auto backup (2022-07-13T21:00:22.574Z)

This commit is contained in:
nia
2022-07-13 21:00:22 +00:00
parent 345aff0585
commit 7d38da6706
11 changed files with 2269 additions and 254 deletions

View File

@@ -1,6 +1,6 @@
{
"id": 27,
"name": "olx ps4game",
"name": "olx ps4game che",
"active": true,
"nodes": [
{
@@ -23,7 +23,7 @@
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 2,
"position": [
380,
400,
300
]
},
@@ -115,8 +115,8 @@
"type": "n8n-nodes-base.cron",
"typeVersion": 1,
"position": [
200,
640
180,
480
]
},
{
@@ -140,7 +140,7 @@
"typeVersion": 1,
"position": [
1280,
320
300
]
},
{
@@ -165,7 +165,7 @@
{
"parameters": {
"docId": "d61nLm6Fn99jwqxd6hdT9d",
"tableId": "Ps4_games_ch",
"tableId": "Items",
"returnAll": true,
"additionalOptions": {
"filter": {
@@ -183,7 +183,7 @@
"typeVersion": 1,
"position": [
1280,
580
500
],
"credentials": {
"gristApi": {
@@ -202,15 +202,15 @@
"type": "n8n-nodes-base.merge",
"typeVersion": 1,
"position": [
1480,
420
1520,
400
]
},
{
"parameters": {
"operation": "create",
"docId": "d61nLm6Fn99jwqxd6hdT9d",
"tableId": "Ps4_games_ch",
"tableId": "Items",
"dataToSend": "autoMapInputs"
},
"name": "Grist",
@@ -218,7 +218,7 @@
"typeVersion": 1,
"position": [
1700,
580
500
],
"credentials": {
"gristApi": {
@@ -238,7 +238,7 @@
"typeVersion": 2,
"position": [
1700,
260
300
]
},
{
@@ -261,23 +261,25 @@
}
]
},
"options": {}
"options": {
"trimValues": true
}
},
"name": "HTML Extract2",
"type": "n8n-nodes-base.htmlExtract",
"typeVersion": 1,
"position": [
1900,
260
1880,
300
]
},
{
"parameters": {
"operation": "sendPhoto",
"chatId": "1684481",
"file": "={{$json[\"image\"]}}",
"binaryData": true,
"additionalFields": {
"caption": "=#{{$node[\"Set\"].json[\"tag\"]}}\n<b>{{$node[\"Merge1\"].json[\"title\"]}} - {{$json[\"price\"]}}</b>\n<i>{{$node[\"Merge1\"].json[\"date\"]}}</i>\n{{$json[\"content\"]}}\n<a href=\"{{$node[\"Merge1\"].json[\"link\"]}}\">ссылка</a>",
"caption": "=#{{$node[\"Set\"].json[\"tag\"]}}\n<b>{{$node[\"Merge1\"].json[\"title\"]}} - {{$json[\"price\"]}}</b>\n<i>{{$node[\"Merge1\"].json[\"date\"]}}</i>\n{{$json[\"trim_content\"]}} ...\n<a href=\"{{$node[\"Merge1\"].json[\"link\"]}}\">Подробнее</a>",
"parse_mode": "HTML"
}
},
@@ -285,8 +287,88 @@
"type": "n8n-nodes-base.telegram",
"typeVersion": 1,
"position": [
2100,
260
2540,
300
],
"credentials": {
"telegramApi": {
"id": "31",
"name": "Telegram account"
}
},
"disabled": true
},
{
"parameters": {
"operation": "multiStep",
"operations": {
"operations": [
{
"operation": "resize",
"width": 300,
"height": -1,
"resizeOption": "onlyIfLarger"
},
{
"operation": "crop",
"width": 300,
"height": 100,
"positionY": 75
}
]
},
"options": {}
},
"name": "Edit Image",
"type": "n8n-nodes-base.editImage",
"typeVersion": 1,
"position": [
2380,
300
]
},
{
"parameters": {
"url": "={{$json[\"image\"]}}",
"responseFormat": "file",
"options": {}
},
"name": "HTTP Request2",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 2,
"position": [
2220,
300
]
},
{
"parameters": {
"functionCode": "// Code here will run once per input item.\n// More info and help: https://docs.n8n.io/nodes/n8n-nodes-base.functionItem\n// Tip: You can use luxon for dates and $jmespath for querying JSON structures\n\n// Add a new field called 'myNewField' to the JSON of the item\nitem.trim_content = $json[\"content\"].slice(0,250);\n\n// You can write logs to the browser console\nconsole.log('Done!');\n\nreturn item;"
},
"name": "FunctionItem",
"type": "n8n-nodes-base.functionItem",
"typeVersion": 1,
"position": [
2040,
300
]
},
{
"parameters": {
"operation": "sendPhoto",
"chatId": "1684481",
"binaryData": true,
"additionalFields": {
"caption": "=#{{$node[\"Set\"].json[\"tag\"]}}\n<b>{{$node[\"Merge1\"].json[\"title\"]}} - {{$json[\"price\"]}}</b>\n<i>{{$node[\"Merge1\"].json[\"date\"]}}</i>\n<a href=\"{{$node[\"Merge1\"].json[\"link\"]}}\">Подробнее</a>",
"parse_mode": "HTML"
}
},
"name": "Telegram",
"type": "n8n-nodes-base.telegram",
"typeVersion": 1,
"position": [
2540,
440
],
"credentials": {
"telegramApi": {
@@ -424,19 +506,57 @@
]
},
"HTML Extract2": {
"main": [
[
{
"node": "FunctionItem",
"type": "main",
"index": 0
}
]
]
},
"Edit Image": {
"main": [
[
{
"node": "Telegram2",
"type": "main",
"index": 0
},
{
"node": "Telegram",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request2": {
"main": [
[
{
"node": "Edit Image",
"type": "main",
"index": 0
}
]
]
},
"FunctionItem": {
"main": [
[
{
"node": "HTTP Request2",
"type": "main",
"index": 0
}
]
]
}
},
"createdAt": "2022-05-27T16:18:47.443Z",
"updatedAt": "2022-07-12T18:48:12.175Z",
"updatedAt": "2022-07-13T08:33:43.050Z",
"settings": {
"errorWorkflow": "25"
},