Skip to main content

Design WhatsApp Order Updates Around Delivery Status

Define the business trigger, message receipt, and staff fallback for a WhatsApp notification workflow.

A service notification on a phone sits beside a takeaway bag and the question Did It Actually Arrive?

A pickup order is ready on the restaurant dashboard. The customer says they never got the WhatsApp message. Staff already know what to do with the food. Now they need to answer a second question: did the notification reach the customer?

Model these as separate histories. The order record says what happened to the order. The notification record says what happened to the message. One status should never erase the other.

Follow a pickup alert from order to receipt

When order 482 becomes ready, write an intent tied to that order and the specific status event. Save the destination channel, purpose and current attempt. At send time check the recipient and template requirements for your integration. If the provider accepts the request and returns a message ID, save it. Update delivery from the provider’s receipt when one is available.

What you knowWhat the staff view can say
Order ready, intent pendingOrder ready · notification queued
Provider accepted the requestOrder ready · message accepted
Provider reported deliveryOrder ready · delivered
Confirmed failureOrder ready · delivery failed
Worker lost the response and the provider outcome is unclearOrder ready · delivery needs review

The Pass the Menu notification code makes the accepted-versus-delivered distinction explicit and has a separate review state for unknown outcomes. The table above is an example of how to apply that distinction to a customer pickup alert. The exact receipt states depend on the provider.

Prevent duplicate and stale updates

Use the same event identity for a retry. If an operator presses Send again after a network timeout, show which message they’re retrying and the last known attempt. When a receipt arrives late, link it by provider message ID. Let a later duplicate acceptance event leave the confirmed delivery intact. If a message outcome remains unknown, reconcile it before submitting a second copy.

Check order state before sending a delayed update. “Ready for pickup” may no longer be useful after the customer already collected the food. Set out what should happen in that case and make suppression visible so staff can distinguish a skipped alert from a failed one.

For a production review, try a normal delivery, a rejected template and a delayed receipt. Then simulate the loss of a provider response after send. The kitchen should still see the correct order state in all four cases.

Sources

Build a project

© 2026 All rights reserved.