From a1d4661b2740bca57e1b19d1884dc7f0f798dbbc Mon Sep 17 00:00:00 2001 From: m3tam3re <41329178+m3tam3re@users.noreply.github.com> Date: Sun, 7 May 2023 00:00:32 +0200 Subject: [PATCH] [N8N Backup] Shopify <--> Mautic.json (different) --- workflows/Shopify <--> Mautic.json | 77 +++++++++++++++--------------- 1 file changed, 39 insertions(+), 38 deletions(-) diff --git a/workflows/Shopify <--> Mautic.json b/workflows/Shopify <--> Mautic.json index 8e10f46..b5b08ab 100644 --- a/workflows/Shopify <--> Mautic.json +++ b/workflows/Shopify <--> Mautic.json @@ -12,17 +12,6 @@ ] ] }, - "Webhook": { - "main": [ - [ - { - "node": "Email suchen", - "type": "main", - "index": 0 - } - ] - ] - }, "Webhook1": { "main": [ [ @@ -138,35 +127,23 @@ } ] ] + }, + "Shopify Trigger": { + "main": [ + [ + { + "node": "Email suchen", + "type": "main", + "index": 0 + } + ] + ] } }, "createdAt": "2023-04-30T12:45:41.935Z", "id": "11", "name": "Shopify <--> Mautic", "nodes": [ - { - "parameters": { - "authentication": "headerAuth", - "httpMethod": "POST", - "path": "c40eca92-295d-4172-b699-55fc1913603f", - "options": {} - }, - "id": "fa144037-c609-4e1f-871c-b75bed8cdf9a", - "name": "Webhook", - "type": "n8n-nodes-base.webhook", - "typeVersion": 1, - "position": [ - 40, - 0 - ], - "webhookId": "c40eca92-295d-4172-b699-55fc1913603f", - "credentials": { - "httpHeaderAuth": { - "id": "14", - "name": "Shopify lanakk.com" - } - } - }, { "parameters": { "authentication": "oAuth2", @@ -327,7 +304,7 @@ "conditions": { "boolean": [ { - "value1": "={{ $node.Webhook.json.body.accepts_marketing }}", + "value1": "={{ $node[\"Shopify Trigger\"].json[\"accepts_marketing\"] }}", "value2": "={{ true }}" } ] @@ -464,13 +441,37 @@ 660, 160 ] + }, + { + "parameters": { + "topic": "customers/update" + }, + "id": "e34a2cf2-8ee5-4cb9-9a9c-9ecd422107df", + "name": "Shopify Trigger", + "type": "n8n-nodes-base.shopifyTrigger", + "typeVersion": 1, + "position": [ + 40, + 0 + ], + "webhookId": "ebce58fc-45cf-4c1c-8427-3ffbaccdb440", + "credentials": { + "shopifyApi": { + "id": "13", + "name": "lanakk.com" + } + } } ], "pinData": {}, "settings": {}, - "staticData": null, + "staticData": { + "node:Shopify Trigger": { + "webhookId": 1264497295625 + } + }, "tags": [], "triggerCount": 2, - "updatedAt": "2023-05-06T03:37:01.000Z", - "versionId": "1ea671e0-eda7-4252-832d-159ef3d68b11" + "updatedAt": "2023-05-06T13:28:13.000Z", + "versionId": "b643a59d-de3c-40b1-a508-40a20f595a4d" } \ No newline at end of file