diff --git a/Test.json b/Test.json index c87f21c..5137dd0 100644 --- a/Test.json +++ b/Test.json @@ -1,7 +1,7 @@ { - "updatedAt": "2025-12-24T13:28:12.000Z", - "createdAt": "2025-12-21T08:27:02.744Z", - "id": "N4n2HmA6azz8n7Uw", + "updatedAt": "2026-04-04T19:52:26.718Z", + "createdAt": "2026-04-04T19:28:29.276Z", + "id": "W2OEeYHl5e7PhC21", "name": "Test", "active": false, "isArchived": false, @@ -11,64 +11,71 @@ "type": "n8n-nodes-base.manualTrigger", "typeVersion": 1, "position": [ - -176, + -224, 0 ], - "id": "14b9aab7-ef42-4b8b-a9de-7ca6403fc9bd", + "id": "a730f4a1-1ec3-4fcb-8c33-92625a563e0d", "name": "When clicking ‘Execute workflow’" }, { "parameters": { - "method": "POST", - "url": "http://192.168.178.165/api/v1/rules", - "authentication": "genericCredentialType", - "genericAuthType": "httpBearerAuth", - "sendBody": true, - "specifyBody": "json", - "jsonBody": "={{$json}}", - "options": {} + "action": "sign" }, - "type": "n8n-nodes-base.httpRequest", - "typeVersion": 4.3, - "position": [ - 416, - 96 - ], - "id": "ca72dd9a-8f5c-46e2-9e0f-03cf6c15836f", - "name": "HTTP Request", - "credentials": { - "httpBearerAuth": { - "id": "a4Ky99AEQbpdFkpb", - "name": "FireFly" - } - }, - "onError": "continueRegularOutput" - }, - { - "parameters": { - "jsCode": "return [\n {\n \"title\": \"Spenden\",\n \"rule_group_id\": \"1\",\n \"trigger\": \"store-journal\",\n \"active\": true,\n \"strict\": true,\n \"stop_processing\": false,\n \"triggers\": [\n {\n \"type\": \"description_contains\",\n \"value\": \"Spende\",\n \"order\": 1,\n \"active\": true,\n \"prohibited\": false,\n \"stop_processing\": false\n }\n ],\n \"actions\": [\n {\n \"type\": \"set_category\",\n \"value\": \"Spenden\",\n \"order\": 1,\n \"active\": true,\n \"stop_processing\": false\n }\n ]\n },\n {\n \"title\": \"Telekommunikation: Handy Verträge\",\n \"rule_group_id\": \"1\",\n \"trigger\": \"store-journal\",\n \"active\": true,\n \"strict\": true,\n \"stop_processing\": false,\n \"triggers\": [\n {\n \"type\": \"description_contains\",\n \"value\": \"Handy\",\n \"order\": 1,\n \"active\": true,\n \"prohibited\": false,\n \"stop_processing\": false\n }\n ],\n \"actions\": [\n {\n \"type\": \"set_category\",\n \"value\": \"Telekommunikation: Handy Verträge\",\n \"order\": 1,\n \"active\": true,\n \"stop_processing\": false\n }\n ]\n },\n {\n \"title\": \"Telekommunikation: Streaming\",\n \"rule_group_id\": \"1\",\n \"trigger\": \"store-journal\",\n \"active\": true,\n \"strict\": true,\n \"stop_processing\": false,\n \"triggers\": [\n {\n \"type\": \"description_contains\",\n \"value\": \"Netfilx\",\n \"order\": 1,\n \"active\": true,\n \"prohibited\": false,\n \"stop_processing\": false\n }\n ],\n \"actions\": [\n {\n \"type\": \"set_category\",\n \"value\": \"Telekommunikation: Streaming\",\n \"order\": 1,\n \"active\": true,\n \"stop_processing\": false\n }\n ]\n },\n {\n \"title\": \"Unterhaltung: Ausgehen\",\n \"rule_group_id\": \"1\",\n \"trigger\": \"store-journal\",\n \"active\": true,\n \"strict\": true,\n \"stop_processing\": false,\n \"triggers\": [\n {\n \"type\": \"description_contains\",\n \"value\": \"\",\n \"order\": 1,\n \"active\": true,\n \"prohibited\": false,\n \"stop_processing\": false\n }\n ],\n \"actions\": [\n {\n \"type\": \"set_category\",\n \"value\": \"Unterhaltung: Ausgehen\",\n \"order\": 1,\n \"active\": true,\n \"stop_processing\": false\n }\n ]\n },\n {\n \"title\": \"Unterhaltung: Musik/Kino\",\n \"rule_group_id\": \"1\",\n \"trigger\": \"store-journal\",\n \"active\": true,\n \"strict\": true,\n \"stop_processing\": false,\n \"triggers\": [\n {\n \"type\": \"description_contains\",\n \"value\": \"Kino\",\n \"order\": 1,\n \"active\": true,\n \"prohibited\": false,\n \"stop_processing\": false\n }\n ],\n \"actions\": [\n {\n \"type\": \"set_category\",\n \"value\": \"Unterhaltung: Musik/Kino\",\n \"order\": 1,\n \"active\": true,\n \"stop_processing\": false\n }\n ]\n },\n {\n \"title\": \"Unterhaltung: Reisen\",\n \"rule_group_id\": \"1\",\n \"trigger\": \"store-journal\",\n \"active\": true,\n \"strict\": true,\n \"stop_processing\": false,\n \"triggers\": [\n {\n \"type\": \"description_contains\",\n \"value\": \"Reisen\",\n \"order\": 1,\n \"active\": true,\n \"prohibited\": false,\n \"stop_processing\": false\n }\n ],\n \"actions\": [\n {\n \"type\": \"set_category\",\n \"value\": \"Unterhaltung: Reisen\",\n \"order\": 1,\n \"active\": true,\n \"stop_processing\": false\n }\n ]\n },\n {\n \"title\": \"Unterhaltung: Sport\",\n \"rule_group_id\": \"1\",\n \"trigger\": \"store-journal\",\n \"active\": true,\n \"strict\": true,\n \"stop_processing\": false,\n \"triggers\": [\n {\n \"type\": \"description_contains\",\n \"value\": \"Sport\",\n \"order\": 1,\n \"active\": true,\n \"prohibited\": false,\n \"stop_processing\": false\n }\n ],\n \"actions\": [\n {\n \"type\": \"set_category\",\n \"value\": \"Unterhaltung: Sport\",\n \"order\": 1,\n \"active\": true,\n \"stop_processing\": false\n }\n ]\n },\n {\n \"title\": \"Versicherungen: Kfz-Versicherung\",\n \"rule_group_id\": \"1\",\n \"trigger\": \"store-journal\",\n \"active\": true,\n \"strict\": true,\n \"stop_processing\": false,\n \"triggers\": [\n {\n \"type\": \"description_contains\",\n \"value\": \"Versicherung\",\n \"order\": 1,\n \"active\": true,\n \"prohibited\": false,\n \"stop_processing\": false\n }\n ],\n \"actions\": [\n {\n \"type\": \"set_category\",\n \"value\": \"Versicherungen: Kfz-Versicherung\",\n \"order\": 1,\n \"active\": true,\n \"stop_processing\": false\n }\n ]\n },\n {\n \"title\": \"Versicherungen: PHV-Haftpflicht\",\n \"rule_group_id\": \"1\",\n \"trigger\": \"store-journal\",\n \"active\": true,\n \"strict\": true,\n \"stop_processing\": false,\n \"triggers\": [\n {\n \"type\": \"description_contains\",\n \"value\": \"Haftpflicht\",\n \"order\": 1,\n \"active\": true,\n \"prohibited\": false,\n \"stop_processing\": false\n }\n ],\n \"actions\": [\n {\n \"type\": \"set_category\",\n \"value\": \"Versicherungen: PHV-Haftpflicht\",\n \"order\": 1,\n \"active\": true,\n \"stop_processing\": false\n }\n ]\n },\n {\n \"title\": \"Versicherungen: Rechtschutzversicherung\",\n \"rule_group_id\": \"1\",\n \"trigger\": \"store-journal\",\n \"active\": true,\n \"strict\": true,\n \"stop_processing\": false,\n \"triggers\": [\n {\n \"type\": \"description_contains\",\n \"value\": \"Rechtschutzversicherung\",\n \"order\": 1,\n \"active\": true,\n \"prohibited\": false,\n \"stop_processing\": false\n }\n ],\n \"actions\": [\n {\n \"type\": \"set_category\",\n \"value\": \"Versicherungen: Rechtschutzversicherung\",\n \"order\": 1,\n \"active\": true,\n \"stop_processing\": false\n }\n ]\n },\n {\n \"title\": \"Wohnen: Miete\",\n \"rule_group_id\": \"1\",\n \"trigger\": \"store-journal\",\n \"active\": true,\n \"strict\": true,\n \"stop_processing\": false,\n \"triggers\": [\n {\n \"type\": \"description_contains\",\n \"value\": \"Miete\",\n \"order\": 1,\n \"active\": true,\n \"prohibited\": false,\n \"stop_processing\": false\n }\n ],\n \"actions\": [\n {\n \"type\": \"set_category\",\n \"value\": \"Wohnen: Miete\",\n \"order\": 1,\n \"active\": true,\n \"stop_processing\": false\n }\n ]\n },\n {\n \"title\": \"Wohnen: Möbel\",\n \"rule_group_id\": \"1\",\n \"trigger\": \"store-journal\",\n \"active\": true,\n \"strict\": true,\n \"stop_processing\": false,\n \"triggers\": [\n {\n \"type\": \"description_contains\",\n \"value\": \"Möbel\",\n \"order\": 1,\n \"active\": true,\n \"prohibited\": false,\n \"stop_processing\": false\n }\n ],\n \"actions\": [\n {\n \"type\": \"set_category\",\n \"value\": \"Wohnen: Möbel\",\n \"order\": 1,\n \"active\": true,\n \"stop_processing\": false\n }\n ]\n },\n {\n \"title\": \"Wohnen: Nebenkosten: Abfall\",\n \"rule_group_id\": \"1\",\n \"trigger\": \"store-journal\",\n \"active\": true,\n \"strict\": true,\n \"stop_processing\": false,\n \"triggers\": [\n {\n \"type\": \"description_contains\",\n \"value\": \"Abfall\",\n \"order\": 1,\n \"active\": true,\n \"prohibited\": false,\n \"stop_processing\": false\n }\n ],\n \"actions\": [\n {\n \"type\": \"set_category\",\n \"value\": \"Wohnen: Nebenkosten: Abfall\",\n \"order\": 1,\n \"active\": true,\n \"stop_processing\": false\n }\n ]\n },\n {\n \"title\": \"Wohnen: Nebenkosten: Sonstiges\",\n \"rule_group_id\": \"1\",\n \"trigger\": \"store-journal\",\n \"active\": true,\n \"strict\": true,\n \"stop_processing\": false,\n \"triggers\": [\n {\n \"type\": \"description_contains\",\n \"value\": \"Sonstiges\",\n \"order\": 1,\n \"active\": true,\n \"prohibited\": false,\n \"stop_processing\": false\n }\n ],\n \"actions\": [\n {\n \"type\": \"set_category\",\n \"value\": \"Wohnen: Nebenkosten: Sonstiges\",\n \"order\": 1,\n \"active\": true,\n \"stop_processing\": false\n }\n ]\n },\n {\n \"title\": \"Wohnen: Nebenkosten: Strom\",\n \"rule_group_id\": \"1\",\n \"trigger\": \"store-journal\",\n \"active\": true,\n \"strict\": true,\n \"stop_processing\": false,\n \"triggers\": [\n {\n \"type\": \"description_contains\",\n \"value\": \"Strom\",\n \"order\": 1,\n \"active\": true,\n \"prohibited\": false,\n \"stop_processing\": false\n }\n ],\n \"actions\": [\n {\n \"type\": \"set_category\",\n \"value\": \"Wohnen: Nebenkosten: Strom\",\n \"order\": 1,\n \"active\": true,\n \"stop_processing\": false\n }\n ]\n },\n {\n \"title\": \"Wohnen: Nebenkosten: Wasser\",\n \"rule_group_id\": \"1\",\n \"trigger\": \"store-journal\",\n \"active\": true,\n \"strict\": true,\n \"stop_processing\": false,\n \"triggers\": [\n {\n \"type\": \"description_contains\",\n \"value\": \"Wasser\",\n \"order\": 1,\n \"active\": true,\n \"prohibited\": false,\n \"stop_processing\": false\n }\n ],\n \"actions\": [\n {\n \"type\": \"set_category\",\n \"value\": \"Wohnen: Nebenkosten: Wasser\",\n \"order\": 1,\n \"active\": true,\n \"stop_processing\": false\n }\n ]\n },\n {\n \"title\": \"Wohnen: Telefon / Internet\",\n \"rule_group_id\": \"1\",\n \"trigger\": \"store-journal\",\n \"active\": true,\n \"strict\": true,\n \"stop_processing\": false,\n \"triggers\": [\n {\n \"type\": \"description_contains\",\n \"value\": \" Internet\",\n \"order\": 1,\n \"active\": true,\n \"prohibited\": false,\n \"stop_processing\": false\n }\n ],\n \"actions\": [\n {\n \"type\": \"set_category\",\n \"value\": \"Wohnen: Telefon / Internet\",\n \"order\": 1,\n \"active\": true,\n \"stop_processing\": false\n }\n ]\n }\n]" - }, - "type": "n8n-nodes-base.code", + "type": "n8n-nodes-base.crypto", "typeVersion": 2, - "position": [ - 0, - 0 - ], - "id": "544d982c-b4f7-40a7-b440-04b880a96bde", - "name": "Code in JavaScript" - }, - { - "parameters": { - "options": {} - }, - "type": "n8n-nodes-base.splitInBatches", - "typeVersion": 3, "position": [ 208, 0 ], - "id": "a6006884-2b26-4f34-a082-a17f2474c750", - "name": "Loop Over Items" + "id": "ba959660-f6a2-4f95-88c7-3a4c2d05b235", + "name": "Crypto", + "credentials": { + "crypto": { + "id": "yPa1ssCixMMmFJzo", + "name": "Crypto account" + } + } + }, + { + "parameters": { + "operation": "runCustomScript", + "scriptCode": "=const deal_url = \"https://www.mydealz.de/\";\nawait $page.goto(deal_url, { waitUntil: ['load', 'domcontentloaded'] });\n\nconst cookies = await $page.cookies();\nresult = [{'data': JSON.stringify(cookies)}];\n\n//result = [];\n//result.push(cookies);\n\nreturn result", + "options": { + "launchArguments": { + "args": [ + { + "arg": "--disable-features=HttpsFirstBalancedModeAutoEnable" + }, + { + "arg": "--no-sandbox" + } + ] + }, + "stealth": true + } + }, + "type": "CUSTOM.puppeteer", + "typeVersion": 1, + "position": [ + -16, + 0 + ], + "id": "0b8380e0-9597-4e82-99c9-5327ca4ef93c", + "name": "login", + "onError": "continueRegularOutput" + }, + { + "parameters": { + "action": "sign" + }, + "type": "n8n-nodes-base.crypto", + "typeVersion": 2, + "position": [ + 416, + 0 + ], + "id": "f6a86829-a90a-4a5c-8d8b-fcf4a2fb0a43", + "name": "Crypto1" } ], "connections": { @@ -76,41 +83,29 @@ "main": [ [ { - "node": "Code in JavaScript", + "node": "login", "type": "main", "index": 0 } ] ] }, - "Code in JavaScript": { + "login": { "main": [ [ { - "node": "Loop Over Items", + "node": "Crypto", "type": "main", "index": 0 } ] ] }, - "Loop Over Items": { - "main": [ - [], - [ - { - "node": "HTTP Request", - "type": "main", - "index": 0 - } - ] - ] - }, - "HTTP Request": { + "Crypto": { "main": [ [ { - "node": "Loop Over Items", + "node": "Crypto1", "type": "main", "index": 0 } @@ -119,21 +114,26 @@ } }, "settings": { - "executionOrder": "v1" + "executionOrder": "v1", + "binaryMode": "separate" }, "staticData": null, - "meta": null, + "meta": { + "templateCredsSetupCompleted": true + }, "pinData": {}, - "versionId": "01f19bf9-dd93-4337-8748-e82dcbbf3a84", + "versionId": "04b3e0ae-cfd5-4411-84d6-a06abd21b66e", + "activeVersionId": null, "triggerCount": 0, "shared": [ { - "updatedAt": "2025-12-21T08:27:02.747Z", - "createdAt": "2025-12-21T08:27:02.747Z", + "updatedAt": "2026-04-04T19:28:29.279Z", + "createdAt": "2026-04-04T19:28:29.279Z", "role": "workflow:owner", - "workflowId": "N4n2HmA6azz8n7Uw", - "projectId": "S4tmpzSj6JlGFOze" + "workflowId": "W2OEeYHl5e7PhC21", + "projectId": "cSAaWNJydnksD5EB" } ], + "activeVersion": null, "tags": [] } \ No newline at end of file