Update Drive2Kindle.json
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"updatedAt": "2025-12-21T09:59:01.000Z",
|
||||
"createdAt": "2025-11-21T10:47:00.974Z",
|
||||
"id": "gfx8s7OTuVkoPgLf",
|
||||
"updatedAt": "2026-01-12T18:19:58.793Z",
|
||||
"createdAt": "2026-01-12T18:00:42.479Z",
|
||||
"id": "Nsjbw_cyWY5cmt1LHDHUk",
|
||||
"name": "Drive2Kindle",
|
||||
"active": true,
|
||||
"isArchived": false,
|
||||
@@ -23,15 +23,15 @@
|
||||
"type": "n8n-nodes-base.gmail",
|
||||
"typeVersion": 2.1,
|
||||
"position": [
|
||||
992,
|
||||
-304
|
||||
1184,
|
||||
144
|
||||
],
|
||||
"id": "c9c5e5c7-b002-4d40-a19f-7f7ff3e6150d",
|
||||
"id": "13e4cbd7-0f91-4691-823a-2594dd2d2fb9",
|
||||
"name": "Send a message",
|
||||
"webhookId": "3860bc8a-8510-4cb7-b6ba-cbe438c01bb8",
|
||||
"credentials": {
|
||||
"gmailOAuth2": {
|
||||
"id": "tqtCt1SI9F4NCGFX",
|
||||
"id": "JVw3JP3V2Cm5V6sO",
|
||||
"name": "Gmail account"
|
||||
}
|
||||
}
|
||||
@@ -57,14 +57,14 @@
|
||||
"type": "n8n-nodes-base.googleDrive",
|
||||
"typeVersion": 3,
|
||||
"position": [
|
||||
832,
|
||||
-304
|
||||
1024,
|
||||
144
|
||||
],
|
||||
"id": "91140f64-d7c9-4936-bb21-6cf81b940b7e",
|
||||
"id": "1230d700-444e-47e5-89d3-4f81271fd64b",
|
||||
"name": "Download file",
|
||||
"credentials": {
|
||||
"googleDriveOAuth2Api": {
|
||||
"id": "Cd69ueasqJqwPqCW",
|
||||
"id": "16Ot71OKhCUl50Sn",
|
||||
"name": "Google Drive account"
|
||||
}
|
||||
}
|
||||
@@ -83,10 +83,10 @@
|
||||
"type": "n8n-nodes-base.scheduleTrigger",
|
||||
"typeVersion": 1.3,
|
||||
"position": [
|
||||
-192,
|
||||
-256
|
||||
0,
|
||||
192
|
||||
],
|
||||
"id": "3b1d8e31-2a4f-492c-92dd-9d707eb095ae",
|
||||
"id": "b1024bf3-92ed-4257-80a3-b10e31c06694",
|
||||
"name": "Schedule Trigger"
|
||||
},
|
||||
{
|
||||
@@ -94,20 +94,20 @@
|
||||
"operation": "get",
|
||||
"dataTableId": {
|
||||
"__rl": true,
|
||||
"value": "kZfUnu3rACBWsKrJ",
|
||||
"value": "WEfhPHpoSTBU421a",
|
||||
"mode": "list",
|
||||
"cachedResultName": "drive2kindle",
|
||||
"cachedResultUrl": "/projects/S4tmpzSj6JlGFOze/datatables/kZfUnu3rACBWsKrJ"
|
||||
"cachedResultUrl": "/projects/cSAaWNJydnksD5EB/datatables/WEfhPHpoSTBU421a"
|
||||
},
|
||||
"returnAll": true
|
||||
},
|
||||
"type": "n8n-nodes-base.dataTable",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
0,
|
||||
-400
|
||||
192,
|
||||
48
|
||||
],
|
||||
"id": "c5511d05-bead-48d1-92aa-05e78665128c",
|
||||
"id": "dfb2dcd7-c929-4d97-949b-3385e1cf7ba7",
|
||||
"name": "Get row(s)",
|
||||
"executeOnce": true
|
||||
},
|
||||
@@ -116,10 +116,10 @@
|
||||
"operation": "upsert",
|
||||
"dataTableId": {
|
||||
"__rl": true,
|
||||
"value": "kZfUnu3rACBWsKrJ",
|
||||
"value": "WEfhPHpoSTBU421a",
|
||||
"mode": "list",
|
||||
"cachedResultName": "drive2kindle",
|
||||
"cachedResultUrl": "/projects/S4tmpzSj6JlGFOze/datatables/kZfUnu3rACBWsKrJ"
|
||||
"cachedResultUrl": "/projects/cSAaWNJydnksD5EB/datatables/WEfhPHpoSTBU421a"
|
||||
},
|
||||
"filters": {
|
||||
"conditions": [
|
||||
@@ -166,10 +166,10 @@
|
||||
"type": "n8n-nodes-base.dataTable",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1152,
|
||||
-304
|
||||
1344,
|
||||
144
|
||||
],
|
||||
"id": "af9fbe3a-6bfc-4bf0-81c8-cedd35985af7",
|
||||
"id": "a8caa412-fec2-42c1-b941-986d94ffdad7",
|
||||
"name": "Upsert row(s)"
|
||||
},
|
||||
{
|
||||
@@ -196,15 +196,15 @@
|
||||
"type": "n8n-nodes-base.googleDrive",
|
||||
"typeVersion": 3,
|
||||
"position": [
|
||||
0,
|
||||
-256
|
||||
192,
|
||||
192
|
||||
],
|
||||
"id": "5b17b03b-76f9-4ba2-86e5-4d197ca5ce90",
|
||||
"id": "4ac63078-706c-40dd-b6db-81ca506b9e2d",
|
||||
"name": "search_file",
|
||||
"executeOnce": true,
|
||||
"credentials": {
|
||||
"googleDriveOAuth2Api": {
|
||||
"id": "Cd69ueasqJqwPqCW",
|
||||
"id": "16Ot71OKhCUl50Sn",
|
||||
"name": "Google Drive account"
|
||||
}
|
||||
}
|
||||
@@ -228,10 +228,10 @@
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"typeVersion": 3.2,
|
||||
"position": [
|
||||
304,
|
||||
-320
|
||||
496,
|
||||
128
|
||||
],
|
||||
"id": "fc5d34d8-f4d5-4494-be88-b219ea601a3f",
|
||||
"id": "a7c43347-b72b-4386-b3c4-206019fa7d5a",
|
||||
"name": "Merge"
|
||||
},
|
||||
{
|
||||
@@ -241,10 +241,10 @@
|
||||
"type": "n8n-nodes-base.splitInBatches",
|
||||
"typeVersion": 3,
|
||||
"position": [
|
||||
576,
|
||||
-320
|
||||
768,
|
||||
128
|
||||
],
|
||||
"id": "00d2a102-7b9f-4f9b-82c2-b326b73a6c40",
|
||||
"id": "1e37b7b0-d0c1-4e85-9656-d614d1ee3181",
|
||||
"name": "Loop Over Items"
|
||||
},
|
||||
{
|
||||
@@ -257,16 +257,16 @@
|
||||
"type": "n8n-nodes-base.webhook",
|
||||
"typeVersion": 2.1,
|
||||
"position": [
|
||||
-192,
|
||||
-448
|
||||
0,
|
||||
0
|
||||
],
|
||||
"id": "64c86963-a9e8-4016-90fe-d0ab94f8d22a",
|
||||
"id": "0438a7f2-ef00-4f65-b695-04b9fb5a7d19",
|
||||
"name": "Webhook",
|
||||
"webhookId": "bfae0a89-025e-4451-8e73-c1bb10a11f03",
|
||||
"credentials": {
|
||||
"httpHeaderAuth": {
|
||||
"id": "ZmNvnXvf9yE8rmvm",
|
||||
"name": "drive2kindle-api"
|
||||
"id": "iZFEw5LuqZ0JEgpU",
|
||||
"name": "Header Auth account"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -384,32 +384,413 @@
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"executionOrder": "v1"
|
||||
},
|
||||
"staticData": {
|
||||
"node:Google Drive Trigger": {
|
||||
"lastTimeChecked": "2025-12-20T08:45:18Z"
|
||||
},
|
||||
"node:Schedule Trigger": {
|
||||
"recurrenceRules": [
|
||||
22
|
||||
]
|
||||
}
|
||||
"executionOrder": "v1",
|
||||
"availableInMCP": false
|
||||
},
|
||||
"staticData": null,
|
||||
"meta": {
|
||||
"templateCredsSetupCompleted": true
|
||||
},
|
||||
"pinData": {},
|
||||
"versionId": "7ac74dd4-6161-4eab-acfd-1d9e01faa1b5",
|
||||
"versionId": "95510922-e14c-40fd-9b22-63c6132f6a44",
|
||||
"activeVersionId": "95510922-e14c-40fd-9b22-63c6132f6a44",
|
||||
"triggerCount": 2,
|
||||
"shared": [
|
||||
{
|
||||
"updatedAt": "2025-11-21T10:47:00.977Z",
|
||||
"createdAt": "2025-11-21T10:47:00.977Z",
|
||||
"updatedAt": "2026-01-12T18:00:42.483Z",
|
||||
"createdAt": "2026-01-12T18:00:42.483Z",
|
||||
"role": "workflow:owner",
|
||||
"workflowId": "gfx8s7OTuVkoPgLf",
|
||||
"projectId": "S4tmpzSj6JlGFOze"
|
||||
"workflowId": "Nsjbw_cyWY5cmt1LHDHUk",
|
||||
"projectId": "cSAaWNJydnksD5EB"
|
||||
}
|
||||
],
|
||||
"activeVersion": {
|
||||
"updatedAt": "2026-01-12T18:21:29.000Z",
|
||||
"createdAt": "2026-01-12T18:19:58.794Z",
|
||||
"versionId": "95510922-e14c-40fd-9b22-63c6132f6a44",
|
||||
"workflowId": "Nsjbw_cyWY5cmt1LHDHUk",
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {
|
||||
"sendTo": "rprasanna_fZiOPw@kindle.com",
|
||||
"subject": "Konvertieren",
|
||||
"message": "\"\"",
|
||||
"options": {
|
||||
"appendAttribution": false,
|
||||
"attachmentsUi": {
|
||||
"attachmentsBinary": [
|
||||
{}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": "n8n-nodes-base.gmail",
|
||||
"typeVersion": 2.1,
|
||||
"position": [
|
||||
1184,
|
||||
144
|
||||
],
|
||||
"id": "13e4cbd7-0f91-4691-823a-2594dd2d2fb9",
|
||||
"name": "Send a message",
|
||||
"webhookId": "3860bc8a-8510-4cb7-b6ba-cbe438c01bb8",
|
||||
"credentials": {
|
||||
"gmailOAuth2": {
|
||||
"id": "JVw3JP3V2Cm5V6sO",
|
||||
"name": "Gmail account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "download",
|
||||
"fileId": {
|
||||
"__rl": true,
|
||||
"value": "={{ $json.id }}",
|
||||
"mode": "id"
|
||||
},
|
||||
"options": {
|
||||
"binaryPropertyName": "data",
|
||||
"googleFileConversion": {
|
||||
"conversion": {
|
||||
"docsToFormat": "application/pdf"
|
||||
}
|
||||
},
|
||||
"fileName": "={{ $json.name.replaceAll(' ','_').replaceAll('-','_').concat('.pdf') }}"
|
||||
}
|
||||
},
|
||||
"type": "n8n-nodes-base.googleDrive",
|
||||
"typeVersion": 3,
|
||||
"position": [
|
||||
1024,
|
||||
144
|
||||
],
|
||||
"id": "1230d700-444e-47e5-89d3-4f81271fd64b",
|
||||
"name": "Download file",
|
||||
"credentials": {
|
||||
"googleDriveOAuth2Api": {
|
||||
"id": "16Ot71OKhCUl50Sn",
|
||||
"name": "Google Drive account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"rule": {
|
||||
"interval": [
|
||||
{
|
||||
"field": "hours",
|
||||
"hoursInterval": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "n8n-nodes-base.scheduleTrigger",
|
||||
"typeVersion": 1.3,
|
||||
"position": [
|
||||
0,
|
||||
192
|
||||
],
|
||||
"id": "b1024bf3-92ed-4257-80a3-b10e31c06694",
|
||||
"name": "Schedule Trigger"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "get",
|
||||
"dataTableId": {
|
||||
"__rl": true,
|
||||
"value": "WEfhPHpoSTBU421a",
|
||||
"mode": "list",
|
||||
"cachedResultName": "drive2kindle",
|
||||
"cachedResultUrl": "/projects/cSAaWNJydnksD5EB/datatables/WEfhPHpoSTBU421a"
|
||||
},
|
||||
"returnAll": true
|
||||
},
|
||||
"type": "n8n-nodes-base.dataTable",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
192,
|
||||
48
|
||||
],
|
||||
"id": "dfb2dcd7-c929-4d97-949b-3385e1cf7ba7",
|
||||
"name": "Get row(s)",
|
||||
"executeOnce": true
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "upsert",
|
||||
"dataTableId": {
|
||||
"__rl": true,
|
||||
"value": "WEfhPHpoSTBU421a",
|
||||
"mode": "list",
|
||||
"cachedResultName": "drive2kindle",
|
||||
"cachedResultUrl": "/projects/cSAaWNJydnksD5EB/datatables/WEfhPHpoSTBU421a"
|
||||
},
|
||||
"filters": {
|
||||
"conditions": [
|
||||
{
|
||||
"keyName": "file_id",
|
||||
"keyValue": "={{ $('Download file').item.json.id }}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"columns": {
|
||||
"mappingMode": "defineBelow",
|
||||
"value": {
|
||||
"file_id": "={{ $('Download file').item.json.id }}",
|
||||
"file_name": "={{ $('Download file').item.json.name }}"
|
||||
},
|
||||
"matchingColumns": [],
|
||||
"schema": [
|
||||
{
|
||||
"id": "file_id",
|
||||
"displayName": "file_id",
|
||||
"required": false,
|
||||
"defaultMatch": false,
|
||||
"display": true,
|
||||
"type": "string",
|
||||
"readOnly": false,
|
||||
"removed": false
|
||||
},
|
||||
{
|
||||
"id": "file_name",
|
||||
"displayName": "file_name",
|
||||
"required": false,
|
||||
"defaultMatch": false,
|
||||
"display": true,
|
||||
"type": "string",
|
||||
"readOnly": false,
|
||||
"removed": false
|
||||
}
|
||||
],
|
||||
"attemptToConvertTypes": false,
|
||||
"convertFieldsToString": false
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"type": "n8n-nodes-base.dataTable",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
1344,
|
||||
144
|
||||
],
|
||||
"id": "a8caa412-fec2-42c1-b941-986d94ffdad7",
|
||||
"name": "Upsert row(s)"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"resource": "fileFolder",
|
||||
"queryString": "*",
|
||||
"returnAll": true,
|
||||
"filter": {
|
||||
"folderId": {
|
||||
"__rl": true,
|
||||
"value": "1QWsuPK82uzzM6bsjFvZB9C_T-YR6oWQe",
|
||||
"mode": "list",
|
||||
"cachedResultName": "ebook_consume",
|
||||
"cachedResultUrl": "https://drive.google.com/drive/folders/1QWsuPK82uzzM6bsjFvZB9C_T-YR6oWQe"
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"fields": [
|
||||
"id",
|
||||
"name"
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "n8n-nodes-base.googleDrive",
|
||||
"typeVersion": 3,
|
||||
"position": [
|
||||
192,
|
||||
192
|
||||
],
|
||||
"id": "4ac63078-706c-40dd-b6db-81ca506b9e2d",
|
||||
"name": "search_file",
|
||||
"executeOnce": true,
|
||||
"credentials": {
|
||||
"googleDriveOAuth2Api": {
|
||||
"id": "16Ot71OKhCUl50Sn",
|
||||
"name": "Google Drive account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"mode": "combine",
|
||||
"advanced": true,
|
||||
"mergeByFields": {
|
||||
"values": [
|
||||
{
|
||||
"field1": "file_id",
|
||||
"field2": "id"
|
||||
}
|
||||
]
|
||||
},
|
||||
"joinMode": "keepNonMatches",
|
||||
"outputDataFrom": "input2",
|
||||
"options": {}
|
||||
},
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"typeVersion": 3.2,
|
||||
"position": [
|
||||
496,
|
||||
128
|
||||
],
|
||||
"id": "a7c43347-b72b-4386-b3c4-206019fa7d5a",
|
||||
"name": "Merge"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"options": {}
|
||||
},
|
||||
"type": "n8n-nodes-base.splitInBatches",
|
||||
"typeVersion": 3,
|
||||
"position": [
|
||||
768,
|
||||
128
|
||||
],
|
||||
"id": "1e37b7b0-d0c1-4e85-9656-d614d1ee3181",
|
||||
"name": "Loop Over Items"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"httpMethod": "POST",
|
||||
"path": "bfae0a89-025e-4451-8e73-c1bb10a11f03",
|
||||
"authentication": "headerAuth",
|
||||
"options": {}
|
||||
},
|
||||
"type": "n8n-nodes-base.webhook",
|
||||
"typeVersion": 2.1,
|
||||
"position": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"id": "0438a7f2-ef00-4f65-b695-04b9fb5a7d19",
|
||||
"name": "Webhook",
|
||||
"webhookId": "bfae0a89-025e-4451-8e73-c1bb10a11f03",
|
||||
"credentials": {
|
||||
"httpHeaderAuth": {
|
||||
"id": "iZFEw5LuqZ0JEgpU",
|
||||
"name": "Header Auth account"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Send a message": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Upsert row(s)",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Download file": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Send a message",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Schedule Trigger": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "search_file",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Get row(s)",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Get row(s)": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"search_file": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge",
|
||||
"type": "main",
|
||||
"index": 1
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Merge": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Loop Over Items",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Loop Over Items": {
|
||||
"main": [
|
||||
[],
|
||||
[
|
||||
{
|
||||
"node": "Download file",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Upsert row(s)": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Loop Over Items",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Webhook": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Get row(s)",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "search_file",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"authors": "Prasanna Ranjan",
|
||||
"name": "Version 95510922",
|
||||
"description": "",
|
||||
"autosaved": false
|
||||
},
|
||||
"tags": []
|
||||
}
|
||||
Reference in New Issue
Block a user