← All work Automation
02

Legal Operations Hub

RoleFull-stack · Lead
StatusIn production · NDA

Centralized ticketing and workflow system for legal teams. Connects Slack, Gmail, Supabase, and client portals. Automated ticket creation, stakeholder notifications, role-based access, ops dashboards.

What I built

  • Inbound parser that turns Slack threads and Gmail messages into structured tickets with the right owner and SLA.
  • Role-based access on top of Supabase row-level security for partners, associates, paralegals, and clients.
  • Operational dashboard with SLA timers, queue health, and per-client load.
  • Bidirectional sync so updates in the Hub fire back into Slack/Email without spamming.

What I learned

  • RBAC at the database layer (RLS) saved me months of bug-hunting compared to enforcing it in the app.
  • Lawyers don't read dashboards. They want one alert in Slack with the right action button.
  • The hardest part of ticketing isn't the UI, it's deduplication across three input channels.

Stack

Next.jsTypeScriptTailwindSupabasePostgresSlack APIGmail API