Kindle -> Drive 上传
中级
这是一个File Management, AI Summarization领域的自动化工作流,包含 13 个节点。主要使用 Html, Gmail, GoogleDrive, HttpRequest, GmailTrigger 等节点。 使用 DeepSeek AI 自动保存 Kindle 手写笔记到 Google Drive
前置要求
- •Google 账号和 Gmail API 凭证
- •Google Drive API 凭证
- •可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "3VZQnUWjiVBTZfmP",
"meta": {
"instanceId": "a0a49fcb74d8a87c24ebb67a8134f7aec5bfaeeaa0a6aab501d3819a96e150a9",
"templateCredsSetupCompleted": true
},
"name": "Kindle -> Drive 上传",
"tags": [],
"nodes": [
{
"id": "b7a9b0e3-bb4a-4f19-8c25-db1980c8d783",
"name": "DeepSeek 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatDeepSeek",
"position": [
336,
272
],
"parameters": {
"model": "deepseek-reasoner",
"options": {}
},
"credentials": {
"deepSeekApi": {
"id": "s0dEwFy1blrVGF88",
"name": "DeepSeek account"
}
},
"typeVersion": 1
},
{
"id": "e347e4b8-b8fc-4676-b1db-476b3d0c67c6",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-560,
-272
],
"parameters": {
"color": 4,
"width": 416,
"height": 480,
"content": "## 步骤 #1:电子邮件"
},
"typeVersion": 1
},
{
"id": "b3c9d3ab-bf67-456d-afe2-2112433f6ec9",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-560,
-864
],
"parameters": {
"color": 3,
"width": 2000,
"height": 512,
"content": "## Kindle 笔记导出自动化:PDF 检索"
},
"typeVersion": 1
},
{
"id": "005f2d08-896b-4eea-b4b8-56773f1fc10f",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-128,
-272
],
"parameters": {
"color": 4,
"width": 320,
"height": 480,
"content": "## 步骤 #2:转换为 HTML"
},
"typeVersion": 1
},
{
"id": "24b03c4b-e7c6-4b61-957d-404322b29bd5",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
208,
-272
],
"parameters": {
"color": 4,
"width": 320,
"height": 704,
"content": "## 步骤 #3:使用 DeepSeek 提取 URL"
},
"typeVersion": 1
},
{
"id": "370bdefe-ecd9-41c9-a457-1706e46a7b6e",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
544,
-272
],
"parameters": {
"color": 4,
"width": 320,
"height": 704,
"content": "## 步骤 #4:发出请求以下载这些笔记"
},
"typeVersion": 1
},
{
"id": "8007b8d1-8b98-498b-91b4-44c3f06f275c",
"name": "便签5",
"type": "n8n-nodes-base.stickyNote",
"position": [
880,
-272
],
"parameters": {
"color": 4,
"width": 560,
"height": 704,
"content": "## 步骤 #5:将 .pdf 上传到我的 GDrive 笔记文件夹"
},
"typeVersion": 1
},
{
"id": "6a6fbcaf-4c30-4ae1-894d-2dad3c4b03a9",
"name": "AI Agent - 链接提取",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
272,
0
],
"parameters": {
"text": "=# role\nact as Frontend Engineer\n\n# task\nfind a URL hiiden in the tag following tag : <span class=\"rio-text rio-text-31\"><a href=\"\n\n# example url\n\"https://www.amazon.com/gp/f.html?C=1MUYIMQ9UFSTL&M=urn:rtn:msg:20250504201451a830d3e5b59a4d1b9d161745fa70p0na&R=7RQXMEKAT28G&T=C&U=https%3A%2F%2Fkindle-content-requests-prod.s3.amazonaws.com%2Fb9a039e0-ec0a-49cb-b89e-6eb8c595351f%2F4.05.25%2520Sunday-2025-05-04-22-13.pdf%3Fresponse-cache-control%3Dno-store%26X-Amz-Algorithm%3DAWS4-HMAC-SHA256%26X-Amz-Date%3D20250504T201443Z%26X-Amz-SignedHeaders%3Dhost%26X-Amz-Credential%3DAKIAQNGCF4J7OA7CTIWR%252F20250504%252Fus-east-1%252Fs3%252Faws4_request%26X-Amz-Expires%3D604800%26X-Amz-Signature%3Db7f25bff8a3d13ede3de43799a5b9a0ff4ae456d174fd50ab38f5513ef9fe26d&H=RQIQEL9ZGIWOUS0YWBKCYACGIWSA\"\n\n# html payload with a hidden link in it\n{{ $json.table }}\n\n# rules \n1. don't make anything up\n2. return only a URL with no formatting, nothing else\n\n",
"options": {},
"promptType": "define"
},
"typeVersion": 1.9
},
{
"id": "972b53cc-040f-4604-afb8-c2bdd395e938",
"name": "文件上传 - Google Drive",
"type": "n8n-nodes-base.googleDrive",
"position": [
960,
0
],
"parameters": {
"name": "={{ $('Email ingestion: Gmail trigger').item.json.headers.subject }}",
"driveId": {
"__rl": true,
"mode": "list",
"value": "My Drive",
"cachedResultUrl": "https://drive.google.com/drive/my-drive",
"cachedResultName": "My Drive"
},
"options": {},
"folderId": {
"__rl": true,
"mode": "list",
"value": "1BSU71zLvt-uxi7cE-tcf00fVCIpEUiwA",
"cachedResultUrl": "https://drive.google.com/drive/folders/XXXXXXXXXXXXXXXXXXXXXXXXXXX",
"cachedResultName": "Kindle Notes"
}
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "Nfr2My94Ho2km1YB",
"name": "Google Drive account"
}
},
"typeVersion": 3
},
{
"id": "7a4ef25d-0853-4fd2-afd1-2b940ca2e517",
"name": "成功通知 - 电子邮件",
"type": "n8n-nodes-base.gmail",
"onError": "continueRegularOutput",
"position": [
1200,
0
],
"webhookId": "82a68142-8260-41b3-ab3d-836dc5f40957",
"parameters": {
"sendTo": "XXXXX.XXXXXXXX@gmail.com",
"message": "=KINDLE NOTE SUCCESSFULLY UPLOADED:\n\n{{ $json.name }}",
"options": {},
"subject": "KINDLE NOTE SUCCESSFULLY UPLOADED"
},
"credentials": {
"gmailOAuth2": {
"id": "TwnNxGn3IJEd2GTw",
"name": "Gmail account"
}
},
"executeOnce": true,
"typeVersion": 2.1
},
{
"id": "c65a26c5-8a73-4c4d-b242-b22cea9e882f",
"name": "PDF 检索 - HTTP 请求",
"type": "n8n-nodes-base.httpRequest",
"position": [
672,
0
],
"parameters": {
"url": "={{ $json.output }}",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "d64c5a49-cf78-4e56-96ae-448a05da2cec",
"name": "链接提取:HTML 解析器",
"type": "n8n-nodes-base.html",
"position": [
-32,
0
],
"parameters": {
"options": {},
"operation": "convertToHtmlTable"
},
"typeVersion": 1.2
},
{
"id": "c547b8c4-d321-49e0-a823-03108a12c7ac",
"name": "邮件接收:Gmail 触发器",
"type": "n8n-nodes-base.gmailTrigger",
"position": [
-336,
0
],
"parameters": {
"simple": false,
"filters": {
"q": "from:(amazon.com) subject:(You sent a file)",
"includeSpamTrash": true
},
"options": {},
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
}
},
"credentials": {
"gmailOAuth2": {
"id": "TwnNxGn3IJEd2GTw",
"name": "Gmail account"
}
},
"typeVersion": 1.2
}
],
"active": true,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "cfa64a2e-d401-416e-b7dd-4761f0d30d57",
"connections": {
"DeepSeek Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent - Link Extraction",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"AI Agent - Link Extraction": {
"main": [
[
{
"node": "PDF retrieval - HTTP request",
"type": "main",
"index": 0
}
]
]
},
"File upload - Google Drive": {
"main": [
[
{
"node": "Success notification - Email",
"type": "main",
"index": 0
}
]
]
},
"Link extraction: HTML parser": {
"main": [
[
{
"node": "AI Agent - Link Extraction",
"type": "main",
"index": 0
}
]
]
},
"PDF retrieval - HTTP request": {
"main": [
[
{
"node": "File upload - Google Drive",
"type": "main",
"index": 0
}
]
]
},
"Email ingestion: Gmail trigger": {
"main": [
[
{
"node": "Link extraction: HTML parser",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 文件管理, AI 摘要总结
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用 Mistral AI、LinkedIn 和 Google Sheets 自动化职位搜索与简历定制
使用 Mistral AI、LinkedIn 和 Google Sheets 自动化职位搜索与简历定制
Set
Code
Html
+18
46 节点Jordan Hoyle
个人效率
AI医疗报告生成器
使用Gemini AI和Google Workspace从电子邮件生成医疗报告
Set
Code
Gmail
+8
21 节点Abdullah Alshiekh
文档提取
基于HubSpot上下文的AI邮件回复与Slack审批
基于HubSpot上下文的AI邮件回复与Slack审批
If
Code
Gmail
+8
19 节点Miha
客户关系管理
邮件转WhatsApp - AI多账户桥接
AI驱动的邮件转发至WhatsApp,集成Gmail、Outlook和Google Gemini
Code
Gmail
Http Request
+6
22 节点iTzJok3r
个人效率
发送定时n8n发布说明通知到Gmail
基于AI的n8n发布说明摘要通知(通过Gmail与GPT-5-Mini)
Set
Code
Html
+7
16 节点Jeff Huera
个人效率
自动向客户发送发票
通过 OCR.Space、GPT-4 和 Google Drive 到 Gmail 实现发票处理的自动化
If
Set
Code
+12
29 节点Michael Taleb
AI 摘要总结
工作流信息
难度等级
中级
节点数量13
分类2
节点类型8
作者
Gene Ishchuk
@geneishchukAI Product Manager experienced in eCommerce, AdTech, Logistics, Analytics, and traditional ML.
外部链接
在 n8n.io 查看 →
分享此工作流