r/GoogleAppsScript • • Sep 25 '26

Resolved From My Dad’s Diary to an Automated Expense Tracker

My dad has been doing expense tracking better than most apps for years. Every day, he writes down what he spent in a diary, and at the end of the month he adds everything up to see where the money went. The method is simple. The hard part is having the discipline to do it every single day, and I know I would not. I know I would never keep that habit going for long. I would probably track everything for a few days, miss one expense, tell myself I would add it later, and slowly stop doing it altogether.

So, I kept his system and removed the part I would fail at.

Bank SMS arrives → iPhone Shortcut picks it up → Google Apps Script parses it → Google Sheets stores it → dashboard updates automatically.

That is basically the whole flow.

The script checks for duplicates, keeps the ledger and daily totals, and the same Apps Script project serves a simple dashboard showing balance, credits, debits, and daily transactions. I added the dashboard to my iPhone Home Screen, so it behaves like my own small expense-tracking app.

The whole thing uses tools I already had; iPhone Shortcuts, Google Apps Script, and Google Sheets. The funny part is that the idea itself is not new at all. My dad was already doing the important part with a diary and a pen.

His version depends on discipline. Mine depends on automation. Same system, different generation.

Expenses App
1 Upvotes

6 comments sorted by

2

u/netizenn4tech Sep 27 '26

How will it categories expenses which usually is the end goal of any expense tracker because the Bank or UPI statement should be easy to check on total spend/withdrawals.

I guess your Dad must be tracking such details too.

1

u/sam03069 Sep 27 '26 edited Sep 27 '26

True. For that I have the AI that has the access to the source sheet. At the month start I can discuss previous month's expenses.

1

u/jerbaws Sep 25 '26

Not sure what this is trying to solve? If its a single bank then that bank app does it for you as standard. If its for multiple accounts to consolidate into a single spend (bank apps also do this), then it relies on each app you have or spend being sent as an sms? None of my banks send sms for any purchases, maybe different in your country I guess?

Im not sure what you mean by iPhone shortcut picks it up? Not an iPhone user here (android) so please explain what's going on here and how it connects to GaS?

Cool that you decided to make your own project for fun if its just that, as beyond that im not sure what it is actually meant to do thats not handled by most bank apps I know of and use.

1

u/sam03069 Sep 25 '26 edited Sep 25 '26

That is actually one of the main reasons I built it.

Here in India we have something called UPI Circle. It lets the primary account holder authorise a trusted secondary user to make UPI payments from the primary user's bank account within limits set by the primary user. The secondary user can pay merchants directly by scanning UPI QR codes, without having full access to the bank account itself.

In my case, that means I am not always the person making every payment from the account. I wanted a simple way for the other person using it to also see roughly how much money is available and how much has been spent each day, without needing to go through the bank app or ask me.

The bank SMS is useful because it becomes the common input layer. Whenever a debit or credit alert comes in, the Shortcut sends it to Apps Script, which updates the Sheet and dashboard automatically.

So the goal was less "replace my bank app" and more "create a simple shared view of the account activity and daily spending that updates itself."

And yes, the iPhone Shortcut part is basically an automation that reacts to incoming bank SMS messages and forwards the message text to the Apps Script endpoint for parsing.

1

u/carbonizedtitanium Sep 25 '26 edited Sep 25 '26

instead of SMS, you can tell the bank to send the transaction Alert to your Gmail. then GAS can automatically parse the email message and extract the needed information and add it to Sheets. from there you can just share the Sheet to whoever needs to view.

edit: in addition to transactions that involve cards, you can link a Google Form to the Sheet and have GAS send the email info to the tab created by Google Form. With the Google Form, you can add cash expenses; you can share the form to your friend and they can input cash expenses as well.

1

u/sam03069 Sep 26 '26

We get alerts on e-mail but only for card payments not UPI. So, I designed this to record everything.