[N8N Backup] Shopify <--> Mautic.json (different)
This commit is contained in:
parent
a2a0340739
commit
a3d0eab9c1
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"active": false,
|
"active": true,
|
||||||
"connections": {
|
"connections": {
|
||||||
"Email suchen": {
|
"Email suchen": {
|
||||||
"main": [
|
"main": [
|
||||||
|
@ -166,7 +166,7 @@
|
||||||
"operation": "getAll",
|
"operation": "getAll",
|
||||||
"limit": 1,
|
"limit": 1,
|
||||||
"options": {
|
"options": {
|
||||||
"search": "in@lanakk.com"
|
"search": "={{ $json.body.email }}"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"id": "34c7436f-21b8-400a-b754-baacf1f38ec9",
|
"id": "34c7436f-21b8-400a-b754-baacf1f38ec9",
|
||||||
|
@ -251,7 +251,7 @@
|
||||||
"authentication": "headerAuth",
|
"authentication": "headerAuth",
|
||||||
"endpoint": "https://lana-kk.myshopify.com/admin/api/2022-01/graphql.json",
|
"endpoint": "https://lana-kk.myshopify.com/admin/api/2022-01/graphql.json",
|
||||||
"requestFormat": "json",
|
"requestFormat": "json",
|
||||||
"query": "={\n customers(first: 1, query: \"email:'dev@lanakk.com'\" ) {\n edges {\n node {\n id\n email\n marketingOptInLevel\n }\n }\n }\n}"
|
"query": "={\n customers(first: 1, query: \"email:'{{ $node[\"Webhook1\"].json[\"body\"][\"mautic.lead_post_save_update\"][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": "1bc94c14-ceda-42e1-94dc-1ac91ac72f8b",
|
||||||
"name": "GraphQL",
|
"name": "GraphQL",
|
||||||
|
@ -291,7 +291,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"url": "https://ma.lanakk.com/api/contacts/37380/segments",
|
"url": "=https://ma.lanakk.com/api/contacts/{{ $json[\"body\"][\"mautic.lead_post_save_update\"][0][\"contact\"][\"id\"] }}/segments",
|
||||||
"authentication": "predefinedCredentialType",
|
"authentication": "predefinedCredentialType",
|
||||||
"nodeCredentialType": "mauticOAuth2Api",
|
"nodeCredentialType": "mauticOAuth2Api",
|
||||||
"options": {}
|
"options": {}
|
||||||
|
@ -384,10 +384,10 @@
|
||||||
{
|
{
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"authentication": "oAuth2",
|
"authentication": "oAuth2",
|
||||||
"email": "bob@lanakk.com",
|
"email": "={{ $node[\"Webhook\"].json[\"body\"][\"email\"] }}",
|
||||||
"firstName": "={{ $node[\"Webhook\"].json[\"body\"][\"first_name\"] }}",
|
"firstName": "={{ $node[\"Webhook\"].json[\"body\"][\"first_name\"] }}",
|
||||||
"lastName": "={{ $node[\"Webhook\"].json[\"body\"][\"last_name\"] }}",
|
"lastName": "={{ $node[\"Webhook\"].json[\"body\"][\"last_name\"] }}",
|
||||||
"company": "[empty]",
|
"company": "=",
|
||||||
"additionalFields": {},
|
"additionalFields": {},
|
||||||
"options": {}
|
"options": {}
|
||||||
},
|
},
|
||||||
|
@ -463,7 +463,7 @@
|
||||||
"settings": {},
|
"settings": {},
|
||||||
"staticData": null,
|
"staticData": null,
|
||||||
"tags": [],
|
"tags": [],
|
||||||
"triggerCount": 0,
|
"triggerCount": 2,
|
||||||
"updatedAt": "2023-05-03T04:19:05.000Z",
|
"updatedAt": "2023-05-04T03:57:31.000Z",
|
||||||
"versionId": "da3d506a-a542-4d72-8b84-f5b64c90de1e"
|
"versionId": "ee2d6ecc-b4dd-4ed9-9719-cfed60353ae5"
|
||||||
}
|
}
|
Loading…
Reference in New Issue