WABridges
Guide

Order tracking,
right in WhatsApp.

Customers text your WhatsApp number to get live order status. Your backend handles the lookup. No app install, no login — just type an order number and get an instant reply.

"Where's my order?" is the single most common support ticket for any e-commerce business. Most of them can be resolved without a human agent — if you give customers a fast, low-friction way to check.

WA Bridges lets you build an order-tracking bot in a few hours. Customers message your WhatsApp number with an order number. Your webhook looks it up, hits your database or fulfillment API, and replies instantly with status, estimated delivery, and a tracking link.

How it works

1
Provision a support bridge
Create a bridge and pair it with a customer-facing WhatsApp number. Give customers this number as your order-tracking contact.
2
Receive messages as webhooks
Every inbound message from a customer hits your webhook endpoint as JSON. You get the sender's phone number and message body.
3
Look up the order
Parse the order number from the message, query your database or fulfillment API (Shopify, WooCommerce, custom), and fetch status and tracking data.
4
Reply instantly
POST the order status back via the WA Bridges send API. Include current status, estimated delivery date, and a carrier tracking link.

What you can build

📦
Status lookup
  • "Where's order #12345?"
  • Current fulfillment status
  • Carrier and tracking number
  • Estimated delivery window
🔔
Proactive updates
  • Shipped notification
  • Out for delivery alert
  • Delivery confirmed
  • Return initiated
↩️
Returns & issues
  • "How do I return this?"
  • Return label via WhatsApp
  • Refund status update
  • Exchange confirmation
🤖
Escalation fallback
  • Unrecognized order number
  • Complex issue flag
  • Route to human agent
  • Ticket creation via webhook

Paste into Claude, ChatGPT, or any AI assistant

Copy this prompt → paste into any AI assistant → get working code in your language.
I want to build a WhatsApp order tracking bot using WA Bridges.

My stack: [Node.js / Express — update this]
My e-commerce platform: [Shopify / WooCommerce / custom DB — update this]
My setup:
- WA_API_KEY: my WA Bridges API key
- Bridge customer_ref: "orders"
- SHOP_API_KEY / DB connection available as env vars

I need:
1. A POST /webhook endpoint that receives inbound WhatsApp messages
2. Extract any order number (e.g. #12345 or plain 12345) from the message body
3. If an order number is found: query [my platform] for status, carrier,
   tracking number, and estimated delivery
4. Reply to the customer with a formatted message:
   "Order #12345 — Shipped via FedEx
    Tracking: 123456789
    Estimated delivery: Thu, Jun 26
    Track here: https://..."
5. If no order number found: reply with "Hi! Send me your order number
   (e.g. #12345) and I'll look it up for you."
6. If order not found: reply with a friendly "not found" message and
   suggest they contact support.

Please read the WA Bridges API docs before writing:
https://wabridges.com/docs.txt

Respond 200 immediately, do lookups async. Keep it under 80 lines.

Why WA Bridges