WhatsApp Bot + Paloma 365: Business Integration Guide
How to integrate WhatsApp bot with Paloma 365 ERP. Code examples, Telegram comparison, maintenance costs and API limitations.
What is Paloma 365
Paloma 365 — Kazakhstan's first cloud ERP system for retail, services and hospitality automation. Includes POS, inventory, CRM, analytics and finance in one platform.
- Price: from $12/month
- API: Official REST API with documentation
- Integrations: 1C, Kaspi, WebKassa, Google Ads
WhatsApp vs Telegram: Business Comparison
| Parameter | WhatsApp Business API | Telegram Bot API |
|---|---|---|
| Buttons | Up to 3 buttons | Unlimited |
| Lists | Up to 10 items | No (inline buttons) |
| API Cost | ~$50/mo + per message | Free |
| Audience in KZ | 90%+ population | ~30% population |
| Verification | Business account required | Not required |
| Setup time | 1-2 weeks | 1 day |
Button Comparison
WhatsApp (limitations):
┌─────────────────────────┐
│ Choose action: │
│ │
│ [📦 Status] [🛒 Order] │ ← Max 3 buttons
│ [📞 Support] │
└─────────────────────────┘
Telegram (flexibility):
┌─────────────────────────┐
│ Choose category: │
│ │
│ [Clothes] [Shoes] [Bags]│ ← Any amount
│ [Accessories] [Gifts] │
│ [Sale] [New Arrivals] │
│ [🔙 Back] [🏠 Menu] │
└─────────────────────────┘
Paloma 365 API Integration
Getting API Key
# API AUTHKEY is obtained in Paloma 365 dashboard
# Settings → Integrations → API
Code: Get Product Stock
// Node.js Paloma 365 integration example
const axios = require('axios');
const PALOMA_API = 'https://api.paloma365.com/v1';
const API_KEY = 'your_api_key';
async function getProductStock(productId) {
const response = await axios.get(
`${PALOMA_API}/products/${productId}/stock`,
{
headers: {
'Authorization': `Bearer ${API_KEY}`,
'Content-Type': 'application/json'
}
}
);
return response.data;
}
// Example response:
// { productId: 123, name: "T-Shirt", stock: 45, price: 5000 }
Code: Create Order
async function createOrder(customerId, items) {
const order = {
customerId,
items: items.map(item => ({
productId: item.id,
quantity: item.qty,
price: item.price
})),
source: 'whatsapp_bot',
status: 'new'
};
const response = await axios.post(
`${PALOMA_API}/orders`,
order,
{
headers: {
'Authorization': `Bearer ${API_KEY}`,
'Content-Type': 'application/json'
}
}
);
return response.data.orderId;
}
Code: Send WhatsApp Message
// Via 360dialog or other provider
const WHATSAPP_API = 'https://waba.360dialog.io/v1';
const WA_TOKEN = 'your_token';
async function sendWhatsAppMessage(phone, text, buttons = []) {
const message = {
messaging_product: 'whatsapp',
to: phone,
type: buttons.length ? 'interactive' : 'text',
};
if (buttons.length) {
message.interactive = {
type: 'button',
body: { text },
action: {
buttons: buttons.slice(0, 3).map((btn, i) => ({
type: 'reply',
reply: { id: `btn_${i}`, title: btn }
}))
}
};
} else {
message.text = { body: text };
}
await axios.post(`${WHATSAPP_API}/messages`, message, {
headers: { 'Authorization': WA_TOKEN }
});
}
// Usage
await sendWhatsAppMessage(
'77001234567',
'Your order #123 is ready for pickup!',
['📍 Address', '📞 Call', '✅ Received']
);
Maintenance Costs
| Expense | Telegram | |
|---|---|---|
| API provider | $30/mo | $0 |
| Outgoing messages | ~$0.01/msg | $0 |
| Server/hosting | $10/mo | $10/mo |
| Paloma 365 subscription | from $12/mo | from $12/mo |
| Total | ~$50/mo | ~$20/mo |
When to Choose WhatsApp
✅ Your customers are already on WhatsApp (B2C) ✅ Need order notifications ✅ Low outgoing message volume (<1000/mo) ✅ Simple scenarios (3 buttons enough)
When to Choose Telegram
✅ Complex navigation (many categories) ✅ High volume broadcasts ✅ Technical audience ✅ Limited budget
Solution Architecture
┌──────────────┐ ┌──────────────┐ ┌──────────────┐
│ WhatsApp │────▶│ Webhook │────▶│ Paloma │
│ Business │ │ Server │ │ 365 API │
│ API │◀────│ (Node.js) │◀────│ │
└──────────────┘ └──────────────┘ └──────────────┘
│
▼
┌──────────────┐
│ Database │
│ (Redis) │
└──────────────┘
Development Cost
| Package | Features | Price |
|---|---|---|
| Basic | Buttons, stock, statuses | $900 |
| Optimal | + AI dialogs, orders, admin panel | $1,500 |
| Premium | + Kaspi Pay, multilingual, CRM | $2,400 |
Need WhatsApp + Paloma 365 integration? Discuss your project — development in 2-4 weeks.