Node.js
WooCommerce webhook
Personal bridge (unpublished). Connects a relative's WooCommerce store to a messaging service: order events and catalog lookup over chat.
Private use
What it solves
WooCommerce does not notify on WhatsApp by itself. created/updated webhooks: on processing, customer confirmation plus influencer-coupon commission; on completed, tracking (courier + number). GET /products builds price copy (simple or variation/decant) for the bot. Redis blocks duplicate sends; if Redis dies, LRU with a circuit breaker.
Stack
- Node.js
- Express
- WooCommerce
- Redis
- Fly.io
Infra
Express on Fly.io (DFW, auto-stop). Redis + LRU. WooCommerce REST for catalog. Messages go to a messaging API (WhatsApp / templates); that service is documented separately.