Auto backup (2022-07-15T21:00:57.157Z)
This commit is contained in:
119
flows/27.json
119
flows/27.json
@@ -67,10 +67,6 @@
|
||||
"dataPropertyName": "items",
|
||||
"extractionValues": {
|
||||
"values": [
|
||||
{
|
||||
"key": "title",
|
||||
"cssSelector": ".css-v3vynn-Text"
|
||||
},
|
||||
{
|
||||
"key": "link",
|
||||
"cssSelector": "a.css-1bbgabe",
|
||||
@@ -78,13 +74,7 @@
|
||||
"attribute": "href"
|
||||
},
|
||||
{
|
||||
"key": "image",
|
||||
"cssSelector": ".css-gwhqbt",
|
||||
"returnValue": "attribute",
|
||||
"attribute": "src"
|
||||
},
|
||||
{
|
||||
"key": "date",
|
||||
"key": "city",
|
||||
"cssSelector": "p.css-p6wsjo-Text.eu5v0x0"
|
||||
}
|
||||
]
|
||||
@@ -148,7 +138,7 @@
|
||||
"conditions": {
|
||||
"string": [
|
||||
{
|
||||
"value1": "={{$json[\"title\"]}}",
|
||||
"value1": "={{$json[\"link\"]}}",
|
||||
"operation": "isNotEmpty"
|
||||
}
|
||||
]
|
||||
@@ -166,7 +156,6 @@
|
||||
"parameters": {
|
||||
"docId": "d61nLm6Fn99jwqxd6hdT9d",
|
||||
"tableId": "Items",
|
||||
"returnAll": true,
|
||||
"additionalOptions": {
|
||||
"filter": {
|
||||
"filterProperties": [
|
||||
@@ -202,8 +191,8 @@
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1520,
|
||||
400
|
||||
1500,
|
||||
300
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -217,7 +206,7 @@
|
||||
"type": "n8n-nodes-base.grist",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1700,
|
||||
2280,
|
||||
500
|
||||
],
|
||||
"credentials": {
|
||||
@@ -258,6 +247,10 @@
|
||||
"cssSelector": "img.css-1bmvjcs",
|
||||
"returnValue": "attribute",
|
||||
"attribute": "src"
|
||||
},
|
||||
{
|
||||
"key": "title",
|
||||
"cssSelector": "h1.css-r9zjja-Text.eu5v0x0"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -273,31 +266,6 @@
|
||||
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{{$json[\"trim_content\"]}} ...\n<a href=\"{{$node[\"Merge1\"].json[\"link\"]}}\">Подробнее</a>",
|
||||
"parse_mode": "HTML"
|
||||
}
|
||||
},
|
||||
"name": "Telegram2",
|
||||
"type": "n8n-nodes-base.telegram",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
2540,
|
||||
300
|
||||
],
|
||||
"credentials": {
|
||||
"telegramApi": {
|
||||
"id": "31",
|
||||
"name": "Telegram account"
|
||||
}
|
||||
},
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "multiStep",
|
||||
@@ -323,7 +291,7 @@
|
||||
"type": "n8n-nodes-base.editImage",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
2380,
|
||||
2280,
|
||||
300
|
||||
]
|
||||
},
|
||||
@@ -337,7 +305,7 @@
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"typeVersion": 2,
|
||||
"position": [
|
||||
2220,
|
||||
2100,
|
||||
300
|
||||
]
|
||||
},
|
||||
@@ -349,8 +317,8 @@
|
||||
"type": "n8n-nodes-base.functionItem",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
2040,
|
||||
300
|
||||
2000,
|
||||
60
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -359,7 +327,7 @@
|
||||
"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>",
|
||||
"caption": "=#{{$node[\"Set\"].json[\"tag\"]}}\n<b>{{$json[\"title\"]}} - {{$json[\"price\"]}}</b>\n<i>{{$node[\"HTML Extract1\"].json[\"city\"]}}</i>\n<a href=\"{{$node[\"Merge1\"].json[\"link\"]}}\">Подробнее</a>",
|
||||
"parse_mode": "HTML"
|
||||
}
|
||||
},
|
||||
@@ -367,8 +335,8 @@
|
||||
"type": "n8n-nodes-base.telegram",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
2540,
|
||||
440
|
||||
2520,
|
||||
300
|
||||
],
|
||||
"credentials": {
|
||||
"telegramApi": {
|
||||
@@ -376,6 +344,38 @@
|
||||
"name": "Telegram account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "link",
|
||||
"value": "={{$node[\"Merge1\"].json[\"link\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "tag",
|
||||
"value": "={{$node[\"Set\"].json[\"tag\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "city",
|
||||
"value": "={{$node[\"HTML Extract1\"].json[\"city\"]}}"
|
||||
},
|
||||
{
|
||||
"name": "date",
|
||||
"value": "={{$now.toString()}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"name": "Set1",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
2100,
|
||||
500
|
||||
]
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
@@ -481,11 +481,6 @@
|
||||
"Merge1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Grist",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "HTTP Request1",
|
||||
"type": "main",
|
||||
@@ -509,7 +504,12 @@
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "FunctionItem",
|
||||
"node": "Set1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "HTTP Request2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
@@ -519,11 +519,6 @@
|
||||
"Edit Image": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Telegram2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Telegram",
|
||||
"type": "main",
|
||||
@@ -543,11 +538,11 @@
|
||||
]
|
||||
]
|
||||
},
|
||||
"FunctionItem": {
|
||||
"Set1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTTP Request2",
|
||||
"node": "Grist",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
@@ -556,7 +551,7 @@
|
||||
}
|
||||
},
|
||||
"createdAt": "2022-05-27T16:18:47.443Z",
|
||||
"updatedAt": "2022-07-13T08:33:43.050Z",
|
||||
"updatedAt": "2022-07-15T17:16:33.702Z",
|
||||
"settings": {
|
||||
"errorWorkflow": "25"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user