Skip to content
← All work
Customs Automation · PPKEK · 2024–2026

INSW Automation Studio Pro

From 4 hours of manual customs clicking to 17 minutes, unattended.

Illustrative product mockup · representative data, no sensitive content

4h → 17m Daily workflow time
85+ Live production runs
0 Unrecovered failures
650+ Unit tests · 14-job CI
Watch a run · replay

A production run, line by line.

The problem

Submitting PPKEK declarations through the INSW portal meant half a day of repetitive, error-prone clicking — row after row, form after form — for a single operator and a 9-person team.

The approach
  • Selenium + Chrome DevTools Protocol drive the real portal with a 3-tier retry that recovers from popup glitches mid-run.
  • A FastAPI dashboard streams live run progress over SSE; every batch writes an XLSX audit trail.
  • Domain logic encodes real field meaning — Rupiah parsing, BC declarations, SweetAlert dismissal in Bahasa.
  • Observability via Prometheus + Grafana; security via gitleaks, bandit, dependency pinning.
What it proves
  • ~92 hours/month returned to the business
  • 6,500+ LOC core engine, AI-co-built (ChatGPT · Claude · Copilot)
  • Proprietary license with anti-theft enforcement
Next project

SahamQuant