A same-day courier lives on its integrations. Orders arrive from pharmacies and hospitals in whatever shape their systems produce, and every one has to land in dispatch with the right service, the right pickup window and the right delivery cutoff, or a driver shows up at the wrong time.
This courier serves healthcare customers. Its CEO’s review sums up what integrations used to take: “we had to micromanage the integrations”. One of the courier’s customers, a hospital, had asked whether the courier could take orders straight from the hospital’s own system, and he wanted developers who could build that kind of connection and keep it running.
The hospital’s orders, over a secure FTP integration
The hospital’s system drops a file of orders into a secure FTP folder each day. Before anything else, we worked through the hospital’s integration questionnaire and spec sheet and checked every field against the courier’s sample files. Then we agreed the rules with the courier: one file a day, one row per order, never a duplicate of an order already in dispatch, and clear handling for any missing field.
Each run checks the folder first and stops if nothing new has arrived. Otherwise it picks the newest valid file, reads it, and checks every row: required fields present, the right service for that account and service type, the pickup window, delivery cutoff and allowed service days applied, package counts set. Each order is created with the source file and line number in its reference, so anyone can trace an order back to the exact row it came from. Rows that can’t become orders are logged with the reason and emailed to staff to enter by hand, and the finished file is renamed so it is never read twice.

Screens in this post are mockups with made-up names and numbers. The client’s real data stays private.
Before go-live we tested the ways a real file goes wrong: missing fields, invalid service types, duplicates, odd quantities, weekend restrictions, special characters, bad headers, and runs with no file at all. Since then the hospital has asked for changes, starting with turning notifications on by default for every order that comes in by file.

A survey text that knows the driver
The courier also wanted feedback it could act on. Its delivery texts carried one generic survey link, so answers couldn’t be tied to a delivery. Now proof of delivery on an eligible service triggers a survey text with the order, driver and customer carried as hidden fields. The CEO set the constraint early: “we can’t share any patient information in this workflow.” None is. We first built it in Google Apps Script, then moved it onto the courier’s existing integration platform for reliability, because those texts are time-sensitive.

What changed
On our results form the CEO put order management for the hospital’s orders at about two hours a day before and fifteen minutes now, with about 1,000 orders a month coming in through the secure FTP integration. That’s about 1.75 hours back every day, for a team that used to spend it managing orders by hand.

The work is ongoing. After the first build went in, he wrote: “I appreciate the collaboration and responsiveness.” His review is on our wall. If your team has become the go-between for every system you connect, this post on being the integration describes the job we help with.

Dealing with something like this?
Got it. You'll get an email back.
