SDG 6 [What to build](https://logicpacks.io/build) · 3 ideas

# Goal 6: Clean water and sanitation

Safe water and sanitation for everyone, managed sustainably.

Where piped water is irregular, people depend on tankers, handpumps and supply timings passed around by word of mouth. Simple logs and alerts make that informal system fairer and easier to fix.

Roman Urdu: Jahan pani tanker, nalkay ya mukarrar waqt pe aata ha, wahan ek simple log aur alert bohat madad krta ha.

Official page: [UN Sustainable Development Goal 6](https://sdgs.un.org/goals/goal6)

1.  [Water tanker booking log](#tanker-booking-log)
2.  [Broken handpump and borehole reports](#water-point-reports)
3.  [Piped water supply timing alerts](#supply-timing-alerts)

Idea 1

## Water tanker booking log

WhatsApp-first Cash / COD Informal economy

The problem

Households and small buildings order water tankers by phone, prices change without notice, and there is no record of who paid what or how long delivery took.

Who it helps

Households, building committees and tanker operators in cities such as Karachi, Chennai or Lagos.

Weekend version

A WhatsApp flow to request a tanker (size, address), a tanker owner page to accept and mark delivered, and a shared log of price paid and wait time per area.

Tools (free tier or local mock)

-   [WhatsApp Cloud API](https://developers.facebook.com/docs/whatsapp/pricing) (Meta): priced per message. Messages users send you are free, and each business number gets 1,000 free service messages a month; template messages you start are charged. Use a local mock while building.
-   [PocketBase](https://pocketbase.io/): open source backend in one file (SQLite, auth, admin UI). Runs on a cheap VPS or an old laptop.
-   [Google Sheets API](https://developers.google.com/workspace/sheets/api/limits): no cost, with per-minute request quotas. A shared sheet is often the easiest admin panel.

Data

-   Bookings, prices and delivery times logged by the users themselves.

Starter prompt (for the reader to paste into their own coding agent):

```text
Build a tanker booking log with PocketBase (or Node.js and SQLite) and a local mock of the WhatsApp webhook. A customer message "tanker 3000 gallons, Block 7" creates a request; registered operators for that area see it on a simple mobile page, accept it with a price, and later mark it delivered and paid in cash. Record request, accept and delivery times. Show a public page with median price and wait time per area for the last 30 days. Done means tests cover the request state machine and the median calculation, and a seed script fills a week of sample bookings.
```

Idea 2

## Broken handpump and borehole reports

SMS only Low literacy Patchy internet

The problem

When a village handpump or borehole breaks, it can stay broken for weeks because the people who can fix it do not hear about it, or have no list of what is down.

Who it helps

Villagers, water committees and district water engineers, for example in Malawi, Uganda or Odisha.

Weekend version

Anyone sends an SMS like "PUMP 214 BROKEN"; the water point turns red on a map, the assigned mechanic gets an SMS, and it turns green when they reply "214 FIXED".

Tools (free tier or local mock)

-   [SMS Gateway for Android](https://github.com/capcom6/android-sms-gateway): open source (Apache-2.0), turns an old Android phone (5.0 or newer) into an SMS API using its own SIM. Local mode needs no account; you pay only your normal SMS bundle.
-   [Leaflet](https://leafletjs.com/) (open source) with [OpenStreetMap](https://www.openstreetmap.org/) tiles for the map; light enough for low-end phones.
-   [Supabase](https://supabase.com/pricing) free plan: 2 projects, 500 MB database each; free projects pause after a week with no activity.

Data

-   [Water Point Data Exchange (WPdx)](https://www.waterpointdata.org/access-data/): free and open water point records you can download by country.
-   [WHO/UNICEF JMP](https://washdata.org/): national water and sanitation coverage data for context.

Starter prompt (for the reader to paste into their own coding agent):

```text
Build an SMS water point tracker in Python (FastAPI) with SQLite. Import water points from a WPdx CSV export (id, lat, lon, type). Parse inbound SMS like "PUMP 214 BROKEN" or "214 FIXED" with tolerance for case and extra words; update status, keep a history, and SMS the mechanic assigned to that area. Serve a Leaflet map with red, green and grey markers and a "days broken" column. Use a console mock for SMS plus an adapter for an Android SMS gateway. Done means tests cover the parser with 20 messy messages and the status history, and a demo script replays a month of reports.
```

Idea 3

## Piped water supply timing alerts

WhatsApp-first Low-end Android Shared phones

The problem

In many neighbourhoods piped water comes only a few hours a day or a few days a week, at times that shift. People miss it and then pay for tankers.

Who it helps

Residents of areas with intermittent supply, for example in Delhi, Dhaka or Nairobi.

Weekend version

The first resident on a street to see water arrive taps one button or sends "water on"; everyone subscribed to that street gets a message within a minute.

Tools (free tier or local mock)

-   [Firebase Spark plan](https://firebase.google.com/pricing): no cost, with daily Firestore read and write limits; Cloud Messaging push notifications are free.
-   [WhatsApp Cloud API](https://developers.facebook.com/docs/whatsapp/pricing) (Meta): priced per message. Messages users send you are free, and each business number gets 1,000 free service messages a month; template messages you start are charged. Use a local mock while building.
-   [Cloudflare Workers](https://developers.cloudflare.com/workers/platform/pricing/) free plan: 100,000 requests a day, plus a free D1 SQLite database tier.

Data

-   Supply start and stop times reported by residents; over time this becomes the street's own timetable.

Starter prompt (for the reader to paste into their own coding agent):

```text
Build a water-on alert service as a Cloudflare Worker with D1, with a local mock of the WhatsApp webhook. Users subscribe to a street code. A "water on" or "water off" message from a subscriber triggers a broadcast to that street, rate-limited so many reports in 10 minutes send only one alert. Store every event and show a simple page with the usual supply times per street, built from the last 4 weeks. Done means tests cover the rate limit and the timetable summary, and a demo script simulates two weeks for 3 streets.
```

New to agents? Start with the [install guides](https://logicpacks.io/install).

[Previous : Goal 4: Quality education](https://logicpacks.io/build/quality-education) [Next : Goal 7: Affordable and clean energy](https://logicpacks.io/build/clean-energy)

---

Canonical URL: https://logicpacks.io/build/clean-water

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](https://logicpacks.io/llms.txt). Plain facts: [/about.md](https://logicpacks.io/about.md). Safety: [/safety.md](https://logicpacks.io/safety.md).
