Skip to content
All work

Project 01 of 04

Al Bahja

A procurement platform with an AI inbox for supplier email.

Timeline
Jun 2026 – Present
Status
In development
Platform
Web
Al Bahja · staff dashboard
Al Bahja procurement dashboard with pending approvals, a requisitions-by-status chart and recent requisitions, overlaid with a request's supplier quote comparison.

Overview

Al Bahja is the internal procurement platform for Al Bahja Group in Oman. Staff raise requisitions, take them through General Manager and Purchase Head approval, request quotes from suppliers, compare them side by side and raise purchase orders. Local purchases, recurring daily rate contracts, freight, shipment tracking and supplier billing run in the same system.

At its centre is an AI inbox. A worker polls the shared Outlook mailbox and queues each new email, then an agent links the reply to the goods or freight RFQ or purchase order it answers, pulls quoted prices, lead times and Incoterms into structured rows, reads PO acknowledgements and objections, and drafts a reply. Nothing is sent automatically: a buyer reviews every draft.

I've been building it at Heizen since June 2026, across the Next.js staff app, the NestJS API and the email agent.

Built forAl Bahja Group's procurement team: requesters, buyers, General Managers and Purchase Heads.

What it does

  1. Requisitions with a General Manager and Purchase Head approval ladder, revision threads and an audit trail.
  2. RFQs, side-by-side quote comparison and purchase orders sent to suppliers for acknowledgement.
  3. An AI inbox that matches supplier emails to RFQs and POs, extracts quotes from emails and attachments, and drafts replies for review.
  4. Local purchases, daily rate contracts, freight RFQs and POs, and shipment tracking.
  5. Supplier onboarding, and supplier discovery across B2B marketplaces.
  6. Reports on spend, categories, supplier performance and procurement P&L.

How it's built

Interface
  • Next.js
  • TypeScript
  • Tailwind CSS
API
  • NestJS
  • Prisma
  • PostgreSQL
AI & email
  • Vercel AI SDK
  • Claude
  • Gemini
  • Microsoft Graph
Infrastructure
  • AWS SQS
  • Docker
  • Turborepo