Connecting a pallet network to a warehouse management system
A webhook- and schedule-driven integration that keeps a haulier's pallet network and its cloud WMS in step, from consignment arrival to proof of dispatch.
- Sector
- Haulage, pallet freight and warehousing
- Engagement
- Design and build, September 2023 to 2024
- Technology
- Python, Flask then Django, CockroachDB, AWS (ALB, EC2, S3, EventBridge, SNS, Secrets Manager), Nginx, SOAP and REST APIs, webhooks, Microsoft 365 integration, Chrome extension
The challenge
The client receives and ships pallets for a national pallet network, whose own platform is the source of truth for consignments and delivery runs. Inside the warehouse it uses a cloud WMS with handheld scanners. Staff were re-keying consignments between the two systems, building pick lists by hand in the right loading order, and chasing discrepancies by email, which was slow and error-prone.
What we built
- Inbound sync: new and changed consignments are pulled from the network's SOAP API every few minutes and created or updated in the WMS as expected receipts.
- Arrival handling: when a pallet is confirmed on a handheld scanner, a webhook fires the flow. It allocates stock to the order, updates the network that the pallet has arrived, and emails any discrepancies.
- Groupage outbound: delivery runs are pulled in and the WMS pick lists are built in drop order, last on first off, with route and drop sequence written back to the pallets.
- Trunk outbound: a Chrome extension adds a “good to go” button to the network's web portal, so staff can start a trunk pick list at the right moment.
- Dispatch confirmation: scan-out events in the WMS mark orders as shipped and report the scans back to the network, including proof of delivery.
- Management site: an authenticated admin site for monitoring the integration and re-running failed items.
- Microsoft 365: an Office 365 connector for sending discrepancy and exception emails, with tokens held securely in AWS Secrets Manager.
Engineering approach
- Event-driven, not polling-only: AWS EventBridge schedules the pulls and publishes them through SNS to a verified endpoint, while the WMS webhooks (receiver, put-away, order, pick) drive the real-time steps.
- Idempotent by design: each consignment is stored on arrival and compared on every update, so a repeated webhook or a re-pulled record changes nothing, and genuine differences are applied to the right orders, pick jobs and consignments.
- Fit for a warehouse floor: scans from the client's existing handhelds are replicated to the network, with a unique scanner ID kept for the audit trail.
- Tested against reality: a structured QA programme ran the integration against the vendors' sandboxes with logged test results and helpdesk tickets for each issue, between January and April 2024.
- Secure by default: credentials in Secrets Manager, HTTPS behind a load balancer, and breached-password checks on the admin site.
The result
A hands-off flow from consignment creation to proof of dispatch. The first release candidate was ready for QA in March 2024, and the integration replaced manual re-keying between the two systems.