From 70c5939e66825320d08926f4d85d5da11279d9fc Mon Sep 17 00:00:00 2001 From: m3tam3re <41329178+m3tam3re@users.noreply.github.com> Date: Thu, 22 May 2025 12:00:11 +0200 Subject: [PATCH] [N8N Backup] My workflow.json (different) --- workflows/My workflow.json | 137 +++++-------------------------------- 1 file changed, 18 insertions(+), 119 deletions(-) diff --git a/workflows/My workflow.json b/workflows/My workflow.json index 4386aff..a1b1958 100644 --- a/workflows/My workflow.json +++ b/workflows/My workflow.json @@ -1,137 +1,36 @@ { "active": false, - "connections": { - "HTTP Request": { - "main": [ - [ - { - "node": "Code", - "type": "main", - "index": 0 - } - ] - ] - }, - "Code": { - "main": [ - [ - { - "node": "Edit Fields", - "type": "main", - "index": 0 - } - ] - ] - }, - "Edit Fields": { - "main": [ - [ - { - "node": "HTTP Request1", - "type": "main", - "index": 0 - } - ] - ] - } - }, - "createdAt": "2024-02-23T11:25:15.328Z", - "id": "QHIMkzoAU9taf6mR", + "connections": {}, + "createdAt": "2025-05-22T09:14:45.625Z", + "id": "MEszK8OJ51OVGQAX", "meta": { "templateCredsSetupCompleted": true }, "name": "My workflow", "nodes": [ - { - "parameters": {}, - "id": "14806ae4-561c-4b00-81b4-83de67abee76", - "name": "When clicking \"Test workflow\"", - "type": "n8n-nodes-base.manualTrigger", - "typeVersion": 1, - "position": [ - 1140, - 540 - ] - }, { "parameters": { - "url": "https://lana-kk.myshopify.com/admin/api/2024-01/themes/143692988681/assets.json?asset[key]=sections/header-group.json", - "authentication": "predefinedCredentialType", - "nodeCredentialType": "shopifyAccessTokenApi", - "options": {} - }, - "id": "3426b9f2-0dc8-4d63-b95e-8ceec2e851e1", - "name": "HTTP Request", - "type": "n8n-nodes-base.httpRequest", - "typeVersion": 4.1, - "position": [ - 520, - 260 - ], - "credentials": { - "shopifyAccessTokenApi": { - "id": "11", - "name": "Shopify Access Token account" - } - } - }, - { - "parameters": { - "jsCode": "// Loop over input items and add a new field called 'myNewField' to the JSON of each one\nfor (const item of $input.all()) {\n item.json = JSON.parse(item.json.asset.value);\n}\n\nreturn $input.all();" - }, - "id": "ab1b04e6-141d-4057-82d6-a32426d44f3a", - "name": "Code", - "type": "n8n-nodes-base.code", - "typeVersion": 2, - "position": [ - 740, - 260 - ] - }, - { - "parameters": { - "fields": { - "values": [ + "pollTimes": { + "item": [ { - "name": "sections['announcement-bar'].blocks['f7126305-b86b-4196-a5c9-d3e001ee565f'].settings.top_message_text", - "stringValue": " 20 Jahre Lana KK® Entdecke unsere Angebote" + "mode": "everyMinute" } ] }, - "options": {} + "filters": {} }, - "id": "2c3296ab-479e-4822-af56-97ce7f4244b0", - "name": "Edit Fields", - "type": "n8n-nodes-base.set", - "typeVersion": 3.2, + "id": "16ca4d74-bfdd-4cd6-ab01-3beddab0306e", + "name": "Gmail Trigger", + "type": "n8n-nodes-base.gmailTrigger", + "typeVersion": 1, "position": [ - 960, - 260 - ] - }, - { - "parameters": { - "method": "PUT", - "url": "https://lana-kk.myshopify.com/admin/api/2024-01/themes/143692988681/assets.json", - "authentication": "predefinedCredentialType", - "nodeCredentialType": "shopifyAccessTokenApi", - "sendBody": true, - "specifyBody": "json", - "jsonBody": "={\"asset\":{\"key\":\"sections/header-group2.json\",\"value\":\"{{ JSON.stringify($json).replace(/\\\\/g, \"\\\\\\\\\").replace(/\"/g, '\\\\\"').replace(/\\n/g, \"\\\\n\") }}\"}}", - "options": {} - }, - "id": "79939191-afb8-4120-a6fa-c308e0733327", - "name": "HTTP Request1", - "type": "n8n-nodes-base.httpRequest", - "typeVersion": 4.1, - "position": [ - 1260, - 260 + 1020, + 560 ], "credentials": { - "shopifyAccessTokenApi": { - "id": "11", - "name": "Shopify Access Token account" + "gmailOAuth2": { + "id": "47zM2kXFFVjCUTsl", + "name": "Gmail - hi@lanakk.com" } } } @@ -143,6 +42,6 @@ "staticData": null, "tags": [], "triggerCount": 0, - "updatedAt": "2024-02-28T10:41:29.000Z", - "versionId": "f3cf390d-1179-45c5-ad4d-86b204e96b63" + "updatedAt": "2025-05-22T09:14:45.625Z", + "versionId": "591d3324-269b-4bf0-904e-7ccfee72d3be" } \ No newline at end of file