Update My workflow 5.json

This commit is contained in:
2001-01-01 00:00:00 +00:00
parent 3478f3ff9f
commit 37b95cec53

View File

@@ -1,5 +1,5 @@
{ {
"updatedAt": "2025-11-23T09:05:43.000Z", "updatedAt": "2025-11-30T10:35:51.000Z",
"createdAt": "2025-11-21T10:47:00.974Z", "createdAt": "2025-11-21T10:47:00.974Z",
"id": "gfx8s7OTuVkoPgLf", "id": "gfx8s7OTuVkoPgLf",
"name": "My workflow 5", "name": "My workflow 5",
@@ -7,57 +7,103 @@
"isArchived": false, "isArchived": false,
"nodes": [ "nodes": [
{ {
"parameters": {}, "parameters": {
"type": "n8n-nodes-base.manualTrigger", "httpMethod": "POST",
"typeVersion": 1, "path": "n8n-test",
"options": {}
},
"type": "n8n-nodes-base.webhook",
"typeVersion": 2.1,
"position": [ "position": [
0, 0,
0 0
], ],
"id": "d03e6c29-dd54-4c2f-adac-5c26d9083197", "id": "498b640c-6216-4d85-aa14-6734e41a3c5f",
"name": "When clicking Execute workflow" "name": "Webhook",
}, "webhookId": "e47b8cb1-fba5-403d-8a9b-f64cd949ec77"
{
"parameters": {
"operation": "runCustomScript",
"scriptCode": "// 1. Wir erstellen eine leere Liste (\"Array\"), um die Logs zu sammeln\nconst collectedLogs = [];\n\n// 2. Wir sagen Puppeteer: \"Jedes Mal, wenn die Seite was loggt, pack es in unsere Liste\"\n$page.on('console', message => {\n // message.type() ist z.B. 'log', 'warning', 'error'\n // message.text() ist der eigentliche Text\n collectedLogs.push(`[${message.type()}] ${message.text()}`);\n});\n\n// Navigate to an IP lookup service\nawait $page.goto('https://httpbin.org/ip');\n\n// Extract the IP address from the page content\nconst ipData = await $page.evaluate(() => {\n const response = document.body.innerText;\n const parsed = JSON.parse(response);\n console.log(\"test\")\n return parsed.origin; // Extract the 'origin' field, which typically contains the IP address\n});\n\nconsole.log(\"Hello, world!\");\n\nconsole.log(\"IP Address\", ipData);\n\n// Return the result in the required format\nreturn [{ ip: ipData, ...$json }, ];",
"options": {
"launchArguments": {
"args": [
{
"arg": "--no-sandbox"
}
]
}
}
},
"type": "CUSTOM.puppeteer",
"typeVersion": 1,
"position": [
400,
-64
],
"id": "3cab4381-dd2c-44ec-b8da-8781539aa847",
"name": "Puppeteer"
}, },
{ {
"parameters": { "parameters": {
"schema": {
"__rl": true,
"value": "public",
"mode": "list",
"cachedResultName": "public"
},
"table": {
"__rl": true,
"value": "worktime",
"mode": "list",
"cachedResultName": "worktime"
},
"columns": {
"mappingMode": "defineBelow",
"value": {
"Bezeichnung": "Test"
},
"matchingColumns": [],
"schema": [
{
"id": "ID",
"displayName": "ID",
"required": false,
"defaultMatch": false,
"display": true,
"type": "number",
"canBeUsedToMatch": true,
"removed": true
},
{
"id": "Bezeichnung",
"displayName": "Bezeichnung",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true
},
{
"id": "created_ts",
"displayName": "created_ts",
"required": false,
"defaultMatch": false,
"display": true,
"type": "time",
"canBeUsedToMatch": true,
"removed": true
}
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {} "options": {}
}, },
"type": "@n8n/n8n-nodes-langchain.agent", "type": "n8n-nodes-base.postgres",
"typeVersion": 3, "typeVersion": 2.6,
"position": [ "position": [
144, 208,
144 0
], ],
"id": "5145064c-f4b3-495a-996e-82dbc9aae1b4", "id": "a43aa28a-e161-4867-9035-6231b6c7d57c",
"name": "AI Agent" "name": "Insert rows in a table",
"credentials": {
"postgres": {
"id": "KfuCkzCoRyZId8cM",
"name": "Postgress-Test"
}
}
} }
], ],
"connections": { "connections": {
"When clicking Execute workflow": { "Webhook": {
"main": [ "main": [
[] [
{
"node": "Insert rows in a table",
"type": "main",
"index": 0
}
]
] ]
} }
}, },
@@ -65,9 +111,11 @@
"executionOrder": "v1" "executionOrder": "v1"
}, },
"staticData": null, "staticData": null,
"meta": null, "meta": {
"templateCredsSetupCompleted": true
},
"pinData": {}, "pinData": {},
"versionId": "23b58b4b-bcf7-44ea-a03c-74045d5ad73f", "versionId": "6319e77d-f4b4-4954-91b9-979db7a9f99d",
"triggerCount": 0, "triggerCount": 0,
"shared": [ "shared": [
{ {