DEV Community

ChrolloLW
ChrolloLW

Posted on

I built a WhatsApp bot that automatically tracks your expenses into Google Sheets β€” my first public project πŸš€

Hey everyone πŸ‘‹

I’ve been learning programming little by little through different personal and work projects β€” building things that help me automate tasks, organize data, or just make life a bit easier.

Recently, I decided to publish one of them for the first time: RemmiV1, a WhatsApp bot that automatically logs your daily expenses into Google Sheets πŸ’¬πŸ’Έ


πŸ’‘ What it does

The idea is simple: you send a normal message in WhatsApp like:

chicken food 20 cash

and the bot automatically registers:

  • 🏷️ Category: food
  • πŸ— Item: chicken
  • πŸ’° Amount: 20
  • πŸ’³ Payment method: cash

CHATBOT-COMANDS SPANISH

Everything goes directly into a Google Sheet, ready for reports or monthly summaries.

GOOGLESHEETS-DATA

MONTH CHART AND REPORT


πŸ’­ Why I built it

The idea came from something personal.

My girlfriend usually writes down her daily expenses in a WhatsApp chat β€” just as quick notes β€” but by the end of the month it was always complicated for her to organize and calculate everything.

So I thought: what if I could make that chat itself do the job?

That’s how RemmiV1 started β€” as a way to help her keep track of expenses more easily, while learning how to integrate WhatsApp with Google Apps Script.

This project helped me understand more about APIs, automation, and the power of combining small, everyday habits with simple tech.


βš™οΈ How it works

I used the Meta Cloud API (WhatsApp Business) to receive messages and connected it with Google Apps Script, which writes the data into Google Sheets.

The bot uses a few simple rules:

  • The word before the amount becomes the category
  • Detects payment method (cash, card, transfer, etc.)
  • Adds the date automatically

It’s a lightweight setup that doesn’t need any external servers β€” just Meta and Google Workspace tools.


πŸ“Š Features

βœ… One-line expense tracking via WhatsApp

βœ… Detects category and payment method

βœ… Generates monthly reports automatically

βœ… Works entirely with free Google tools


🧠 Stack used

  • Meta Cloud API (WhatsApp Business)
  • Google Apps Script
  • Google Sheets

🌍 Repository

πŸ“¦ GitHub: RemmiV1 – WhatsApp Expense Bot

πŸ—£οΈ The repository is available in both English and Spanish.


πŸš€ What’s next

Support multiple users: make it possible to store and organize data from different WhatsApp numbers in separate sheets or tabs.

So far, I’ve tested it with two friends and my girlfriend β€” and it works great!


This is my first public project, so any feedback or suggestions are really welcome πŸ™

I’m from Peru, and I enjoy learning by building β€” especially projects that connect daily life with tech.

Top comments (0)