diff --git a/Drive2Kindle.json b/Drive2Kindle.json new file mode 100644 index 0000000..f0518ae --- /dev/null +++ b/Drive2Kindle.json @@ -0,0 +1,161 @@ +{ + "updatedAt": "2025-12-20T08:45:18.000Z", + "createdAt": "2025-11-21T10:47:00.974Z", + "id": "gfx8s7OTuVkoPgLf", + "name": "Drive2Kindle", + "active": true, + "isArchived": false, + "nodes": [ + { + "parameters": { + "sendTo": "rprasanna_fZiOPw@kindle.com", + "subject": "Konvertieren", + "message": "\"\"", + "options": { + "appendAttribution": false, + "attachmentsUi": { + "attachmentsBinary": [ + {} + ] + } + } + }, + "type": "n8n-nodes-base.gmail", + "typeVersion": 2.1, + "position": [ + 480, + -96 + ], + "id": "c9c5e5c7-b002-4d40-a19f-7f7ff3e6150d", + "name": "Send a message", + "webhookId": "3860bc8a-8510-4cb7-b6ba-cbe438c01bb8", + "credentials": { + "gmailOAuth2": { + "id": "tqtCt1SI9F4NCGFX", + "name": "Gmail account" + } + } + }, + { + "parameters": { + "pollTimes": { + "item": [ + { + "mode": "everyMinute" + } + ] + }, + "triggerOn": "specificFolder", + "folderToWatch": { + "__rl": true, + "value": "1QWsuPK82uzzM6bsjFvZB9C_T-YR6oWQe", + "mode": "list", + "cachedResultName": "ebook_consume", + "cachedResultUrl": "https://drive.google.com/drive/folders/1QWsuPK82uzzM6bsjFvZB9C_T-YR6oWQe" + }, + "event": "fileUpdated", + "options": {} + }, + "type": "n8n-nodes-base.googleDriveTrigger", + "typeVersion": 1, + "position": [ + 16, + -96 + ], + "id": "0858b48f-1808-44fb-afd6-9fb138dd8f05", + "name": "Google Drive Trigger", + "credentials": { + "googleDriveOAuth2Api": { + "id": "Cd69ueasqJqwPqCW", + "name": "Google Drive 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": [ + 224, + -96 + ], + "id": "91140f64-d7c9-4936-bb21-6cf81b940b7e", + "name": "Download file", + "credentials": { + "googleDriveOAuth2Api": { + "id": "Cd69ueasqJqwPqCW", + "name": "Google Drive account" + } + } + } + ], + "connections": { + "Google Drive Trigger": { + "main": [ + [ + { + "node": "Download file", + "type": "main", + "index": 0 + } + ] + ] + }, + "Send a message": { + "main": [ + [] + ] + }, + "Download file": { + "main": [ + [ + { + "node": "Send a message", + "type": "main", + "index": 0 + } + ] + ] + } + }, + "settings": { + "executionOrder": "v1" + }, + "staticData": { + "node:Google Drive Trigger": { + "lastTimeChecked": "2025-12-20T08:45:18Z" + } + }, + "meta": { + "templateCredsSetupCompleted": true + }, + "pinData": {}, + "versionId": "ef53ea06-3bc8-4cdf-bceb-bd81f7a140f4", + "triggerCount": 1, + "shared": [ + { + "updatedAt": "2025-11-21T10:47:00.977Z", + "createdAt": "2025-11-21T10:47:00.977Z", + "role": "workflow:owner", + "workflowId": "gfx8s7OTuVkoPgLf", + "projectId": "S4tmpzSj6JlGFOze" + } + ], + "tags": [] +} \ No newline at end of file