Skip to content

Zid Integration

Connect your Zid store to CubeConnect and automate WhatsApp notifications for orders, shipping, abandoned carts, and customer support.

Installation

  1. Go to Zid App Market and search for CubeConnect
  2. Click Install and authorize the required permissions
  3. You'll be redirected to CubeConnect to connect your WhatsApp number
  4. Select which notifications to enable and map your templates

Supported Events

EventTriggerTemplate Example
New OrderCustomer places an order"Your order #1 for 2 has been received"
Payment ConfirmedPayment status changes to paid"Payment of 1 received for order #2"
PreparingMerchant starts preparing"Your order #1 is being prepared"
ShippedOrder moves to delivery"Your order #1 is on its way! Track: 2"
DeliveredOrder delivered"Your order #1 has been delivered. Rate us: 2"
CancelledOrder is cancelled"Your order #1 has been cancelled"
Abandoned CartCustomer leaves items in cart"You left 1 in your cart. Complete your order: 2"
New CustomerCustomer registers"Welcome to 1! We're glad to have you"

Configuration

After installation, go to DashboardIntegrationsZid to configure:

Notification Settings

Enable or disable each notification type:

✅ New Order Notification
✅ Shipping Notification
✅ Delivery Confirmation
✅ Abandoned Cart Recovery
☐ Payment Confirmation
☐ New Customer Welcome

Template Mapping

Map each event to a WhatsApp template from your approved templates:

EventTemplateLanguage
New Orderorder_confirmationArabic
Shippedorder_shippedArabic
Deliveredorder_deliveredArabic
Abandoned Cartabandoned_cartArabic

Conditions (Optional)

Filter which orders trigger notifications:

  • Payment method: Cash on Delivery, Credit Card, Bank Transfer
  • Order status: Specific statuses only
  • Delivery option: Specific shipping methods

How It Works

Customer places order on your Zid store

Zid sends webhook to CubeConnect

CubeConnect extracts order data:
  • Customer phone number
  • Order number and total
  • Product details
  • Shipping info

CubeConnect sends WhatsApp template message

Customer receives notification on WhatsApp

Order Status Flow

new → preparing → ready → inDelivery → delivered
                                    ↘ cancelled

Each status change can trigger a different WhatsApp notification with relevant details.

Abandoned Cart Recovery

When a customer adds items to their cart but doesn't complete the purchase:

  1. Zid detects the abandoned cart
  2. CubeConnect receives the webhook
  3. A recovery message is sent with:
    • Product name and image
    • Direct link to complete the order
    • Optional discount code

Timing

Configure the delay before sending abandoned cart messages (e.g., 1 hour, 3 hours, 24 hours) in your dashboard settings.

API Usage

If you prefer to handle the integration yourself, use the CubeConnect API directly:

Send Order Notification (JavaScript)

javascript
import { CubeConnect } from '@cubesoftware/cube-connect-sdk-js'

const cube = new CubeConnect({ apiKey: 'YOUR_API_KEY' })

await cube.sendTemplate(
  '+966501234567',
  'order_confirmation',
  ['#ZID-1234', '500 SAR'],
)

Send Order Notification (PHP)

php
use CubeConnect\Facades\CubeConnect;

CubeConnect::sendTemplate(
    $order['customer']['mobile'],
    'order_confirmation',
    [$order['code'], $order['order_total'] . ' SAR']
);

Permissions Required

PermissionPurpose
orders.readRead order data for notifications
customers.readAccess customer phone numbers
webhooks.read_writeRegister webhook subscriptions
products.readProduct info for abandoned cart messages

Requirements

  • Active CubeConnect subscription
  • Zid store (any plan)
  • Approved WhatsApp message templates
  • WhatsApp Business number connected to CubeConnect

FAQ

Does each merchant use their own WhatsApp number?

Yes. Unlike competitors that use shared numbers or unofficial APIs, CubeConnect connects each merchant's own WhatsApp Business number through Meta's official Cloud API.

Will my number get banned?

No. CubeConnect uses Meta-approved templates and the official Cloud API. There's no risk of account suspension.

Can I customize which notifications are sent?

Yes. Enable or disable each notification type individually, and map them to your own approved templates.

What happens if a customer replies to a notification?

The reply goes to your CubeConnect inbox where you can respond directly, or set up automated conversation flows.

CubeConnect WhatsApp Business Platform