mirror of
https://github.com/m3tam3re/n8n-backup.git
synced 2025-06-04 01:03:55 +00:00
[N8N Backup] My workflow.json (different)
This commit is contained in:
parent
be3cc11856
commit
70c5939e66
@ -1,137 +1,36 @@
|
|||||||
{
|
{
|
||||||
"active": false,
|
"active": false,
|
||||||
"connections": {
|
"connections": {},
|
||||||
"HTTP Request": {
|
"createdAt": "2025-05-22T09:14:45.625Z",
|
||||||
"main": [
|
"id": "MEszK8OJ51OVGQAX",
|
||||||
[
|
|
||||||
{
|
|
||||||
"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",
|
|
||||||
"meta": {
|
"meta": {
|
||||||
"templateCredsSetupCompleted": true
|
"templateCredsSetupCompleted": true
|
||||||
},
|
},
|
||||||
"name": "My workflow",
|
"name": "My workflow",
|
||||||
"nodes": [
|
"nodes": [
|
||||||
{
|
{
|
||||||
"parameters": {},
|
"parameters": {
|
||||||
"id": "14806ae4-561c-4b00-81b4-83de67abee76",
|
"pollTimes": {
|
||||||
"name": "When clicking \"Test workflow\"",
|
"item": [
|
||||||
"type": "n8n-nodes-base.manualTrigger",
|
{
|
||||||
|
"mode": "everyMinute"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"filters": {}
|
||||||
|
},
|
||||||
|
"id": "16ca4d74-bfdd-4cd6-ab01-3beddab0306e",
|
||||||
|
"name": "Gmail Trigger",
|
||||||
|
"type": "n8n-nodes-base.gmailTrigger",
|
||||||
"typeVersion": 1,
|
"typeVersion": 1,
|
||||||
"position": [
|
"position": [
|
||||||
1140,
|
1020,
|
||||||
540
|
560
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"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": {
|
"credentials": {
|
||||||
"shopifyAccessTokenApi": {
|
"gmailOAuth2": {
|
||||||
"id": "11",
|
"id": "47zM2kXFFVjCUTsl",
|
||||||
"name": "Shopify Access Token account"
|
"name": "Gmail - hi@lanakk.com"
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"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": [
|
|
||||||
{
|
|
||||||
"name": "sections['announcement-bar'].blocks['f7126305-b86b-4196-a5c9-d3e001ee565f'].settings.top_message_text",
|
|
||||||
"stringValue": "<a href=\"https://www.lanakk.com/collections/sale\"> 20 Jahre Lana KK® Entdecke unsere Angebote</a>"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"options": {}
|
|
||||||
},
|
|
||||||
"id": "2c3296ab-479e-4822-af56-97ce7f4244b0",
|
|
||||||
"name": "Edit Fields",
|
|
||||||
"type": "n8n-nodes-base.set",
|
|
||||||
"typeVersion": 3.2,
|
|
||||||
"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
|
|
||||||
],
|
|
||||||
"credentials": {
|
|
||||||
"shopifyAccessTokenApi": {
|
|
||||||
"id": "11",
|
|
||||||
"name": "Shopify Access Token account"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -143,6 +42,6 @@
|
|||||||
"staticData": null,
|
"staticData": null,
|
||||||
"tags": [],
|
"tags": [],
|
||||||
"triggerCount": 0,
|
"triggerCount": 0,
|
||||||
"updatedAt": "2024-02-28T10:41:29.000Z",
|
"updatedAt": "2025-05-22T09:14:45.625Z",
|
||||||
"versionId": "f3cf390d-1179-45c5-ad4d-86b204e96b63"
|
"versionId": "591d3324-269b-4bf0-904e-7ccfee72d3be"
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user