WhatsApp Order Notifications for E-Commerce — Integration Guide 2026
Email order notifications have a 20% open rate on a good day. WhatsApp notifications have a 98% open rate — and they're typically read within 3 minutes of delivery. For e-commerce businesses, this is the difference between a customer who feels informed and one who raises a support ticket.
In this guide, you'll learn how to send every type of WhatsApp order notification using the WapiConnect API.
Notification Types to Implement
- Order Confirmation — sent immediately after purchase
- Payment Confirmation — after payment is verified
- Order Shipped — with tracking number
- Out for Delivery — same-day heads-up
- Order Delivered — with review request
- Abandoned Cart — re-engagement after cart abandonment
- Return/Refund Update — status updates on returns
Step 1 — Create a Notification Service
// whatsapp-notifications.js
const WAPI_KEY = process.env.WAPICONNECT_API_KEY;
const WAPI_SESSION = process.env.WAPICONNECT_SESSION_ID;
async function sendWhatsApp(phone, message) {
const res = await fetch('https://api.wapiconnect.cloud/api/send-message', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-api-key': WAPI_KEY
},
body: JSON.stringify({
sessionId: WAPI_SESSION,
number: phone,
message
})
});
return res.json();
}
module.exports = { sendWhatsApp };
Step 2 — Order Confirmation Message
const { sendWhatsApp } = require('./whatsapp-notifications');
async function sendOrderConfirmation(order) {
const message =
`✅ *Order Confirmed!*
Hi ${order.customerName}! Your order has been placed successfully.
📦 *Order ID:* #${order.id}
💰 *Total:* ₹${order.total}
📍 *Deliver to:* ${order.address}
We'll notify you when it ships. Questions? Reply here!
— ${order.storeName}`;
await sendWhatsApp(order.customerPhone, message);
}
Step 3 — Shipping Notification with Tracking
async function sendShippingUpdate(order) {
const message =
`🚚 *Your Order is on Its Way!*
Hi ${order.customerName}! Great news — your order #${order.id} has been shipped.
🔍 *Tracking Number:* ${order.trackingNumber}
📦 *Courier:* ${order.courierName}
🗓️ *Expected Delivery:* ${order.estimatedDelivery}
Track your order: ${order.trackingUrl}
— ${order.storeName}`;
await sendWhatsApp(order.customerPhone, message);
}
Step 4 — Abandoned Cart Recovery
Send this 1–2 hours after cart abandonment. This alone can recover 10–15% of abandoned carts.
async function sendAbandonedCart(cart) {
const itemsList = cart.items
.map(i => `• ${i.name} — ₹${i.price}`)
.join('\n');
const message =
`🛒 *You left something behind!*
Hi ${cart.customerName}, you have items waiting in your cart:
${itemsList}
💥 Complete your order now and get *free shipping*:
${cart.checkoutUrl}
This offer expires in 24 hours. ⏰
— ${cart.storeName}`;
await sendWhatsApp(cart.customerPhone, message);
}
Step 5 — Delivery Confirmation + Review Request
async function sendDeliveryConfirmation(order) {
const message =
`📦 *Order Delivered!*
Hi ${order.customerName}! Your order #${order.id} has been delivered.
We hope you love it! If you have a moment, please leave us a review — it means the world to us:
${order.reviewUrl}
Any issues? Reply to this message and we'll sort it out immediately.
— ${order.storeName}`;
await sendWhatsApp(order.customerPhone, message);
}
Integrating with Your Platform
WooCommerce (WordPress)
Use WooCommerce order hooks to trigger WhatsApp notifications:
// In your functions.php or a custom plugin
add_action('woocommerce_order_status_processing', 'send_whatsapp_confirmation');
function send_whatsapp_confirmation($order_id) {
$order = wc_get_order($order_id);
$phone = $order->get_billing_phone();
// Call your Node.js service or use wp_remote_post to WapiConnect API directly
wp_remote_post('https://api.wapiconnect.cloud/api/send-message', [
'headers' => ['x-api-key' => WAPI_KEY, 'Content-Type' => 'application/json'],
'body' => json_encode([
'sessionId' => WAPI_SESSION,
'number' => $phone,
'message' => "Hi! Your order #{$order_id} is confirmed. Thank you!"
])
]);
}
Results You Can Expect
| Metric | ||
|---|---|---|
| Open Rate | 20% | 98% |
| Read Within 5 Min | ~5% | ~90% |
| Abandoned Cart Recovery | 3–5% | 10–15% |
| Support Ticket Reduction | Baseline | 30–40% fewer |
Add WhatsApp Notifications to Your Store Today
Start with 50 free message credits. No credit card required.
Start Free Trial