Use this comprehensive n8n workflow to automate expense tracking. It uses AI to parse receipt photos, stores data in Google Sheets, and provides real-time and scheduled budget reports via Slack.
Download this n8n workflow template and start using it instantly.
Small businesses or freelancers requiring automated, auditable expense logs.
Households needing a shared, real-time budget tracking system.
n8n users looking for advanced n8n templates integrating AI, spreadsheets, and messaging.
Automation specialists interested in deploying a complex, two-branch n8n workflow.
This powerful n8n workflow solves the tedious problem of manual expense logging. Instead of typing receipt details, users simply submit a photo (or the OCR text of one) to a designated webhook. The n8n automation takes over, leveraging an AI agent (via OpenRouter) to accurately extract the date, store, items, and total amount.
Once parsed, the data is immediately logged into a Google Sheet—creating a centralized database. Crucially, this n8n workflow operates in two modes: providing instant feedback on the current month's spending immediately after an expense is logged, and running a scheduled daily analysis to provide deeper insights, such as top spending categories and daily averages. Utilizing the custom code n8n node for calculation ensures flexibility, making this an essential n8n template for budget management.
This n8n workflow operates via two parallel processes:
/receiptText).To deploy this powerful n8n workflow template, follow these setup steps:
Date, Store, Items, and Amount. Configure your Google Sheets credentials in n8n and select the document ID and sheet name in both Google Sheets n8n node instances.const budget = 30000;) to match your actual monthly budget. Receipt Photo Upload (Webhook n8n trigger): Serves as the entry point for expense data submission. Key configuration: Uses the path receipt Text and HTTP method POST.
Parse Receipt (LangChain Agent n8n node): The core intelligence. Function: Uses an AI model (linked via OpenRouter) to transform unstructured receipt text into structured JSON data. Key Configuration: Uses a specific systemMessage prompt to enforce the required JSON output format.
Add to Budget Sheet (Google Sheets n8n node): Function: Persistently stores the extracted data. Key Configuration: Operation: append, mapping data fields (Date, Store, Items, Amount) from the AI output.
Code in JavaScript2 (Code n8n node): Function: Calculates the real-time budget status. Key Configuration: Contains the logic for date parsing, monthly aggregation, and defines the crucial budget variable.
Report Budget (LangChain Agent n8n node): Function: Acts as a content editor, taking raw budget numbers and formatting them into a concise, professional message for Slack.
Daily Report Trigger (Cron n8n trigger): Function: Initiates the scheduled reporting branch of the n8n workflow. Key Configuration: Schedule settings (runs daily).
Monthly Analysis (Code n8n node): Function: Runs complex data aggregation on the entire dataset retrieved by the preceding Google Sheets n8n node, generating metrics like top spending items and daily average.
Monthly Report (LangChain Agent n8n node): Function: Consumes the statistical analysis and generates a detailed, insightful written report ready for delivery via the final Slack n8n node.
Use this powerful n8n workflow to automatically parse bank transaction messages from Telegram using custom code and log all financial details directly into Google Sheets. Perfect for automated budgeting.

Use this advanced n8n workflow to create a private Telegram bot that tracks expenses via text, voice, or image/PDF receipts. Features GPT-4o analysis, OCR, and custom storage.

Automate employee attendance tracking using this powerful n8n workflow. Fetch data from Google Sheets, run custom analytics, detect anomalies, and send timely alerts via Slack and Email.

Use this powerful n8n workflow to track income and expenses instantly via Telegram text commands or by sending receipt photos for automatic OCR processing and logging into Google Sheets.

Automate personal finance tracking using this ready-to-use n8n workflow template. Capture Telegram messages, parse expense data with GPT-4.1 Mini, and instantly log results into Google Sheets using the appropriate n8n node.

Use this powerful n8n workflow to automatically track flight fares post-booking via Amadeus and Skyscanner, calculate savings, check refund eligibility, and send alerts (Email, SMS, Slack). Automate price drop monitoring with n8n.









































