← BACK TO WORK SAAS / AI AUTOMATION

BUILT A FULL SAAS PRODUCT, TELEGRAM-FIRST.

CLIENT: AIRLEDGE  ·  2025–2026

Small social sellers — running 1 to 3-person operations on Instagram, WhatsApp, and Facebook — were managing their entire business in chat and spreadsheets. We built them a real operating system. Bot in front. Immutable ledger behind. AI weekly reports on top.

< 30s To Log a Sale (Core User Journey)
0 Duplicate Writes via Idempotency
3 Plan Tiers Live (Free → $29/mo Pro)
// THE_CHALLENGE

SPREADSHEETS ARE NOT AN OPERATING SYSTEM.

Small social commerce sellers — running storefronts across Instagram, Facebook, and WhatsApp — are operating full businesses from their phones. They're logging sales in Telegram threads, tracking stock in Google Sheets, and holding customer records in memory. It works, until it doesn't.

Stock drift. Oversell disputes. No profit visibility because cost data lives in a different spreadsheet. No audit trail when something goes wrong. Invoicing done manually in Word. These are not edge cases — they are the daily reality for thousands of solo sellers who need business-grade controls without enterprise-grade complexity.

// WHAT_WE_BUILT

CORRECTNESS FIRST. SPEED SECOND.

AirLedge is built around one principle: stock and financial truth comes from an immutable, append-only transaction ledger — not from mutable fields that any sync or retry can corrupt. Every write is idempotent. Telegram retries cannot duplicate a sale. Every reversal is a compensating entry, not a delete. The ledger is always reconcilable.

The Telegram bot (Deno + grammY) is the primary operational interface — sellers never need to open a browser to log a sale, check stock, or undo a mistake. Structured command flows (/sold, /undo, /setstock, /list, /today) cover the daily 90%. An import flow accepts text or photo lists, parses them into candidate SKUs, routes them through a web mini-app for review, and commits atomically.

The Next.js web dashboard handles everything that needs more screen space: transaction history, filtered exports, customer records, invoice generation and branding, team management, and monthly KPI dashboards. Pro tier unlocks AI-generated weekly reports — revenue summaries, profit analysis, and restock suggestions delivered to Telegram on a schedule.

  • TELEGRAM BOT (DENO + GRAMMY) Full command workflow system — sale logging, undo, stock adjustment, import, daily summary. Retry-safe and idempotent throughout.
  • NEXT.JS WEB DASHBOARD App Router dashboard with RLS-enforced shop scoping, transaction views, customer records, invoice generation, CSV exports, and team seat management.
  • IMMUTABLE LEDGER BACKEND Supabase/Postgres with RLS on every multi-tenant table, atomic RPCs for critical writes, and append-only transaction semantics.
  • AI WEEKLY REPORTS (PRO) Scheduled AI report generation with delivery logging — revenue, profit, target progress, and recommendations — sent directly to Telegram.
  • 3-TIER PLAN SYSTEM DB-backed entitlement enforcement (shop caps, seat caps, feature gating) for Free, Starter ($12/mo), and Pro ($29/mo) tiers.
// TECH_STACK
DENOGRAMMYNEXT.JS APP ROUTERTYPESCRIPTSUPABASEPOSTGRES (RLS)ATOMIC RPCsAI REPORT GENERATION
// THE_OUTCOME

AirLedge launched with all three plan tiers operational. Sellers complete a full sale log in under 30 seconds. The ledger has never produced a duplicate write. Pro users receive AI-generated weekly reports covering revenue, profit, and restock recommendations — delivered to their Telegram before Monday morning.

// NEXT_PROJECT

HAVE A PRODUCT IDEA?

We build SaaS products end-to-end — from architecture to launch to the first 100 paying users.

[ START A PROJECT ]