← Blog

·

WhatsApp for logistics: tracking updates and delivery notifications

Updated on November 4, 2026

To send delivery notifications on WhatsApp, create one utility template for each tracking stage (order shipped, out for delivery, delivery attempt failed, delivered) and send the right template whenever the carrier updates the order status. These are transactional messages about a customer’s order, so they belong to the utility category, which costs BRL 0.0350 (Brazilian reais) per delivered message in Brazil. Meta’s Template Library already has ready-made templates for these stages.

This guide covers the message sequence, sample copy, how to connect carrier tracking to sending and what to do when a delivery fails.

Delivery notification stages

StageTriggerContentSuggested buttons
Order shippedLabel created or pickup doneCarrier, tracking code and estimated dateTrack order (URL)
DelayEstimated delivery changedNew estimate and reason, if anyTrack order (URL)
Out for delivery“Out for delivery” statusExpected today, time window if availableTrack (URL), I won’t be home (quick reply)
Failed attempt“Recipient absent” or “address not found” statusWhat happened and next stepsReschedule (quick reply), Fix address (quick reply)
Ready for pickupOrder at a pickup point or branchAddress, hours and deadlineView on map (URL)
Delivered“Delivered” statusConfirmation and a channel for problemsI had a problem (quick reply)

Don’t send them all. Shipped, out for delivery, failed attempt and delivered cover what the customer wants to know. Intermediate statuses (“in transit to the distribution center”) tend to add more noise than value.

Why it’s utility, and what turns it into marketing

The template categorization documentation defines utility as non-promotional and specific to a user’s transaction or account. An order update is the textbook case. But mixed content becomes marketing: if the “delivered” notice includes “enjoy 10% off your next purchase”, the whole template is classified as marketing and the cost in Brazil goes from BRL 0.0350 to BRL 0.3217.

Keep cross-selling and discount-backed review requests out of tracking templates. For category details, see how Meta categorizes templates.

Want to try it while you read? Create a Vectalk account and send your first message through the official API. Create free account →

Start with the Template Library

Meta’s Template Library has utility templates for orders and deliveries, with use cases such as SHIPMENT_CONFIRMATION, DELIVERY_UPDATE, DELIVERY_FAILED, DELIVERY_CONFIRMATION, ORDER_DELAY and ORDER_PICK_UP. The documentation notes that if you customize the template, it has to go through review before you can send it.

If you’d rather write from scratch, sample bodies:

  • Shipped: “Hi {{1}}! Your order {{2}} has shipped with {{3}}. Estimated delivery: {{4}}. Track it with the button below.”
  • Out for delivery: “{{1}}, your order {{2}} is out for delivery and should arrive today. If nobody will be at the address, tap \”I won’t be home\”.”
  • Failed attempt: “{{1}}, we tried to deliver order {{2}} today, but {{3}}. Choose an option below to reschedule or fix the address.”
  • Delivered: “Order {{2}} delivered, {{1}}. If anything arrived wrong or damaged, tap \”I had a problem\”.”

Utility templates accept a text, image, video, document or location header, a body of up to 1,024 characters and up to 10 buttons, according to the utility templates documentation. For pickup points, a location header shows the pin on the map.

Carrier integration

The technical flow has four parts:

  1. Status source. A webhook from, or periodic polling of, the carrier’s API, your shipping aggregator or your e-commerce platform.
  2. Normalization. Each carrier uses its own status names. Map them to yours (shipped, out_for_delivery, failed, delivered).
  3. Sending rule. Decides whether a change triggers a message and which template to use.
  4. Send and record. Calls the WhatsApp API, stores the wamid and prevents duplicates.

Node.js example:

const MAP = {
  // carrier status (illustrative names) -> internal stage
  POSTED: 'shipped',
  PICKED_UP: 'shipped',
  OUT_FOR_DELIVERY: 'out_for_delivery',
  RECIPIENT_ABSENT: 'failed',
  ADDRESS_NOT_FOUND: 'failed',
  DELIVERED: 'delivered',
};

const TEMPLATES = {
  shipped: 'order_shipped',
  out_for_delivery: 'order_out_for_delivery',
  failed: 'delivery_failed',
  delivered: 'order_delivered',
};

export async function onCarrierStatus(event, db) {
  const stage = MAP[event.status];
  if (!stage) return; // intermediate status: no notice

  const order = await db.orders.find(event.tracking_code);
  if (!order?.whatsapp_optin) return;

  // Idempotency: one message per order and stage
  const key = `${order.id}:${stage}`;
  if (await db.notifications.exists(key)) return;

  const body = {
    messaging_product: 'whatsapp',
    to: order.phone,
    type: 'template',
    template: {
      name: TEMPLATES[stage],
      language: { code: 'en_US' },
      components: [
        {
          type: 'body',
          parameters: [
            { type: 'text', text: order.first_name },
            { type: 'text', text: order.number },
          ],
        },
      ],
    },
  };

  const r = await fetch('https://apis.vectalk.com.br/api/messages', {
    method: 'POST',
    headers: {
      Authorization: `Bearer ${process.env.VECTALK_TOKEN}`,
      'Content-Type': 'application/json',
    },
    body: JSON.stringify(body),
  });
  const json = await r.json();
  await db.notifications.save(key, { wamid: json.messages?.[0]?.id, status: r.status });
}

Adjust each template’s parameters (the “shipped” one also has carrier and estimate). Three precautions that prevent complaints:

  • Idempotency. Carriers sometimes resend the same status. The order + stage key prevents duplicate notices. The article on integration architecture covers queues, retries and idempotency in depth.
  • Event order. If “delivered” arrives before “out for delivery”, don’t send the late notice.
  • Timing. Statuses logged overnight can wait until morning to become a message, except “out for delivery”.

If you use Shopify or WooCommerce, the articles Shopify + WhatsApp API and WooCommerce + WhatsApp Business API show where to capture order events. For ERPs, see WhatsApp API and ERP integration.

When delivery fails

A failed attempt is where WhatsApp saves the most: one reply from the customer avoids a second wasted trip.

When the customer taps “Reschedule” or “Fix address”, the reply opens the 24-hour customer service window. Inside it you can:

  • Request their location. Send an interactive location request message; the customer taps “Send location” and the webhook brings latitude and longitude. The step-by-step is in how to request and receive location.
  • Offer dates. An interactive list with the next available days.
  • Collect full details. Apartment number, landmark and the name of whoever will receive it, as text or in a WhatsApp Flow.

Quick-reply buttons arrive in the webhook as a button type message, with the button text and the context of the original message, so you know which order it refers to. See also the article on message status webhooks to track delivery and reads of your notices.

Opt-in and who sends

The WhatsApp Business Messaging Policy requires the recipient’s opt-in to receive messages from the business. In e-commerce, the natural place is checkout: a phone field with the text “I want to receive order updates on WhatsApp”.

If the sender is the carrier or a logistics operator rather than the store, the customer needs to recognize who’s writing. Make clear in the opt-in and in the template copy which company the message is from and which store the order belongs to.

Cost per order

For recipients in Brazil, each delivered utility template costs BRL 0.0350 since October 1, 2026, including when sent inside the customer service window. With four notices per order (shipped, out for delivery, delivered and, in some cases, failed attempt), Meta’s cost is between BRL 0.105 (three notices) and BRL 0.14 (four notices) per order. Free-form replies inside the window are service messages, with an allowance of 1,000 per number per month. Rates vary by country.

At high volumes, utility has volume tier discounts. Run your own numbers in the pricing calculator.

How to do it with Vectalk

Vectalk connects the store’s or carrier’s number to the official WhatsApp API. In the dashboard, the Template Library helps you create the utility template for each stage; sending goes through the POST /api/messages endpoint with the same payload as the Cloud API, and message and status webhooks arrive in Meta’s format. The dashboard logs help you check what was sent.

The sending rule, status normalization and handling of replies live in your system or the tool connected to the API: Vectalk has no inbox or tracking automation in its dashboard. The cost of delivered messages comes out of your prepaid Vectalk balance. See the template documentation or create your account.

Frequently asked questions

Is a tracking notice utility or marketing?

Utility, as long as it only covers the customer’s order and has no promotional content. If it includes an offer or coupon, it becomes marketing.

Can I share the driver’s live location?

Not through a template. A location header shows a fixed point, and the location templates documentation states that live location is not supported. Use a tracking button linking to your own page.

How many notices per order?

There’s no fixed number. In practice, three or four notices at the stages that matter to the customer avoid blocks from overload.

Do I need opt-in for delivery notices?

Yes. The policy requires opt-in for any business-initiated message. Collect it at checkout, with clear copy about order updates on WhatsApp.

The customer replied to the notice. Can I chat normally?

Yes. The reply opens the 24-hour window, and you can send free text, lists, buttons and a location request without a template.


Official sources checked on November 4, 2026: Template categorization, Utility templates, Template Library, Location request messages, Location templates, WhatsApp Business Messaging Policy, Pricing, Vectalk: Template, Vectalk: Webhooks.

Put your business on the official WhatsApp

Create your account, connect your number to the official API (you can keep the app with coexistence) and start serving customers and sending messages.