自动保存 QuickBooks 发票 PDF 到 Google Drive
中级
这是一个Invoice Processing, Multimodal AI领域的自动化工作流,包含 10 个节点。主要使用 Webhook, Quickbooks, GoogleDrive, HttpRequest 等节点。 自动保存 QuickBooks 发票 PDF 到 Google Drive
前置要求
- •HTTP Webhook 端点(n8n 会自动生成)
- •Google Drive API 凭证
- •可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "X5xw7yGGTbOO90W2",
"meta": {
"instanceId": "1a54c41d9050a8f1fa6f74ca858828ad9fb97b9fafa3e9760e576171c531a787"
},
"name": "自动保存QuickBooks发票PDF到Google Drive",
"tags": [],
"nodes": [
{
"id": "ff7c6a74-195d-42db-b841-a18979f064db",
"name": "QuickBooks Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
-220,
1300
],
"webhookId": "{YOUR_WEBHOOK_ID}",
"parameters": {
"path": "quickbooks-invoice",
"options": {},
"httpMethod": "POST"
},
"typeVersion": 1
},
{
"id": "9283af9a-547a-4576-a006-c8555d1bb64b",
"name": "获取发票",
"type": "n8n-nodes-base.quickbooks",
"position": [
400,
1300
],
"parameters": {
"resource": "invoice",
"invoiceId": "={{ $json.body.eventNotifications[0].dataChangeEvent.entities[0].id }}"
},
"typeVersion": 1
},
{
"id": "0d766411-d37d-4b61-8f57-7bab86a501fe",
"name": "上传文件",
"type": "n8n-nodes-base.googleDrive",
"position": [
1560,
1300
],
"parameters": {
"name": "={{ $json[\"CustomerRef\"][\"name\"] + \"_\" + $json[\"TxnDate\"] + \".pdf\" }}\n",
"driveId": {
"__rl": true,
"mode": "list",
"value": "My Drive"
},
"options": {},
"folderId": {
"__rl": true,
"mode": "list",
"value": "{YOUR_GOOGLE_DRIVE_FOLDER_ID}",
"cachedResultUrl": "https://drive.google.com/drive/folders/{YOUR_GOOGLE_DRIVE_FOLDER_ID}",
"cachedResultName": "n8n"
}
},
"typeVersion": 3
},
{
"id": "7516bcdd-188d-4e9f-b4c8-2fb70a874e84",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-380,
1440
],
"parameters": {
"color": 5,
"width": 360,
"height": 400,
"content": "**步骤1:Webhook触发器已激活!** 🪝📢"
},
"typeVersion": 1
},
{
"id": "2786e56f-95c0-47da-8649-4a98d658e4af",
"name": "便签 2",
"type": "n8n-nodes-base.stickyNote",
"position": [
180,
820
],
"parameters": {
"color": 4,
"width": 460,
"height": 440,
"content": "### 步骤2:发票数据获取器 📄🔍"
},
"typeVersion": 1
},
{
"id": "07455a09-ddbc-43a7-87ac-bf3ecc8917aa",
"name": "便签 1",
"type": "n8n-nodes-base.stickyNote",
"position": [
780,
1460
],
"parameters": {
"width": 460,
"height": 380,
"content": "### 步骤3:发票PDF生成器 🖨️📂"
},
"typeVersion": 1
},
{
"id": "5de6c6e9-d40a-48cf-8b13-b769d08ed607",
"name": "便签 3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1340,
860
],
"parameters": {
"color": 6,
"width": 480,
"height": 400,
"content": "### 步骤4:Google Drive PDF上传器 ☁️📤"
},
"typeVersion": 1
},
{
"id": "3467b040-a23a-4225-bfbe-b500dd2e7d65",
"name": "生成PDF文件",
"type": "n8n-nodes-base.httpRequest",
"position": [
940,
1300
],
"parameters": {
"url": "=https://quickbooks.api.intuit.com/v3/company/{{ $node[\"QuickBooks Webhook\"].json[\"body\"][\"eventNotifications\"][0].realmId }}/invoice/{{ $node[\"QuickBooks Webhook\"].json[\"body\"][\"eventNotifications\"][0].dataChangeEvent.entities[0].id }}/pdf\n",
"options": {},
"sendHeaders": true,
"authentication": "predefinedCredentialType",
"headerParameters": {
"parameters": [
{
"name": "Accept",
"value": "application/pdf"
}
]
},
"nodeCredentialType": "quickBooksOAuth2Api"
},
"typeVersion": 4.2
},
{
"id": "8d83b1bf-90c1-49d9-b8e4-a326e98c8e14",
"name": "便签 4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-640,
500
],
"parameters": {
"color": 3,
"width": 580,
"height": 620,
"content": "## 🛠️ 前提条件"
},
"typeVersion": 1
},
{
"id": "3929a8d0-2d15-43f7-96d2-5f9d4d47f0b7",
"name": "便签 5",
"type": "n8n-nodes-base.stickyNote",
"position": [
1580,
1520
],
"parameters": {
"color": 6,
"width": 320,
"height": 360,
"content": "### 联系我们"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "fef985a4-392f-4161-b6e5-a3e9876010e6",
"connections": {
"Get an invoice": {
"main": [
[
{
"node": "Generate PDF File",
"type": "main",
"index": 0
}
]
]
},
"Generate PDF File": {
"main": [
[
{
"node": "Upload file",
"type": "main",
"index": 0
}
]
]
},
"QuickBooks Webhook": {
"main": [
[
{
"node": "Get an invoice",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 发票处理, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
实时QuickBooks发票同步到Slack
在Slack中自动化实时QuickBooks发票提醒
Code
Slack
Webhook
+2
10 节点Intuz
发票处理
QuickBooks发票到Google表格自动化
自动化实时QuickBooks发票同步到Google表格
Code
Webhook
Quickbooks
+2
10 节点Intuz
发票处理
我的工作流23
全周期发票自动化:Airtable、QuickBooks和Stripe
If
Code
Merge
+7
46 节点Intuz
发票处理
从 Airtable 销售订单自动执行 QuickBooks 发票开具和客户创建
Airtable 和 QuickBooks 之间的自动化工作流
If
Code
Merge
+6
35 节点Intuz
内容创作
从Airtable到QuickBooks自动化费用报告
从Airtable到QuickBooks自动化费用报告
If
Merge
Airtable
+4
20 节点Intuz
发票处理
从Stripe支付和客户创建自动生成QuickBooks销售收据
从Stripe支付自动化QuickBooks销售收据和客户创建
If
Code
Merge
+4
17 节点Intuz
杂项
工作流信息
难度等级
中级
节点数量10
分类2
节点类型5
作者
Intuz
@intuzWorkflow automation can help automate your routine activities and help saves $$$, as well as hours of time. As a boutique tech consulting company, Intuz help businesses with custom AI/ML, AI Workflow Automations, and software development. Automate your business workflow for: Sales Marketing Accounting Finance Operations E-Commerce Customer Support Admin & Backoffice Logistics & Supply Chain
外部链接
在 n8n.io 查看 →
分享此工作流