Update Main_paperless_ollama.json

This commit is contained in:
2001-01-01 00:00:00 +00:00
parent 9b882839e4
commit bd9730bf4e

View File

@@ -1,7 +1,7 @@
{
"updatedAt": "2026-01-04T17:21:04.000Z",
"createdAt": "2025-12-21T08:27:02.744Z",
"id": "N4n2HmA6azz8n7Uw",
"updatedAt": "2026-02-07T17:25:47.814Z",
"createdAt": "2026-02-07T16:44:40.312Z",
"id": "WlfAT6ts3Dus6zD0jVITq",
"name": "Main_paperless_ollama",
"active": false,
"isArchived": false,
@@ -11,10 +11,10 @@
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
-272,
-448
-1568,
336
],
"id": "14b9aab7-ef42-4b8b-a9de-7ca6403fc9bd",
"id": "2fab8268-86af-4743-a7e0-e6b8d8d08da4",
"name": "When clicking Execute workflow"
},
{
@@ -40,15 +40,15 @@
"type": "@n8n/n8n-nodes-langchain.ollama",
"typeVersion": 1,
"position": [
1744,
-448
448,
336
],
"id": "8e7a99f1-ca7f-4b2d-8b30-22749e613aa2",
"id": "ef1a06be-1643-40d2-adf6-6abe259134f3",
"name": "Message a model",
"executeOnce": true,
"credentials": {
"ollamaApi": {
"id": "4Timi9hA5ACxVRmT",
"id": "fgaZliEtIoej3jtn",
"name": "Ollama account"
}
}
@@ -84,14 +84,14 @@
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.3,
"position": [
-48,
-160
-1344,
624
],
"id": "141bc592-9bcf-4b75-8490-6ed9b312b2cf",
"id": "7881a84b-06d1-4e49-9da5-0b22b60c9e83",
"name": "HTTP Request",
"credentials": {
"httpHeaderAuth": {
"id": "zyL5PgYOGlAptjwA",
"id": "Yn1cJCfoNitCVwdO",
"name": "paperless_api_token"
}
}
@@ -113,10 +113,10 @@
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
2544,
-304
1248,
480
],
"id": "d1346069-1484-453f-b2a1-85dc69c8cb62",
"id": "0eb42a83-8b48-4004-a199-a93bbf7f3b9d",
"name": "Edit Fields",
"executeOnce": false
},
@@ -128,10 +128,10 @@
"type": "n8n-nodes-base.splitOut",
"typeVersion": 1,
"position": [
176,
-160
-1120,
624
],
"id": "74697e07-3ac6-4f65-b3d8-637472a5a0f4",
"id": "fc7117fa-7e7f-4041-b030-29363c97a060",
"name": "Split Out"
},
{
@@ -143,10 +143,10 @@
"type": "n8n-nodes-base.splitInBatches",
"typeVersion": 3,
"position": [
400,
-160
-896,
624
],
"id": "2c3873ee-ce74-4c04-bb32-88b7c2f51c28",
"id": "df8cd2dc-32ac-4302-bc6b-762f41843e53",
"name": "Loop Over Items",
"executeOnce": false
},
@@ -159,10 +159,10 @@
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
624,
-304
-672,
480
],
"id": "9b804e40-985c-4573-8828-6f38baa284d9",
"id": "69327da0-419d-4023-90f4-07409496665d",
"name": "documentObject"
},
{
@@ -170,20 +170,20 @@
"operation": "get",
"dataTableId": {
"__rl": true,
"value": "WmMZJjFqs1LTGlxy",
"value": "sjO4pAZNP1j1hHH2",
"mode": "list",
"cachedResultName": "paperless_correspondent",
"cachedResultUrl": "/projects/S4tmpzSj6JlGFOze/datatables/WmMZJjFqs1LTGlxy"
"cachedResultUrl": "/projects/cSAaWNJydnksD5EB/datatables/sjO4pAZNP1j1hHH2"
},
"returnAll": true
},
"type": "n8n-nodes-base.dataTable",
"typeVersion": 1,
"position": [
1072,
-424
-224,
368
],
"id": "22ee408c-f667-4610-85c1-84a0c4da444c",
"id": "59a98aaf-11a2-4bb1-ae03-57b604a1d3a2",
"name": "getCorrespondent",
"executeOnce": true
},
@@ -204,10 +204,10 @@
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
2096,
-448
800,
336
],
"id": "3caf3164-5298-47ea-9696-eec8fd64bb39",
"id": "5a7867ad-9ea0-4379-ae6f-821bbee7913c",
"name": "dataPreparationToJSON"
},
{
@@ -219,10 +219,10 @@
"type": "n8n-nodes-base.merge",
"typeVersion": 3.2,
"position": [
2320,
-304
1024,
480
],
"id": "d81c00ae-3947-4625-bb23-f00a24a21ee7",
"id": "f02882b1-86c9-4c41-8263-15003f02e919",
"name": "Merge"
},
{
@@ -261,14 +261,14 @@
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.3,
"position": [
2768,
-184
1472,
608
],
"id": "74982eed-7fa2-4d69-9ae0-c2be5e28c5b0",
"id": "90966b16-62ae-4e04-9b16-1beca6300a91",
"name": "Patch Document",
"credentials": {
"httpHeaderAuth": {
"id": "zyL5PgYOGlAptjwA",
"id": "Yn1cJCfoNitCVwdO",
"name": "paperless_api_token"
}
},
@@ -302,10 +302,10 @@
"type": "n8n-nodes-base.if",
"typeVersion": 2.2,
"position": [
848,
-520
-448,
272
],
"id": "59084e9b-02d5-44cb-a94a-b7bf65d3fda5",
"id": "a2de95e9-78ae-4aa9-a96f-ea5d14407eb1",
"name": "If"
},
{
@@ -331,19 +331,19 @@
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
-48,
-352
-1344,
432
],
"id": "4eafcff5-f2bb-4477-a2c5-ad90d7780bdd",
"id": "efb9cf1e-0436-4e15-8da5-b6f033c5cefd",
"name": "correspondents"
},
{
"parameters": {
"workflowId": {
"__rl": true,
"value": "yvSB21lQNL04DH2l",
"value": "Fw7gwUx6RgHKBZO5cmsjj",
"mode": "list",
"cachedResultUrl": "/workflow/yvSB21lQNL04DH2l",
"cachedResultUrl": "/workflow/Fw7gwUx6RgHKBZO5cmsjj",
"cachedResultName": "paperless_get_component"
},
"workflowInputs": {
@@ -385,19 +385,19 @@
"type": "n8n-nodes-base.executeWorkflow",
"typeVersion": 1.3,
"position": [
176,
-352
-1120,
432
],
"id": "3347554a-7ffc-4693-83b8-92c424ad912f",
"id": "bfffe890-ba83-4440-a4f5-d26c09d9aeeb",
"name": "Call 'paperless_get_component'"
},
{
"parameters": {
"workflowId": {
"__rl": true,
"value": "yvSB21lQNL04DH2l",
"value": "Fw7gwUx6RgHKBZO5cmsjj",
"mode": "list",
"cachedResultUrl": "/workflow/yvSB21lQNL04DH2l",
"cachedResultUrl": "/workflow/Fw7gwUx6RgHKBZO5cmsjj",
"cachedResultName": "paperless_get_component"
},
"workflowInputs": {
@@ -439,10 +439,10 @@
"type": "n8n-nodes-base.executeWorkflow",
"typeVersion": 1.3,
"position": [
176,
-544
-1120,
240
],
"id": "99e1ae45-1fe9-4e93-a365-22f290dc519c",
"id": "b2a18c0e-9f1c-4fe6-9710-3392b7d63c1d",
"name": "Call 'paperless_get_component'1"
},
{
@@ -468,10 +468,10 @@
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
-48,
-544
-1344,
240
],
"id": "e8afb477-be27-49cd-99eb-1cf23980590e",
"id": "822f8c94-e903-4786-94bf-78ced0846b66",
"name": "tags"
},
{
@@ -479,20 +479,20 @@
"operation": "get",
"dataTableId": {
"__rl": true,
"value": "O8FtQxHCgJRAtOy1",
"value": "jBGyNOUjWYnAqA8C",
"mode": "list",
"cachedResultName": "paperless_tag",
"cachedResultUrl": "/projects/S4tmpzSj6JlGFOze/datatables/O8FtQxHCgJRAtOy1"
"cachedResultUrl": "/projects/cSAaWNJydnksD5EB/datatables/jBGyNOUjWYnAqA8C"
},
"returnAll": true
},
"type": "n8n-nodes-base.dataTable",
"typeVersion": 1,
"position": [
1072,
-616
-224,
176
],
"id": "5d01ddb8-d779-4a39-af99-2b00531f8c04",
"id": "9a121c2a-b88a-4304-98a5-f64ff3d00665",
"name": "getTags",
"executeOnce": true
},
@@ -505,10 +505,10 @@
"type": "n8n-nodes-base.merge",
"typeVersion": 3.2,
"position": [
1296,
-448
0,
336
],
"id": "a8181ba2-a45e-4ce3-9739-ae40f05575da",
"id": "5295f635-b8c3-4888-aaa9-e11cbb6762e6",
"name": "Merge1",
"executeOnce": true
},
@@ -516,20 +516,18 @@
"parameters": {
"workflowId": {
"__rl": true,
"value": "yvSB21lQNL04DH2l",
"value": "Fw7gwUx6RgHKBZO5cmsjj",
"mode": "list",
"cachedResultUrl": "/workflow/yvSB21lQNL04DH2l",
"cachedResultUrl": "/workflow/Fw7gwUx6RgHKBZO5cmsjj",
"cachedResultName": "paperless_get_component"
},
"workflowInputs": {
"mappingMode": "defineBelow",
"value": {
"component_name": "={{ $json.component_name }}",
"component_url": "={{ $json.component_url }}"
"component_url": "={{ $json.component_url }}",
"component_name": "={{ $json.component_name }}"
},
"matchingColumns": [
"component"
],
"matchingColumns": [],
"schema": [
{
"id": "component_name",
@@ -538,8 +536,7 @@
"defaultMatch": false,
"display": true,
"canBeUsedToMatch": true,
"type": "string",
"removed": false
"type": "string"
},
{
"id": "component_url",
@@ -548,8 +545,7 @@
"defaultMatch": false,
"display": true,
"canBeUsedToMatch": true,
"type": "string",
"removed": false
"type": "string"
}
],
"attemptToConvertTypes": false,
@@ -560,10 +556,10 @@
"type": "n8n-nodes-base.executeWorkflow",
"typeVersion": 1.3,
"position": [
176,
-736
-1120,
48
],
"id": "63bc5899-015b-462f-867c-2f14740e0d84",
"id": "660c104b-5112-4ad4-a08e-2dac025a271f",
"name": "Call 'paperless_get_component'2"
},
{
@@ -589,10 +585,10 @@
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
-48,
-736
-1344,
48
],
"id": "6aabd6a7-b3c5-4ecf-8337-6c967a912380",
"id": "3f560da1-a7b6-4f0b-903d-ec53d3a57d22",
"name": "documentType"
},
{
@@ -604,10 +600,10 @@
"type": "n8n-nodes-base.merge",
"typeVersion": 3.2,
"position": [
1520,
-448
224,
336
],
"id": "0fb2d16b-ab78-4964-9be5-39de54742b06",
"id": "5e7993c9-d226-4fd8-982d-3b3787481660",
"name": "Merge2",
"executeOnce": true
},
@@ -616,20 +612,20 @@
"operation": "get",
"dataTableId": {
"__rl": true,
"value": "9CYGbOQ8zjL0gRTE",
"value": "UYRGUJmbU2Q3Ztv6",
"mode": "list",
"cachedResultName": "paperless_document_types",
"cachedResultUrl": "/projects/S4tmpzSj6JlGFOze/datatables/9CYGbOQ8zjL0gRTE"
"cachedResultUrl": "/projects/cSAaWNJydnksD5EB/datatables/UYRGUJmbU2Q3Ztv6"
},
"returnAll": true
},
"type": "n8n-nodes-base.dataTable",
"typeVersion": 1,
"position": [
1296,
-784
0,
0
],
"id": "369e5dcb-962c-435e-b2e0-131923ac60b4",
"id": "59c8dbcd-6d89-4a95-81f4-270e4ea268af",
"name": "getDocuments",
"executeOnce": true
}
@@ -884,29 +880,32 @@
}
},
"settings": {
"executionOrder": "v1"
"executionOrder": "v1",
"availableInMCP": false
},
"staticData": null,
"meta": {
"templateCredsSetupCompleted": true
},
"pinData": {},
"versionId": "454abe40-5590-46bb-8fe7-7255a934e947",
"versionId": "325599a9-5b87-41fe-8715-e57c9e5b9f0b",
"activeVersionId": null,
"triggerCount": 0,
"shared": [
{
"updatedAt": "2025-12-21T08:27:02.747Z",
"createdAt": "2025-12-21T08:27:02.747Z",
"updatedAt": "2026-02-07T16:44:40.317Z",
"createdAt": "2026-02-07T16:44:40.317Z",
"role": "workflow:owner",
"workflowId": "N4n2HmA6azz8n7Uw",
"projectId": "S4tmpzSj6JlGFOze"
"workflowId": "WlfAT6ts3Dus6zD0jVITq",
"projectId": "cSAaWNJydnksD5EB"
}
],
"activeVersion": null,
"tags": [
{
"updatedAt": "2026-01-04T09:23:14.869Z",
"createdAt": "2026-01-04T09:23:14.869Z",
"id": "7ZDCcNolVMDFEdmE",
"updatedAt": "2026-02-07T16:44:35.454Z",
"createdAt": "2026-02-07T16:44:35.454Z",
"id": "0tHqAlm05JhR7voQ",
"name": "ollama_paperless"
}
]