Appearance
Zid Integration
Connect your Zid store to CubeConnect and automate WhatsApp notifications for orders, shipping, abandoned carts, and customer support.
Installation
- Go to Zid App Market and search for CubeConnect
- Click Install and authorize the required permissions
- You'll be redirected to CubeConnect to connect your WhatsApp number
- Select which notifications to enable and map your templates
Supported Events
| Event | Trigger | Template Example |
|---|---|---|
| New Order | Customer places an order | "Your order #1 for 2 has been received" |
| Payment Confirmed | Payment status changes to paid | "Payment of 1 received for order #2" |
| Preparing | Merchant starts preparing | "Your order #1 is being prepared" |
| Shipped | Order moves to delivery | "Your order #1 is on its way! Track: 2" |
| Delivered | Order delivered | "Your order #1 has been delivered. Rate us: 2" |
| Cancelled | Order is cancelled | "Your order #1 has been cancelled" |
| Abandoned Cart | Customer leaves items in cart | "You left 1 in your cart. Complete your order: 2" |
| New Customer | Customer registers | "Welcome to 1! We're glad to have you" |
Configuration
After installation, go to Dashboard → Integrations → Zid to configure:
Notification Settings
Enable or disable each notification type:
✅ New Order Notification
✅ Shipping Notification
✅ Delivery Confirmation
✅ Abandoned Cart Recovery
☐ Payment Confirmation
☐ New Customer WelcomeTemplate Mapping
Map each event to a WhatsApp template from your approved templates:
| Event | Template | Language |
|---|---|---|
| New Order | order_confirmation | Arabic |
| Shipped | order_shipped | Arabic |
| Delivered | order_delivered | Arabic |
| Abandoned Cart | abandoned_cart | Arabic |
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 WhatsAppOrder Status Flow
new → preparing → ready → inDelivery → delivered
↘ cancelledEach 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:
- Zid detects the abandoned cart
- CubeConnect receives the webhook
- 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
| Permission | Purpose |
|---|---|
orders.read | Read order data for notifications |
customers.read | Access customer phone numbers |
webhooks.read_write | Register webhook subscriptions |
products.read | Product 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.