Auto backup (2022-07-17T21:00:58.022Z)
This commit is contained in:
163
flows/28.json
163
flows/28.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"id": 28,
|
||||
"name": "usd",
|
||||
"name": "currncy",
|
||||
"active": true,
|
||||
"nodes": [
|
||||
{
|
||||
@@ -59,11 +59,11 @@
|
||||
"values": {
|
||||
"number": [
|
||||
{
|
||||
"name": "sale",
|
||||
"name": "sale_usd",
|
||||
"value": "={{$json[\"sale\"].substr(0,5)}}"
|
||||
},
|
||||
{
|
||||
"name": "buy",
|
||||
"name": "buy_usd",
|
||||
"value": "={{$json[\"buy\"].substr(0,5)}}"
|
||||
}
|
||||
],
|
||||
@@ -97,8 +97,8 @@
|
||||
"type": "n8n-nodes-base.grist",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
660,
|
||||
300
|
||||
880,
|
||||
380
|
||||
],
|
||||
"credentials": {
|
||||
"gristApi": {
|
||||
@@ -125,6 +125,92 @@
|
||||
-140,
|
||||
480
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"url": "https://minfin.com.ua/currency/auction/eur/buy/chernigov/",
|
||||
"responseFormat": "string",
|
||||
"options": {}
|
||||
},
|
||||
"name": "HTTP Request1",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"typeVersion": 2,
|
||||
"position": [
|
||||
60,
|
||||
480
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"extractionValues": {
|
||||
"values": [
|
||||
{
|
||||
"key": "buy",
|
||||
"cssSelector": "div.buy > span.Typography.cardHeadlineL ",
|
||||
"returnValue": "html"
|
||||
},
|
||||
{
|
||||
"key": "sale",
|
||||
"cssSelector": "div.sale > span.Typography.cardHeadlineL",
|
||||
"returnValue": "html"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"name": "HTML Extract1",
|
||||
"type": "n8n-nodes-base.htmlExtract",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
260,
|
||||
480
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"keepOnlySet": true,
|
||||
"values": {
|
||||
"number": [
|
||||
{
|
||||
"name": "sale_eur",
|
||||
"value": "={{$json[\"sale\"].substr(0,5)}}"
|
||||
},
|
||||
{
|
||||
"name": "buy_eur",
|
||||
"value": "={{$json[\"buy\"].substr(0,5)}}"
|
||||
}
|
||||
],
|
||||
"string": [
|
||||
{
|
||||
"name": "date",
|
||||
"value": "={{$now.toString()}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {
|
||||
"dotNotation": false
|
||||
}
|
||||
},
|
||||
"name": "Set1",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
440,
|
||||
480
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"mode": "mergeByIndex",
|
||||
"join": "outer"
|
||||
},
|
||||
"name": "Merge",
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
660,
|
||||
380
|
||||
]
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
@@ -165,7 +251,7 @@
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Grist",
|
||||
"node": "Merge",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
@@ -179,14 +265,75 @@
|
||||
"node": "HTTP Request",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "HTTP Request1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTML Extract1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HTTP Request1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HTML Extract1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Set1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge",
|
||||
"type": "main",
|
||||
"index": 1
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Grist": {
|
||||
"main": [
|
||||
[]
|
||||
]
|
||||
},
|
||||
"Merge": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Grist",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"createdAt": "2022-05-30T05:02:38.795Z",
|
||||
"updatedAt": "2022-06-21T03:20:12.113Z",
|
||||
"updatedAt": "2022-07-17T09:22:06.673Z",
|
||||
"settings": {},
|
||||
"staticData": null,
|
||||
"tags": []
|
||||
"tags": [
|
||||
{
|
||||
"id": "2",
|
||||
"name": "my",
|
||||
"createdAt": "2022-05-19T09:37:15.931Z",
|
||||
"updatedAt": "2022-05-19T09:37:15.931Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user