Skip to main content

Weekly ETL pipeline: QuickBooks financial data to Google BigQuery

Workflow preview

Workflow preview
100%
Weekly ETL pipeline: QuickBooks financial data to Google BigQuery preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This template sets up a weekly ETL (Extract, Transform, Load) pipeline that pulls financial data from QuickBooks Online into Google BigQuery. It not only transfers data, but also cleans, classifies...

Best for

  • Engineering automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.quickbooks, n8n-nodes-base.code, n8n-nodes-base.googlebigquery, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Fahmi Fahreza.

Original n8n.io source

1.1 Workflow description

Title
Weekly ETL pipeline: QuickBooks financial data to Google BigQuery
Workflow name
Weekly ETL pipeline: QuickBooks financial data to Google BigQuery

This template sets up a weekly ETL (Extract, Transform, Load) pipeline that pulls financial data from QuickBooks Online into Google BigQuery. It not only transfers data, but also cleans, classifies, and enriches each transaction using your own business logic.

Who It's For

  • Data Analysts & BI Developers
    Need structured financial data in a warehouse to build dashboards (e.g., Looker Studio, Tableau) and run complex queries.
  • Financial Analysts & Accountants
    Want to run custom SQL queries beyond QuickBooks’ native capabilities.
  • Business Owners
    Need a permanent, historical archive of transactions for reporting and tracking.

What the Workflow Does

1. Extract

Fetches transactions from the previous week every Monday from your QuickBooks Online account.

2. Transform

Applies custom business logic:

  • Cleans up text fields
  • Generates stable transaction IDs
  • Classifies transactions (income, expense, internal transfer)
3. Format

Prepares the cleaned data as a bulk-insert-ready SQL statement.

4. Load

Inserts the structured and enriched data into a Google BigQuery table.

Setup Guide

1. Prepare BigQuery
  • Create a dataset (e.g., quickbooks) and table (e.g., transactions)
  • The table schema must match the SQL query in the "Load Data to BigQuery" node
2. Add Credentials
  • Add QuickBooks Online and Google BigQuery credentials to your n8n instance
3. Configure Business Logic
  • Open the Clean & Classify Transactions node
  • Update the JavaScript arrays:
    • internalTransferAccounts
    • expenseCategories
    • incomeCategories
  • Ensure these match your QuickBooks Chart of Accounts exactly
4. Configure BigQuery Node
  • Open the Load Data to BigQuery node
  • Select the correct Google Cloud project
  • Ensure the SQL query references the correct dataset and table
5. Activate the Workflow
  • Save and activate it
  • The workflow will now run weekly

Requirements

  • A running n8n instance (Cloud or Self-Hosted)
  • A QuickBooks Online account
  • A Google Cloud Platform project with BigQuery enabled
  • A BigQuery table with a matching schema

Customization Options

  • Change Schedule: Modify the schedule node to run daily, monthly, or at a different time
  • Adjust Date Range: Change the date macro in the Get Last Week's Transactions node
  • Refine Classification Rules: Add custom logic in the Clean & Classify Transactions node to handle specific edge cases

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Start: Weekly on Monday

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 2 - 1. Get Last Week's Transactions

Type / Role
n8n-nodes-base.quickbooks - quickbooks
Config choices
Version 1

Block 3 - 2. Clean & Classify Transactions

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - 3. Format Data for SQL

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - 4. Load Data to BigQuery

Type / Role
n8n-nodes-base.googleBigQuery - googleBigQuery
Config choices
Version 2.1

Block 6 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Weekly ETL pipeline: QuickBooks financial data to Google BigQuery
Complexity intermediate
Nodes 8
Categories Engineering
Author Fahmi Fahreza
Published 26 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6493/6493.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Weekly ETL pipeline: QuickBooks financial data to Google BigQuery do?

This template sets up a weekly ETL (Extract, Transform, Load) pipeline that pulls financial data from QuickBooks Online into Google BigQuery. It not only transfers data, but also cleans, classifies...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Engineering use case.