Skip to content
achacon.dev
All work

2026

Self-updating packing slips

A watcher that turns a product-page edit into a corrected packing slip in ShipStation, with no human in the loop.

Role
Sole engineer: automation service and deployment
Stack
PythonwatchdogLLM APIWooCommerceShipStation APIPowerShellTask Scheduler
  1. Trigger: 01Product editedSomeone edits the catalogue
  2. Process: 02WatcherPython service detects the diff
  3. Process: 03Slip regeneratedChange translated into markup
  4. Output: 04Pushed to ShipStationNew orders print the current slip
  5. Output: 05Audit passSlips verified against the catalogue
Edit a product and the corrected paperwork is waiting before anyone asks.

The problem

Somebody kept the packing slips current by hand. Change a product on the store and you had to remember to change the matching slip template. Forget, and the wrong paperwork shipped with the order.

What I built

  • A Python service watches the WooCommerce product source. Nobody files a ticket to tell it an edit happened; it sees the diff itself.
  • A language-model step turns that diff into corrected slip markup. It replaced one hand-maintained template per product.
  • It pushes the result into ShipStation. Orders placed after an edit print the current slip without anyone touching them.
  • The whole thing runs unattended as a scheduled Windows task, with logging and a separate audit script that checks generated slips against the catalogue.
  • Two brands share the pipeline, with separate output paths.