Back to Templates

Automatically Save QuickBooks Invoice PDFs to Google Drive

Created by

Created by: Intuz  || intuz

Intuz

Last update

Last update 9 hours ago

Share


This n8n template from Intuz provides a complete and automated solution for secure document archiving.

It automatically saves new QuickBooks invoice PDFs directly into Google Drive, creating a reliable backup system. For perfect organization, the workflow uses keywords from the invoice, like the client name or invoice number, to dynamically name the PDF files, ensuring you have a complete and easily searchable financial record.

Use Cases

1. Automated Document Archiving: Eliminate the manual work of downloading and saving invoices. Set it up once and let it run.

2. Compliance & Auditing: Maintain a clean, chronological, and separate record of all issued invoices for easy access during audits.

3. Secure Backup: Create a redundant, secure backup of your critical financial documents in your own cloud storage.

4. Enhanced Team Access: Share the Google Drive folder with accountants, bookkeepers, or team members who need access to invoices but not to your full QuickBooks account.

How It Works:

1. Real-Time Invoice Trigger: The workflow starts the instant a new invoice is created in your QuickBooks account. A configured webhook sends a notification to n8n, kicking off the automation immediately.

2. Fetch Invoice Metadata: The workflow uses the invoice ID from the webhook to retrieve the full invoice details, such as the customer's name and the transaction date. This information is used in the next steps.

3. Generate the Invoice PDF: A crucial HTTP Request node makes a direct API call to QuickBooks, requesting a PDF version of the invoice. This ensures the archived document is the official, formatted PDF, exactly as it appears in QuickBooks.

4. Upload and Archive in Google Drive: The final node takes the binary PDF data and uploads it to your specified Google Drive folder. It dynamically names the file for easy identification (e.g., CustomerName_TransactionDate.pdf), creating a perfectly organized and searchable archive.

Setup Instructions

To get this workflow running, follow these key setup steps:

1. Credentials:

  • QuickBooks: Connect your QuickBooks account credentials to n8n.
  • Google: Connect your Google account using OAuth2 credentials and ensure the Google Drive API is enabled.

2. QuickBooks Webhook Configuration:

  • First, activate this n8n workflow to make the webhook URL live.
  • Copy the Production URL from the QuickBooks Webhook node.
  • In your Intuit Developer Portal, go to the webhooks section for your app, paste the URL, and subscribe to Invoice creation events.

3. Node Configuration:

  • Get an invoice & Generate PDF File: These nodes will use your configured QuickBooks credentials automatically.
  • Upload file (Google Drive): In the parameters for this node, you must select the Folder ID where you want your invoices to be saved.

Support

If you need help setting up this workflow or require a custom version tailored to your specific use case, please feel free to reach out to the template author: