[N8N Backup] Shopify <--> Mautic.json (different)

This commit is contained in:
m3tam3re 2023-08-25 11:53:30 +02:00
parent 20c26b3036
commit 50faccbdf4
1 changed files with 70 additions and 70 deletions

View File

@ -169,8 +169,8 @@
] ]
} }
}, },
"createdAt": "2023-04-30T12:45:41.935Z", "createdAt": "2023-08-25T09:30:15.825Z",
"id": "11", "id": "4",
"name": "Shopify <--> Mautic", "name": "Shopify <--> Mautic",
"nodes": [ "nodes": [
{ {
@ -182,18 +182,18 @@
"search": "={{ $json.email }}" "search": "={{ $json.email }}"
} }
}, },
"id": "34c7436f-21b8-400a-b754-baacf1f38ec9", "id": "2ab62e7d-70aa-444e-a4a3-d5b6f4db23e4",
"name": "Email suchen", "name": "Email suchen",
"type": "n8n-nodes-base.mautic", "type": "n8n-nodes-base.mautic",
"typeVersion": 1, "typeVersion": 1,
"position": [ "position": [
240, -360,
0 300
], ],
"alwaysOutputData": true, "alwaysOutputData": true,
"credentials": { "credentials": {
"mauticOAuth2Api": { "mauticOAuth2Api": {
"id": "20", "id": "6",
"name": "Mautic account" "name": "Mautic account"
} }
} }
@ -206,17 +206,17 @@
"contactId": "={{ $json.id }}", "contactId": "={{ $json.id }}",
"segmentId": 1 "segmentId": 1
}, },
"id": "0b888d2a-3790-4182-bf62-73d99a1614a6", "id": "830fd450-d149-47b1-afd0-5999ecdcdf54",
"name": "Aus Segment entfernen", "name": "Aus Segment entfernen",
"type": "n8n-nodes-base.mautic", "type": "n8n-nodes-base.mautic",
"typeVersion": 1, "typeVersion": 1,
"position": [ "position": [
1380, 780,
100 400
], ],
"credentials": { "credentials": {
"mauticOAuth2Api": { "mauticOAuth2Api": {
"id": "20", "id": "6",
"name": "Mautic account" "name": "Mautic account"
} }
} }
@ -228,17 +228,17 @@
"contactId": "={{ $json.id }}", "contactId": "={{ $json.id }}",
"segmentId": 1 "segmentId": 1
}, },
"id": "4db83f86-9ec7-41fa-8faf-7886eb539195", "id": "a1f319db-2e89-42d7-a018-a5f008e918dc",
"name": "Segment hinzufügen", "name": "Segment hinzufügen",
"type": "n8n-nodes-base.mautic", "type": "n8n-nodes-base.mautic",
"typeVersion": 1, "typeVersion": 1,
"position": [ "position": [
1380, 780,
-140 160
], ],
"credentials": { "credentials": {
"mauticOAuth2Api": { "mauticOAuth2Api": {
"id": "20", "id": "6",
"name": "Mautic account" "name": "Mautic account"
} }
} }
@ -251,13 +251,13 @@
"rawBody": true "rawBody": true
} }
}, },
"id": "4a01eed5-9378-47f3-98ab-e00848ba0093", "id": "98653876-b909-4416-a8ee-aa5857078b48",
"name": "Webhook1", "name": "Webhook1",
"type": "n8n-nodes-base.webhook", "type": "n8n-nodes-base.webhook",
"typeVersion": 1, "typeVersion": 1,
"position": [ "position": [
40, -560,
840 1140
], ],
"webhookId": "c83eb6ce-40dd-418c-952a-ed62a051a00b" "webhookId": "c83eb6ce-40dd-418c-952a-ed62a051a00b"
}, },
@ -267,17 +267,17 @@
"endpoint": "https://lana-kk.myshopify.com/admin/api/2023-04/graphql.json", "endpoint": "https://lana-kk.myshopify.com/admin/api/2023-04/graphql.json",
"query": "={\n customers(first: 1, query: \"email:'{{ $json[\"body\"][\"mautic.lead_channel_subscription_changed\"][0][\"contact\"][\"fields\"][\"core\"][\"email\"][\"value\"] }}'\" ) {\n edges {\n node {\n id\n email\n marketingOptInLevel\n }\n }\n }\n}" "query": "={\n customers(first: 1, query: \"email:'{{ $json[\"body\"][\"mautic.lead_channel_subscription_changed\"][0][\"contact\"][\"fields\"][\"core\"][\"email\"][\"value\"] }}'\" ) {\n edges {\n node {\n id\n email\n marketingOptInLevel\n }\n }\n }\n}"
}, },
"id": "1bc94c14-ceda-42e1-94dc-1ac91ac72f8b", "id": "08ea065c-cc8d-4020-89c0-0aa35d99a373",
"name": "GraphQL", "name": "GraphQL",
"type": "n8n-nodes-base.graphql", "type": "n8n-nodes-base.graphql",
"typeVersion": 1, "typeVersion": 1,
"position": [ "position": [
940, 340,
700 1000
], ],
"credentials": { "credentials": {
"httpHeaderAuth": { "httpHeaderAuth": {
"id": "26", "id": "5",
"name": "lanakk.com - Shopify" "name": "lanakk.com - Shopify"
} }
} }
@ -295,13 +295,13 @@
}, },
"combineOperation": "any" "combineOperation": "any"
}, },
"id": "162ccd38-f38c-4a76-8e56-1ab52b89601e", "id": "107bae94-57b1-4991-a8eb-41e85e5f85af",
"name": "IF1", "name": "IF1",
"type": "n8n-nodes-base.if", "type": "n8n-nodes-base.if",
"typeVersion": 1, "typeVersion": 1,
"position": [ "position": [
1180, 580,
700 1000
] ]
}, },
{ {
@ -315,13 +315,13 @@
] ]
} }
}, },
"id": "47173c1e-7a30-41c3-902d-3c271608c5e5", "id": "b83cfae2-25dc-4ed6-8133-73ee7bb94b29",
"name": "Email vorhanden?", "name": "Email vorhanden?",
"type": "n8n-nodes-base.if", "type": "n8n-nodes-base.if",
"typeVersion": 1, "typeVersion": 1,
"position": [ "position": [
1140, 540,
-20 280
] ]
}, },
{ {
@ -332,17 +332,17 @@
"query": "=mutation customerEmailMarketingConsentUpdate($input: CustomerEmailMarketingConsentUpdateInput!) {\n customerEmailMarketingConsentUpdate(input: $input) {\n customer {\n id\n }\n userErrors {\n field\n message\n }\n }\n}", "query": "=mutation customerEmailMarketingConsentUpdate($input: CustomerEmailMarketingConsentUpdateInput!) {\n customerEmailMarketingConsentUpdate(input: $input) {\n customer {\n id\n }\n userErrors {\n field\n message\n }\n }\n}",
"variables": "={ \"input\": { \"customerId\": \"{{ $node[\"GraphQL\"].json[\"data\"][\"customers\"][\"edges\"][0][\"node\"][\"id\"] }}\", \"emailMarketingConsent\": { \"consentUpdatedAt\": \"{{ $now }}\", \"marketingOptInLevel\": \"SINGLE_OPT_IN\", \"marketingState\": \"UNSUBSCRIBED\" } }}" "variables": "={ \"input\": { \"customerId\": \"{{ $node[\"GraphQL\"].json[\"data\"][\"customers\"][\"edges\"][0][\"node\"][\"id\"] }}\", \"emailMarketingConsent\": { \"consentUpdatedAt\": \"{{ $now }}\", \"marketingOptInLevel\": \"SINGLE_OPT_IN\", \"marketingState\": \"UNSUBSCRIBED\" } }}"
}, },
"id": "d634f91d-8688-4503-9654-12a699e4dad6", "id": "4815d1b0-2455-4bb0-8dd3-717b216e60a1",
"name": "GraphQL2", "name": "GraphQL2",
"type": "n8n-nodes-base.graphql", "type": "n8n-nodes-base.graphql",
"typeVersion": 1, "typeVersion": 1,
"position": [ "position": [
1420, 820,
840 1140
], ],
"credentials": { "credentials": {
"httpHeaderAuth": { "httpHeaderAuth": {
"id": "26", "id": "5",
"name": "lanakk.com - Shopify" "name": "lanakk.com - Shopify"
} }
} }
@ -355,17 +355,17 @@
"query": "=mutation customerEmailMarketingConsentUpdate($input: CustomerEmailMarketingConsentUpdateInput!) {\n customerEmailMarketingConsentUpdate(input: $input) {\n customer {\n id\n }\n userErrors {\n field\n message\n }\n }\n}", "query": "=mutation customerEmailMarketingConsentUpdate($input: CustomerEmailMarketingConsentUpdateInput!) {\n customerEmailMarketingConsentUpdate(input: $input) {\n customer {\n id\n }\n userErrors {\n field\n message\n }\n }\n}",
"variables": "={ \"input\": { \"customerId\": \"{{ $node[\"GraphQL\"].json[\"data\"][\"customers\"][\"edges\"][0][\"node\"][\"id\"] }}\", \"emailMarketingConsent\": { \"consentUpdatedAt\": \"{{ $now }}\", \"marketingOptInLevel\": \"SINGLE_OPT_IN\", \"marketingState\": \"SUBSCRIBED\" } }}" "variables": "={ \"input\": { \"customerId\": \"{{ $node[\"GraphQL\"].json[\"data\"][\"customers\"][\"edges\"][0][\"node\"][\"id\"] }}\", \"emailMarketingConsent\": { \"consentUpdatedAt\": \"{{ $now }}\", \"marketingOptInLevel\": \"SINGLE_OPT_IN\", \"marketingState\": \"SUBSCRIBED\" } }}"
}, },
"id": "dcf79e78-d4ba-4a55-bbc0-840c5c01dae4", "id": "52d46a11-f459-449c-b93e-2890a94b1e65",
"name": "Abonniert", "name": "Abonniert",
"type": "n8n-nodes-base.graphql", "type": "n8n-nodes-base.graphql",
"typeVersion": 1, "typeVersion": 1,
"position": [ "position": [
1420, 820,
560 860
], ],
"credentials": { "credentials": {
"httpHeaderAuth": { "httpHeaderAuth": {
"id": "26", "id": "5",
"name": "lanakk.com - Shopify" "name": "lanakk.com - Shopify"
} }
} }
@ -380,30 +380,30 @@
"additionalFields": {}, "additionalFields": {},
"options": {} "options": {}
}, },
"id": "72dff69d-d130-4533-979f-341c220925d1", "id": "cb999a33-6849-4e36-8141-b5e80c19b175",
"name": "Mautic", "name": "Mautic",
"type": "n8n-nodes-base.mautic", "type": "n8n-nodes-base.mautic",
"typeVersion": 1, "typeVersion": 1,
"position": [ "position": [
940, 340,
140 440
], ],
"credentials": { "credentials": {
"mauticOAuth2Api": { "mauticOAuth2Api": {
"id": "20", "id": "6",
"name": "Mautic account" "name": "Mautic account"
} }
} }
}, },
{ {
"parameters": {}, "parameters": {},
"id": "9e72fd94-5416-4186-9738-0b1a19330f2c", "id": "614139b6-28fa-4983-9732-9cfaad82067a",
"name": "No Operation, do nothing", "name": "No Operation, do nothing",
"type": "n8n-nodes-base.noOp", "type": "n8n-nodes-base.noOp",
"typeVersion": 1, "typeVersion": 1,
"position": [ "position": [
940, 340,
340 640
] ]
}, },
{ {
@ -417,13 +417,13 @@
] ]
} }
}, },
"id": "d81ac980-1063-462f-9812-44239e6fc49d", "id": "2e6cebc8-94ce-473c-9248-f5cc359ee300",
"name": "Kontakt gefunden?", "name": "Kontakt gefunden?",
"type": "n8n-nodes-base.if", "type": "n8n-nodes-base.if",
"typeVersion": 1, "typeVersion": 1,
"position": [ "position": [
460, -140,
0 300
], ],
"alwaysOutputData": false "alwaysOutputData": false
}, },
@ -438,13 +438,13 @@
] ]
} }
}, },
"id": "580be6e1-8658-4741-b52a-43d22faa7e23", "id": "f6faee14-d93d-4b85-b8fa-9f4d8c127594",
"name": "Marketing Einwilligung?", "name": "Marketing Einwilligung?",
"type": "n8n-nodes-base.if", "type": "n8n-nodes-base.if",
"typeVersion": 1, "typeVersion": 1,
"position": [ "position": [
660, 60,
160 460
] ]
}, },
{ {
@ -452,18 +452,18 @@
"authentication": "accessToken", "authentication": "accessToken",
"topic": "customers/update" "topic": "customers/update"
}, },
"id": "e34a2cf2-8ee5-4cb9-9a9c-9ecd422107df", "id": "b20ef5e3-b002-4d29-bacf-cb731237803b",
"name": "Shopify Trigger", "name": "Shopify Trigger",
"type": "n8n-nodes-base.shopifyTrigger", "type": "n8n-nodes-base.shopifyTrigger",
"typeVersion": 1, "typeVersion": 1,
"position": [ "position": [
40, -560,
0 300
], ],
"webhookId": "ebce58fc-45cf-4c1c-8427-3ffbaccdb440", "webhookId": "ebce58fc-45cf-4c1c-8427-3ffbaccdb440",
"credentials": { "credentials": {
"shopifyAccessTokenApi": { "shopifyAccessTokenApi": {
"id": "25", "id": "11",
"name": "Shopify Access Token account" "name": "Shopify Access Token account"
} }
} }
@ -477,13 +477,13 @@
"secret": "0a9dcfe4f362625efc5a38bc709598c61869552fcfc1aceb8fc08edad8dd3825", "secret": "0a9dcfe4f362625efc5a38bc709598c61869552fcfc1aceb8fc08edad8dd3825",
"encoding": "base64" "encoding": "base64"
}, },
"id": "31deaf45-706d-4bcc-b92a-1f0ed7f8ff9e", "id": "2c64dae7-5409-4767-92ab-43239bb038f0",
"name": "Crypto", "name": "Crypto",
"type": "n8n-nodes-base.crypto", "type": "n8n-nodes-base.crypto",
"typeVersion": 1, "typeVersion": 1,
"position": [ "position": [
460, -140,
840 1140
] ]
}, },
{ {
@ -497,13 +497,13 @@
] ]
} }
}, },
"id": "dec9961f-d754-4d87-980f-61853ea66a14", "id": "d16fae8c-6b13-42cb-831b-437c41919b1b",
"name": "IF", "name": "IF",
"type": "n8n-nodes-base.if", "type": "n8n-nodes-base.if",
"typeVersion": 1, "typeVersion": 1,
"position": [ "position": [
680, 80,
840 1140
] ]
}, },
{ {
@ -511,24 +511,24 @@
"setAllData": false, "setAllData": false,
"options": {} "options": {}
}, },
"id": "cfff982c-953b-49fd-8d43-340ca7a1f447", "id": "2677101f-c550-4748-afef-e41fe1af0604",
"name": "Move Binary Data", "name": "Move Binary Data",
"type": "n8n-nodes-base.moveBinaryData", "type": "n8n-nodes-base.moveBinaryData",
"typeVersion": 1, "typeVersion": 1,
"position": [ "position": [
240, -360,
840 1140
] ]
}, },
{ {
"parameters": {}, "parameters": {},
"id": "9f471b45-d736-494d-9221-49c45f700c8b", "id": "6cb7bd1f-939d-43af-966e-171a1ba3d7da",
"name": "No Operation, do nothing1", "name": "No Operation, do nothing1",
"type": "n8n-nodes-base.noOp", "type": "n8n-nodes-base.noOp",
"typeVersion": 1, "typeVersion": 1,
"position": [ "position": [
940, 340,
1000 1300
] ]
}, },
{ {
@ -536,13 +536,13 @@
"endpoint": "https://swapi-graphql.netlify.app/.netlify/functions/index", "endpoint": "https://swapi-graphql.netlify.app/.netlify/functions/index",
"query": "query Query { allFilms { films { title director releaseDate speciesConnection { species { name classification homeworld { name } } } } } }" "query": "query Query { allFilms { films { title director releaseDate speciesConnection { species { name classification homeworld { name } } } } } }"
}, },
"id": "fe1512a0-bb72-4ef1-b6db-f676336c3fbe", "id": "49c0a40f-d1a2-453a-ac5b-37230206772f",
"name": "GraphQL1", "name": "GraphQL1",
"type": "n8n-nodes-base.graphql", "type": "n8n-nodes-base.graphql",
"typeVersion": 1, "typeVersion": 1,
"position": [ "position": [
780, 180,
-140 160
] ]
} }
], ],
@ -550,11 +550,11 @@
"settings": {}, "settings": {},
"staticData": { "staticData": {
"node:Shopify Trigger": { "node:Shopify Trigger": {
"webhookId": 1286935085321 "webhookId": 1289446981897
} }
}, },
"tags": [], "tags": [],
"triggerCount": 2, "triggerCount": 2,
"updatedAt": "2023-08-07T06:58:05.000Z", "updatedAt": "2023-08-25T09:48:56.000Z",
"versionId": "71645759-216e-40ec-8b5c-3ba48b22cc4d" "versionId": "bd1863bc-07f6-4715-b7de-a081c5ac6cc8"
} }