Integration Guide

Shopify WhatsApp Integration

Send WhatsApp Business messages from your Shopify store — order confirmations, dispatch alerts, COD verifications, and abandoned cart recovery — using the Zaptilo WhatsApp API. Built for Indian D2C brands and Shopify Plus stores who want lower per-message cost than Twilio or Wati.

Why Zaptilo for Shopify in India?

  • Pay-as-you-go INR pricing — from ₹0.04/message at volume
  • No monthly subscription — pay only for what you send
  • COD confirmation via WhatsApp reduces RTO for Indian D2C stores
  • India-based support and GST-compliant invoicing
  • Works with any Shopify plan including Shopify Plus

Approach 1: Shopify webhook + Zaptilo API

The simplest integration is a Shopify webhook that fires on order events and POSTs to your server, which then calls the Zaptilo API:

  1. Sign up at web.zaptilo.ai and get your API token
  2. Get your WhatsApp template approved (e.g. order_confirmation)
  3. Set up a webhook in Shopify Admin → Settings → Notifications → Webhooks
  4. Point it to a small Node.js / PHP / Python endpoint that calls Zaptilo
// Shopify Admin > Settings > Notifications > Webhooks
// Subscribe to: orders/paid
// URL: https://your-server.com/zaptilo-webhook

// Express handler:
app.post('/zaptilo-webhook', async (req, res) => {
  const order = req.body;
  const phone = '91' + order.customer.phone.replace(/\D/g, '').slice(-10);

  await fetch('https://web.zaptilo.ai/api/send/template', {
    method: 'POST',
    headers: {
      'Authorization': 'Bearer ' + process.env.ZAPTILO_TOKEN,
      'Content-Type': 'application/json',
    },
    body: JSON.stringify({
      phone,
      template: {
        name: 'order_confirmation',
        language: { code: 'en' },
        components: [{
          type: 'body',
          parameters: [
            { type: 'text', text: order.customer.first_name },
            { type: 'text', text: order.name },
            { type: 'text', text: '₹' + order.total_price },
          ],
        }],
      },
    }),
  });
  res.sendStatus(200);
});

Approach 2: Shopify Flow + custom HTTPS action

On Shopify Plus, use Shopify Flow with a "Send HTTP Request" action pointing to https://web.zaptilo.ai/api/send/template — no extra server needed. Add Bearer token in headers and the JSON template body in the request.

Use cases for Indian Shopify stores

Order confirmation

Send instant order receipts on orders/paid webhook.

COD verification

Auto-verify cash-on-delivery orders to reduce RTO — critical for Indian D2C.

Dispatch & delivery alerts

Send tracking updates from fulfillment events.

Abandoned cart recovery

Trigger WhatsApp message after cart abandonment via Shopify Flow.

Review requests

Send review request 7 days post-delivery.

Re-order reminders

Trigger restock-or-reorder messages for consumables.

Frequently asked questions

How do I send WhatsApp messages from Shopify?

Use Shopify's webhook system (Settings → Notifications → Webhooks) to subscribe to events like orders/paid, then point the webhook to a small server-side endpoint that calls the Zaptilo WhatsApp API. On Shopify Plus, use Shopify Flow's HTTP action and skip the server entirely.

Can Zaptilo reduce COD return-to-origin (RTO) for Indian Shopify stores?

Yes. Sending a WhatsApp confirmation for every COD order — asking the customer to verify — typically reduces RTO by 25-40% for Indian D2C brands. The Zaptilo API makes this trivial to wire up.

Does this work on Shopify Basic or only Shopify Plus?

Webhook-based integration works on every Shopify plan including Basic. The Shopify Flow HTTP action (no-code) is only on Shopify Advanced and Plus.

What is the cost of sending WhatsApp from Shopify in India?

Zaptilo charges from ₹0.04 per message at volume, billed in INR with GST invoice. There is no monthly subscription, no setup fee, and no per-store charge — making it the most cost-effective WhatsApp integration for Indian Shopify D2C brands.

Boost Shopify revenue with WhatsApp

Free signup. INR pricing. No subscription. GST invoice. India-based support.

Get Started Free

See also: WooCommerce · WordPress · Zapier