Home
Woocommerce

Connecting WooCommerce to WhatsApp: what to automate first

A priority order for WooCommerce WhatsApp automations, which store events trigger them, which Meta category each message falls into, and the technical details that keep webhooks reliable.

  • 11 October 2026
  • 8 min read
  • Facts verified 12 October 2026

Key takeaways

TL;DR: Start with the messages customers already expect: order confirmation (or COD confirmation), then shipping updates, then a support inbox that can look up orders. These are utility or service messages and cost little. Add marketing automations such as cart recovery only after the basics run cleanly and your opt-in is in place.

  • WooCommerce webhooks fire when orders, products, coupons or customers are created, updated or deleted. Carts are not on that list, so cart recovery needs extra tooling.
  • WooCommerce sets cash-on-delivery orders to Processing by default until payment is collected.
  • WooCommerce disables a webhook after more than five consecutive failed deliveries. Your endpoint must answer fast with a 2xx status.
  • Order confirmations and shipping updates are utility examples in Meta's guidelines (USD 0.0036 per delivered message in Egypt). Cart reminders are marketing (USD 0.0644).
  • Meta does not translate templates. Submit Arabic and English versions separately.

The priority list

PriorityAutomationWooCommerce triggerWhatsApp messageMeta category
1Order or COD confirmationOrder createdOrder summary with confirm, change address and cancel buttonsUtility
2Shipping and delivery updatesOrder status change, or a tracking number added by your shipping plugin"Your order is on its way", tracking linkUtility
3Support inbox with order lookupCustomer messages youAgent or bot replies, order status on requestService
4Payment problem noticeOrder status "Failed" or "Pending payment"Neutral notice with a link to retry paymentUtility, if non-promotional
5Cart recoveryCart-tracking plugin or checkout captureReminder with link to cartMarketing
6Campaigns (back in stock, offers)Product or segment eventsOffer to opted-in customersMarketing

Categories follow Meta's examples: order confirmations and shipping updates are utility, cart-abandonment reminders are marketing, and mixing utility with promotional content makes a template marketing (Meta, template categorization).

1. Order and COD confirmation

This is the highest-value first step for Egyptian stores that ship cash on delivery. Send it on order creation, ship only confirmed orders, and write the result back to the order. The full flow, template wording and cost example are in the COD confirmation playbook.

WooCommerce sets COD orders to "Processing" until payment is collected (WooCommerce, COD). "Processing" alone does not tell the warehouse whether the customer confirmed. Add an order note or a custom status for "Confirmed on WhatsApp".

2. Shipping updates

WooCommerce's default statuses are Draft, Pending payment, Processing, Completed, On hold, Failed, Cancelled and Refunded (WooCommerce, order statuses). There is no built-in "Shipped" status, so stores either use "Completed" as the shipped signal or add a custom status through a plugin. Pick one and trigger the shipping template from it. Include the courier's tracking link if you have one.

3. Support inbox with order lookup

When customers write "Where is my order?", an agent or bot that can read the order by phone number or order ID answers in one message. These replies are service messages: from 1 October 2026 they are free up to 1,000 per number per month, then billed at the service rate, which equals the utility rate in Egypt (Meta pricing, October 2026 changes). For bots, see AI auto-reply for support.

4. Payment problem notices

For orders paid by card or wallet that end in "Failed" or stay in "Pending payment", a short, neutral notice with a retry link helps the customer finish what they started. Keep it free of offers so it stays utility.

5 and 6. Marketing automations

Cart recovery and campaigns come last because they need marketing opt-in, cost about 18 times more per message in Egypt, and are subject to Meta's per-user marketing limits. WooCommerce's built-in webhook topics cover orders, products, coupons and customers (WooCommerce, webhooks); an abandoned cart is not an order, so you need a cart-tracking plugin or a checkout form that captures the phone number early. See abandoned-cart recovery.

Opt-in at checkout

Add a checkout field that records consent, worded so it names your store and says messages will come on WhatsApp, as Meta requires (Meta, opt-in). Store it in the order and customer record. Keep marketing consent as a separate, unticked box.

Technical notes for developers

Webhooks

  • Topics. WooCommerce can send webhooks when orders, products, coupons or customers are added, edited or deleted, plus action-based topics; extensions can add more (WooCommerce, webhooks).
  • Signature. The webhook secret is used to generate a hash of each delivery, sent in the request headers. Verify it before trusting the payload. If left blank, the secret defaults to the API user's consumer secret.
  • Failures. WooCommerce disables a webhook after more than five consecutive delivery failures. Anything other than 2xx, 301 or 302 counts as a failure.

Reliability checklist

  • Respond with 200 immediately; do the WhatsApp send in a background queue.
  • Make handlers idempotent: the same order event can arrive more than once. Key on order ID plus event type.
  • Normalize phone numbers to international format (for Egypt, +20 followed by the mobile number without the leading 0).
  • Check opt-in and opt-out status before every send.
  • Use only approved templates for business-initiated messages; map each to a language.
  • Write delivery status and customer replies back to the order as notes.
  • Monitor webhook status in WooCommerce so a disabled webhook does not go unnoticed.

Templates

Template names use lowercase letters, numbers and underscores; each parameter needs an example value; Meta does not translate templates; review can take up to 24 hours (Meta, templates overview). A sensible starter set:

  • order_confirmation_cod_ar, order_confirmation_cod_en
  • order_shipped_ar, order_shipped_en
  • payment_failed_ar, payment_failed_en

Cost snapshot

For a store with 2,000 orders a month, one confirmation and one shipping update each: 4,000 utility templates × USD 0.0036 = USD 14.40 in Meta's message charges (Meta pricing). Volumes are illustrative; your subscription and tax are extra.

For the step-by-step connection guide, see the WooCommerce integration page.

FAQ

Can WooCommerce send WhatsApp messages on its own?

No. WooCommerce sends webhooks or runs plugin code when store events happen. A WhatsApp Business Platform connection, direct or through a provider, turns those events into approved WhatsApp messages.

Which WooCommerce event should trigger the order confirmation?

Order creation. For COD orders, WooCommerce marks them "Processing" right away, so do not treat "Processing" as "confirmed by the customer". Record confirmation separately.

Why did my WooCommerce webhook stop sending?

WooCommerce disables a webhook after more than five consecutive failed deliveries, meaning responses other than 2xx, 301 or 302. Fix the endpoint, then reactivate the webhook in WooCommerce settings.

Last reviewed 2026-10-12.

Related: /integrations/woocommerce · /pricing · /integrations · /developers · /compare · /blog

Sources
Get started

Start talking to customers the official way

Create your account and test everything free for 7 days.

  • Prices shown openly by country

  • 7-day free trial