The code is public on GitHub.
The need
While working on the mobile app, I noticed that a large part of how Ummanité organizes its volunteers relied on manual work. For every activity (street outreach, collections, anti-waste baskets, sorting…), a coordinator posted a poll in the WhatsApp group, collected the answers, sent confirmations one by one and wrote the final list. For a charity of this size, it was a heavy and repetitive workload.
I suggested automating this follow-up, we discussed it with the team, and then I built it. The goal: save the team time and make attendance tracking reliable.
What the automation does
The coordinator adds an activity to the Google Sheet. The tool takes care of the rest:
| When | What happens |
|---|---|
| D-7 | Announcement and poll in the group (time slots or “available / not available”) |
| On every vote | Automatic sign-up or removal in the Sheet |
| D-2 | Private confirmation request, with a Yes / No poll |
| D-1 | Final list of confirmed volunteers posted in the group |
| After the list | If someone drops out, the coordinator is notified |
| Friday evening | Weekly recap |
The Google Sheet is both the database and the team’s interface: Present and Absent tabs update automatically, message times and wording can be changed without touching the code, and a Commands tab lets the team trigger anything manually.
My role
I led the project on my own: meetings with the team to understand the process, architecture choices, development, testing, real-world tests in a test WhatsApp group, then production deployment.
A few choices I’m happy with:
- The business logic depends on neither WhatsApp nor Google. It goes through interfaces (ports and adapters architecture). If the WhatsApp API breaks, another one can be plugged in without rewriting the logic.
- No duplicate messages, even if the server restarts mid-send. When in doubt, the tool does nothing and writes it to a log.
- Over 300 Vitest tests, including a simulation of a full week with a mocked clock, run by GitHub Actions on every push.
- A watchdog (a small Google Apps Script) that sends an email if the server goes down.
Hosting
The tool runs on a free Oracle Cloud VPS (Always Free tier), with Docker Compose.
The first version was built with Google Apps Script and a paid WhatsApp API. I dropped it for this self-hosted version, which is free for the charity and works in real time.
Stack: Node.js 24, TypeScript, Express, WAHA (WhatsApp API), Google Sheets API, Vitest, Docker Compose, GitHub Actions, Oracle Cloud VPS.
You can browse the code on GitHub.