QuickBooks の請求書PDFを自動のにGoogle Driveに保存
これはInvoice Processing, Multimodal AI分野の自動化ワークフローで、10個のノードを含みます。主にWebhook, Quickbooks, GoogleDrive, HttpRequestなどのノードを使用。 QuickBooks の請求書 PDF を Google Drive に自動保存
- •HTTP Webhookエンドポイント(n8nが自動生成)
- •Google Drive API認証情報
- •ターゲットAPIの認証情報が必要な場合あり
{
"id": "X5xw7yGGTbOO90W2",
"meta": {
"instanceId": "1a54c41d9050a8f1fa6f74ca858828ad9fb97b9fafa3e9760e576171c531a787"
},
"name": "Automatically Save QuickBooks Invoice PDFs to 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": "**Step 1: Webhook Trigger Activated!** 🪝📢\n\n\nThis node is the starting point of the workflow.\n\nIt listens for new invoice creation events in QuickBooks.\n\nWhat it does:\n\n📡 Captures the invoice creation event in real time.\n\n📦 Passes the new invoice data instantly into the workflow.\n\n🔄 Removes the need for manual checks or scheduled polling.\n"
},
"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": "### Step 2: Invoice Data Fetcher 📄🔍\n\nThis node uses the **Get an Invoice** operation to pull full details of the invoice from QuickBooks.\n\nWhy this step is important:\n\n- ✅ Retrieves complete and up-to-date invoice information.\n- 📊 Captures fields like invoice number, date, customer.\n- 🧾 Ensures the Google Sheet reflects the exact state of the invoice at the moment of the event.\n\nIt’s the step that turns a simple event notification into a fully detailed record. 📥✨\n"
},
"typeVersion": 1
},
{
"id": "07455a09-ddbc-43a7-87ac-bf3ecc8917aa",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
780,
1460
],
"parameters": {
"width": 460,
"height": 380,
"content": "### Step 3: Invoice PDF Generator 🖨️📂\n\nThis node sends an **HTTP Request** to QuickBooks to generate a downloadable PDF version of the invoice.\n\nWhy this step is important:\n\n- 🖨️ Converts the invoice data into a ready-to-download PDF format.\n- 📂 Ensures a consistent, professional layout directly from QuickBooks.\n- 🔗 Provides a file link that can be shared, stored, or sent to customers.\n\nIt’s the step that transforms invoice details into a polished, printable document. 📄✨\n"
},
"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": "### Step 4: Google Drive PDF Uploader ☁️📤\n\nThis node uses the **Upload File** operation in Google Drive to store the PDF invoices in your chosen folder.\n\nWhy this step is important:\n\n- 📤 Saves each invoice PDF securely in Google Drive.\n- 📂 Keeps all invoices organized in a dedicated folder of your choice.\n- 🔄 Enables easy access, sharing, and long-term storage.\n\nIt’s the step that moves your invoices from generation to safe, cloud-based storage. 🗂️✨\n"
},
"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": "## 🛠️ Prerequisites\n\nBefore running this workflow, make sure the following are set up:\n\n1. **QuickBooks Webhook Configuration** \n - Connect the **production URL** of your webhook to the **Intuit Developer Portal** for your specific company. \n - Ensure **Invoice** events are subscribed and activated (e.g., create, update, delete).\n\n2. **Google Account Integration** \n - Connect your **Google Client Credentials**. \n - Enable the following APIs: \n - 📂 Google Drive \n\nOnce these are in place, your workflow will seamlessly capture and upload every invoice change in real time. 🚀📊\n"
},
"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": "### Get in Touch\n\nPlease feel free to reachout to us, if you need any help in settin up this workflow.\n\nWe can also help customize workflow pet the use-case. \n\nReach out us at: getstarted@intuz.com\n\nWebsite: https://www.intuz.com/\n\n"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "fef985a4-392f-4161-b6e5-a3e9876010e6",
"connections": {
"9283af9a-547a-4576-a006-c8555d1bb64b": {
"main": [
[
{
"node": "3467b040-a23a-4225-bfbe-b500dd2e7d65",
"type": "main",
"index": 0
}
]
]
},
"3467b040-a23a-4225-bfbe-b500dd2e7d65": {
"main": [
[
{
"node": "0d766411-d37d-4b61-8f57-7bab86a501fe",
"type": "main",
"index": 0
}
]
]
},
"ff7c6a74-195d-42db-b841-a18979f064db": {
"main": [
[
{
"node": "9283af9a-547a-4576-a006-c8555d1bb64b",
"type": "main",
"index": 0
}
]
]
}
}
}このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - 請求書処理, マルチモーダルAI
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
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
このワークフローを共有