Auto backup (2022-07-21T21:00:28.432Z)

This commit is contained in:
nia
2022-07-21 21:00:28 +00:00
parent dd22b720f7
commit 00a2aed30c
5 changed files with 264 additions and 8 deletions

View File

@@ -658,12 +658,12 @@
}
},
"createdAt": "2022-07-18T17:30:44.606Z",
"updatedAt": "2022-07-19T18:07:00.545Z",
"updatedAt": "2022-07-21T07:15:35.963Z",
"settings": {
"errorWorkflow": "25"
},
"staticData": null,
"pinData": null,
"pinData": {},
"tags": [
{
"id": "3",

256
flows/57.json Normal file
View File

@@ -0,0 +1,256 @@
{
"id": 57,
"name": "playstation",
"active": false,
"nodes": [
{
"parameters": {},
"name": "Start",
"type": "n8n-nodes-base.start",
"typeVersion": 1,
"position": [
-800,
320
]
},
{
"parameters": {
"docId": "4jpTtZN5vfAkkj9aMvb2iV",
"tableId": "Cusa",
"additionalOptions": {}
},
"name": "Grist",
"type": "n8n-nodes-base.grist",
"typeVersion": 1,
"position": [
-600,
320
],
"credentials": {
"gristApi": {
"id": "21",
"name": "Grist account"
}
}
},
{
"parameters": {
"values": {
"string": [
{
"name": "url",
"value": "=https://serialstation.com/titles/CUSA/{{$json[\"cusa\"]}}"
}
]
},
"options": {}
},
"name": "Set",
"type": "n8n-nodes-base.set",
"typeVersion": 1,
"position": [
-380,
320
]
},
{
"parameters": {
"url": "={{$json[\"url\"]}}",
"responseFormat": "string",
"options": {}
},
"name": "HTTP Request",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 2,
"position": [
-160,
320
]
},
{
"parameters": {
"extractionValues": {
"values": [
{
"key": "name",
"cssSelector": "h1"
},
{
"key": "image",
"cssSelector": "img.img-fluid",
"returnValue": "attribute",
"attribute": "src"
}
]
},
"options": {}
},
"name": "HTML Extract",
"type": "n8n-nodes-base.htmlExtract",
"typeVersion": 1,
"position": [
60,
320
]
},
{
"parameters": {
"operation": "update",
"docId": "4jpTtZN5vfAkkj9aMvb2iV",
"tableId": "Disks",
"rowId": "={{$node[\"Set\"].json[\"id\"]}}",
"fieldsToSend": {
"properties": [
{
"fieldId": "image",
"fieldValue": "=data {{$binary.data.mimeType}}"
}
]
}
},
"name": "Grist1",
"type": "n8n-nodes-base.grist",
"typeVersion": 1,
"position": [
740,
540
],
"credentials": {
"gristApi": {
"id": "21",
"name": "Grist account"
}
}
},
{
"parameters": {
"url": "={{$json[\"image\"]}}",
"responseFormat": "file",
"options": {}
},
"name": "HTTP Request1",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 2,
"position": [
500,
540
]
},
{
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$json[\"image\"]}}",
"operation": "isNotEmpty"
}
]
}
},
"name": "IF",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
260,
560
]
}
],
"connections": {
"Start": {
"main": [
[
{
"node": "Grist",
"type": "main",
"index": 0
}
]
]
},
"Grist": {
"main": [
[
{
"node": "Set",
"type": "main",
"index": 0
}
]
]
},
"Set": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "HTML Extract",
"type": "main",
"index": 0
}
]
]
},
"HTML Extract": {
"main": [
[
{
"node": "IF",
"type": "main",
"index": 0
}
]
]
},
"Grist1": {
"main": [
[]
]
},
"HTTP Request1": {
"main": [
[
{
"node": "Grist1",
"type": "main",
"index": 0
}
]
]
},
"IF": {
"main": [
[
{
"node": "HTTP Request1",
"type": "main",
"index": 0
}
]
]
}
},
"createdAt": "2022-07-21T13:08:40.854Z",
"updatedAt": "2022-07-21T16:38:37.657Z",
"settings": {},
"staticData": null,
"pinData": {},
"tags": [
{
"id": "2",
"name": "my",
"createdAt": "2022-05-19T09:37:15.931Z",
"updatedAt": "2022-05-19T09:37:15.931Z"
}
]
}