Check Delivery Zones by Postcode With AI

Short answer

Compare published postcode coverage across branches and flag overlapping, missing, or conflicting delivery rules.

Try Assistly Open consoleAssistly · 7 min read

Two documents, one postcode, two answers. The zone sheet export says "11533,HLP,Z4,9" and the coverage policy says postcodes 11511 through 11599 are served by Nasr City, overriding the prefix rule. Priya S., who plans dispatch for a three-branch courier outfit in Cairo, found the row after a driver spent a morning delivering a Nasr City parcel from Heliopolis. The row was never wrong in either file. It was wrong in one of them, and nothing existed to say which.

Assistly can run that comparison properly: read the coverage policy and the authorized zone sheet, map every postcode to a branch, and flag overlapping, missing and conflicting rules with the exact line each answer came from. It drafts the result as an Excel or Word file. It does not confirm that any delivery will happen, and it does not override the branch manager, whose call it is when two sources disagree.

The two sources, and which one governs

You need the coverage policy (the document the business publishes) and the authorized zone sheet (the export from dispatch), plus one sentence written down before any matching: which source governs which field. A typical Cairo setup: the policy controls branch assignment, the sheet controls slot limits. Paste both in the same message as the postcode list, and record each source's version or effective date, because last year's policy is not this year's and the assistant cannot guess which is live. If a branch appears under different names, compare the published business listings with the location register to verify which storefront the rule applies to.

Normalize without destroying

Keep postcodes as text from the first paste, apply one country's formatting rule per run, and never delete the original column; keep an untouched copy of the raw list beside the normalized one. A value that cannot be normalized is marked unparseable and left for review, not forced into a pattern. This sounds fussy until you meet the row a CSV round-trip turned into "11831.0": nothing matches it, and a sloppy run would drop it instead of flagging it.

The run order

Start with a test batch of ten to twenty postcodes whose answers you know, ugly ones included: one overlap, one postcode in neither source, one damaged value. If the test batch comes back wrong, fix the instructions before the real list goes in. Run the full list in batches sized to avoid truncation, counting rows in against rows out every time, and check converted documents against the originals, because tables in converted text can lose column alignment. For exact ID matching or verified totals between a supported export and your sheet, Assistly's comparison tool handles that step.

A prompt to copy into Assistly

Act as a logistics data checker. Using only the policy excerpt and zone sheet rows below, return one row per input postcode with: original postcode as text, normalized postcode, matched branch code, zone identifier, source rule reference, slot limit, excluded days, requested date if given, status, reviewer note. Statuses: matched, conflict, unlisted, excluded for date, unparseable. Quote the rule text behind every match. Do not choose between conflicting rules unless the policy states which governs, and quote that line when it does. Keep leading zeroes and flag damaged values rather than dropping them. Never state or imply that a delivery will occur. End with a count reconciliation: input rows, each status count, total.
Try this task

See it in practice

  • The postcode two rules claim

    What to give Assistly. Policy excerpt: "Coverage Policy v4, effective 1 September. Rule 2.1: Heliopolis (HLP) serves prefixes 113 and 115. Rule 2.4: Nasr City (NSC) serves postcodes 11511 through 11599 and all of prefix 116; these codes override Rule 2.1." Zone sheet rows: "11511,HLP,Z1,14", "11533,HLP,Z4,9", "11611,NSC,Z6,12", "11831,HLP,Z2,10". A twelve-postcode test list stored as text, including 11511, 11533, 11611, 11831 and 11451. Governing sentence: policy controls branch assignment.

    What Assistly returns. Ten rows matched, 11511 to HLP Z1 and 11611 to NSC Z6 among them, each citing its source and slot limit. One conflict: 11533, where Rule 2.4 assigns NSC but the sheet says HLP Z4, both statements quoted in the reviewer note. One unlisted: 11451, prefix 114, in neither source. The summary reconciles: twelve in, ten matched, one conflict, one unlisted. Because the policy does state Rule 2.4 overrides 2.1, the note applies it: NSC governs the branch for 11533 while the sheet's slot limit of 9 stands, pending the branch manager's written call on the discrepancy.

    How to verify it. Open the policy at Rule 2.4 and confirm the range 11511 to 11599 includes 11533. Filter the sheet for 11533 and confirm it really reads HLP Z4, which means sheet and policy disagree. Pick 11511 and confirm the sheet row matches the result. Then count: ten plus one plus one is twelve. The conflict stays open for the branch manager; the check reported it, it did not settle it.

  • The row Excel chewed, and the Friday nobody saw

    What to give Assistly. The Maadi appendix: "Zone Z8, postcodes 11431 through 11439, is not dispatched on Fridays; Z8 slots are limited to six per day." Sheet row: "11431,MAD,Z8,6,excluded_days:Fri". Six postcodes with requested dates: 11431 for Thursday 18 September, 11431 for Friday 19 September, 11561 for Thursday 18 September, 11835 for Thursday 18 September, 11439 for Friday 19 September (arriving as "11439.0" in the pasted rows), and 11231 for Thursday 18 September.

    What Assistly returns. Three matched: 11431 on the Thursday to MAD Z8 with the six-slot limit cited, 11561 to HLP, 11835 to HLP Z2. One excluded for date: the second 11431, Friday 19 September, citing the appendix; the note adds only that the branch manager may offer the next available weekday. One unlisted: 11231, prefix 112. One unparseable: "11439.0", flagged with its reason instead of dropped, fix noted as re-import as text. Counts: six in, three matched, one excluded, one unlisted, one unparseable.

    How to verify it. Open the appendix and confirm the Friday exclusion and the six-slot limit. Check a calendar: 19 September 2025 is a Friday, 18 September a Thursday, so the exclusion fired on the right day. Find "11439.0" in the original file and confirm the postcode column was numeric, then re-run that row from a text-format copy. Count again: three plus one plus one plus one is six, nothing dropped.

Hand the conflicts to a person

The handoff decides whether any of this gets used. Send the branch team the result file, the short list of conflicts and unlisted postcodes with the exact rule text beside each, and which source governed at which version. Ahmed V. at Heliopolis gets seven specific questions, not a request to review the zones: one row per postcode, one question each, answered in writing in a column the next run can read. The decision stays with the person who owns the branch; the assistant produced the evidence, not the ruling. Continue with a related workflow: Check Delivery Appointments vs Dock Schedules

Questions and answers

Can Assistly confirm a postcode will be delivered?

No. The check reports what your policy and zone sheet say about a postcode and where they conflict or go quiet. Whether a parcel actually moves depends on capacity that day and decisions the documents do not hold, so keep the output phrased as coverage status, and pass every conflict and unlisted row to a person who can answer it.

Why did my postcode column grow .0 on some rows?

The column was numeric somewhere along the way, and an export or CSV round-trip wrote the value as a decimal. Set the column to text before pasting, keep an untouched copy of the raw list, and treat any damaged value as unparseable until re-imported cleanly. The untouched original proves the postcode was correct before the file mangled it.

Two rules cover the same postcode. Who wins?

Whoever your governing sentence says wins. Write it before the run: if the policy states that specific ranges override prefixes, the assistant applies that and cites the line. If the policy is silent, the row stays a conflict with both rules quoted, and the branch manager decides in writing, recorded where the next run can read it.

How big a batch can I check at once?

Large inputs can be truncated, so test first, then run a few hundred rows at a time and count rows in against rows out every batch. If a batch returns fewer rows than you sent, rerun it in smaller pieces before anyone relies on the result, and keep the run date and source versions in each output file name.

Try the workflow in Assistly

Create an account