Skip to main content

Monitor company budgets with Bexio, Google Sheets and Gmail alerts

Workflow preview

Workflow preview
100%
Monitor company budgets with Bexio, Google Sheets and Gmail alerts preview
Open on n8n.io

1. Workflow Overview

This n8n template allows you to automatically monitor your company's budget by comparing live Bexio accounting data against targets defined in Google Sheets, sending automated weekly email reports....

Best for

  • Document Extraction automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.set, n8n-nodes-base.googlesheets, n8n-nodes-base.stickynote, n8n-nodes-base.wait, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.splitinbatches, n8n-nodes-base.merge

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Monitor company budgets with Bexio, Google Sheets and Gmail alerts
Workflow name
Monitor company budgets with Bexio, Google Sheets and Gmail alerts

This n8n template allows you to automatically monitor your company's budget by comparing live Bexio accounting data against targets defined in Google Sheets, sending automated weekly email reports. It also exports your financial data from Bexio into a flexible spreadsheet environment.

Financial overspending often goes unnoticed until it's too late. This workflow transforms reactive accounting into proactive management by automatically calculating monthly actuals and flagging budget overages in real-time, eliminating the need for manual spreadsheet updates.

Who’s it for

This workflow is built for Founders and CFOs who want to replace reactive accounting with proactive financial management. It is the ideal solution for leadership teams needing to eliminate manual data entry, synchronize live Bexio actuals against Google Sheet targets, and receive automated weekly email reports that proactively flag budget overages before they become critical issues.

How it works

The workflow automates the extraction and analysis of your Bexio accounting journal through several stages:

Data Extraction: It uses a recursive pagination loop to fetch journal entries from the Bexio API in batches of 1,000 records.

Data Synchronization: It utilizes the "Append or Update" operation in Google Sheets to ensure records stay current without creating duplicates.

Financial Analysis: The system reads target thresholds from a "Budgets" sheet and aggregates costs per account by calculating the delta between Debits and Credits.

Automated Reporting: A logic engine compares monthly actuals against budgets and generates a summary report sent via Gmail if thresholds are exceeded.

How to set up

Credentials: Connect your Bexio (Bearer Token), Google Sheets (OAuth2), and Gmail accounts in their respective nodes.

Target Sheet: In the "Update Records" node, select your specific Google Spreadsheet and target tab for the journal entries. Use this template to create your database - Google Sheet Template

Budget Configuration: Clone the template spreadsheet and define your specific metrics and monthly budget limits in the "Budgets" sheet.

Date Filtering: Open the "Get Records" node and adjust the from and to query parameters (currently set for the 2025 fiscal year) to match your reporting period.

Gmail: Enter the recipient email address in the "To" field of the Gmail node.

Requirements

Bexio Account: Must have API access enabled.

Google Workspace: Access to Google Sheets for data storage and Gmail for sending reports.

How to customize the workflow

Budget: You can set budgets for as many metrics as you want for every accounting period.

Sync Frequency: The "Schedule Trigger" can be adjusted from its weekly default to daily or hourly for more frequent updates.

Notification Channels: Swap the Gmail node for Slack or Microsoft Teams to receive report via different channels.

Rate Limiting: If processing a very large journal, increase the "Delay" node duration to remain within Bexio’s API rate limits.

Pagination Reuse: The pagination logic can be adapted to retrieve any other Bexio data limited by API batch sizes.

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 - Set Offset

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 2 - Add Offset

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 3 - Update Records

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 4 - Sticky Note2

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

Block 5 - Delay

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 6 - Get Records

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - Batch Size

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 8 - Sticky Note3

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

Block 9 - Sticky Note

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

Block 10 - Read Budgets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 11 - Get Debits

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 12 - Get Credits

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 13 - Calculate Credits

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

Block 14 - Calculate debit

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

Block 15 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 16 - Merge Credits/Debits

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 17 - Calculate Costs

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

Block 18 - Add Budgets

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 19 - Check Budgets

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

Block 20 - Compose Report

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

Block 21 - Send Report

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.2

Block 22 - Sticky Note4

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

Block 23 - Sticky Note5

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

Block 24 - Sticky Note6

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

Showing the first 24 of 26 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Monitor company budgets with Bexio, Google Sheets and Gmail alerts
Complexity advanced
Nodes 26
Categories Document Extraction, AI Summarization
Author Kamil Ostrowski
Published 20 Jan 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/12852/12852.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 Monitor company budgets with Bexio, Google Sheets and Gmail alerts do?

This n8n template allows you to automatically monitor your company's budget by comparing live Bexio accounting data against targets defined in Google Sheets, sending automated weekly email reports....

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 Document Extraction, AI Summarization use case.