Seamless expense tracking automation using iOS Shortcuts and Google Apps Script - eliminating manual data entry with one-tap expense logging
Manual expense tracking is tedious and time-consuming. Opening an app, typing the amount, adding descriptions, categorizing expenses, and selecting cash in/out for every transaction becomes a barrier to consistent financial tracking. The friction of manual entry often leads to abandoned tracking or incomplete records, making it impossible to understand spending patterns.
I built an automated expense tracking system using iOS Shortcuts and Google Apps Script for Google Sheets. This is where I learned and experimented with iOS Shortcuts and scripting to automate my expense tracking, making it easier by eliminating manual data entry.
Flow: Activate shortcut → Shortcut asks for amount (integer) → User enters the amount spent or received → Add description of where the cash came from → Select if cash in or out → This activates the Apps Script → Google Sheets receives the data → Dashboard shows the cash flow of in and out.
This is an MVP designed for tracking a specific account or spending category. For this example, it's used for food money only. However, I can scale it for different accounts by copying and pasting cells in the dashboard to create additional tables for tracking different expenses, allowing me to work on a better solution in the future.
Custom shortcut with voice input and quick-select options for instant expense capture from iPhone home screen or Siri
Google Apps Script backend handles data validation, formatting, and automatic sheet appending with zero manual intervention
Expenses appear instantly in Google Sheets with automatic timestamps, categories, and calculations
Automated expense categorization and cash flow tracking (in/out) with running balance calculations
See how the automated expense tracker works from iOS Shortcut to Google Sheets dashboard
Click image to enlarge
One-tap access to the expense tracker shortcut directly from the iPhone home screen - no app opening required
Shortcut prompts for the expense amount - accepts integer input for the money spent or received
Add context to the transaction - describe where the money came from or what it was spent on
Quick selection to categorize if money was received (Cash In) or spent (Cash Out)
Apps Script processes the data and provides immediate confirmation that the transaction was logged successfully
Google Sheets dashboard showing all transactions with automatic timestamps, descriptions, and cash flow tracking
Demonstration of scalability - multiple tables can track different expense categories or accounts simultaneously
Automatic calculation of total cash in, cash out, and current balance with formula-based updates
Organized view of expenses by month, enabling easy tracking of spending patterns and financial trends over time
Designed a custom iOS Shortcut that prompts for expense details (amount, description, category) with voice input support and quick-select options. The shortcut can be triggered from the home screen, Siri, or widget for instant access.
Developed a Google Apps Script that receives data from iOS Shortcuts via webhook, validates inputs, formats data, and appends to Google Sheets with automatic timestamp generation and error handling.
Implemented data validation to ensure amount formats are correct, categories are standardized, and cash flow direction (in/out) is properly tracked. Script automatically calculates running balances and monthly totals.
Fine-tuned the automation workflow to minimize friction - from initial trigger to data appearing in sheets takes less than 2 seconds. Added error notifications for failed entries and duplicate detection.
Purpose: Front-end interface for expense capture with voice input and quick-select menus.
Features: Siri integration, home screen widgets, dictation support, and custom prompts for amount, description, and category selection.
Purpose: Backend automation engine that processes and stores expense data.
Implementation: JavaScript-based script deployed as web app with webhook endpoint for receiving iOS Shortcuts data.
Purpose: Data storage and visualization layer with automatic calculations.
Features: Real-time data appending, formula-based running totals, monthly summaries, and category breakdowns.
Learning iOS Shortcuts automation logic and Google Apps Script APIs from scratch. Understanding how to design workflows that minimize user friction while maintaining data accuracy and reliability.
This project taught me the power of automation in solving real-world problems. I learned that the best automation is invisible - users shouldn't think about the system, it should just work. The project reinforced my problem-solving mindset: identify friction points, automate repetitive tasks, and build systems that adapt to user behavior.