Integrasi Chatbot WA dengan Tokopedia & Shopee
Cara integrasikan chatbot WhatsApp dengan Tokopedia dan Shopee. Notifikasi order, sync stok, follow up otomatis.
Jualan di marketplace + WhatsApp?
Pisahkan keduanya = Double effort! Integrasikan = Satu sistem, semua terhandle!
Kenapa Perlu Integrasi?
TANPA Integrasi:
- Cek order di Tokopedia manual
- Cek order di Shopee manual
- Kirim resi manual ke customer
- Follow up review manual
- Stok update manual
DENGAN Integrasi:
- Order masuk → Auto notif WA
- Resi input → Auto kirim ke customer
- Stok update → Sync semua platform
- Review request → Auto follow upJenis Integrasi
1. Notifikasi Order ke WhatsApp
Order masuk di Tokopedia/Shopee
↓
Webhook trigger
↓
Bot WA kirim notifikasi ke kamu
↓
[Optional] Bot kirim konfirmasi ke customer2. Auto Send Resi ke Customer
Kamu input resi di marketplace
↓
Webhook detect status change
↓
Bot WA kirim resi ke customer3. Follow Up Review
Status "Selesai" di marketplace
↓
Bot WA kirim request review
↓
[Optional] Kirim voucher next order4. Sync Stok
Stok berkurang di Tokopedia
↓
Auto update di Shopee & WA catalogCara Integrasi
Metode 1: Marketplace API (Official)
Tokopedia: Tokopedia Seller API
Shopee: Shopee Open Platform
Pros:
✅ Official & reliable
✅ Full access ke data
Cons:
❌ Butuh approval
❌ Butuh development skill
❌ Tidak semua seller bisa aksesMetode 2: Third-Party Tools
Tools seperti:
- Jubelio
- Sirclo
- iSeller
- Ordery
Pros:
✅ Lebih mudah setup
✅ Sudah terintegrasi banyak marketplace
Cons:
❌ Ada biaya langganan
❌ Depend on third partyMetode 3: Manual + Notification (Simple)
Tanpa API full:
1. Email notification dari marketplace
2. Parse email → trigger bot
3. Bot kirim notifikasi WA
Pros:
✅ Murah
✅ Tidak perlu API approval
Cons:
❌ Tidak real-time (delay email)
❌ Limited functionalitySetup Notifikasi Order
Via Webhook (Jika Punya API Access):
javascript
// Express server untuk webhook
app.post('/webhook/tokopedia', async (req, res) => {
const order = req.body;
// Kirim notifikasi ke admin
const adminMsg = `🆕 ORDER TOKOPEDIA!
Order #${order.order_id}
Buyer: ${order.buyer_name}
Produk: ${order.items.map(i => i.name).join(', ')}
Total: Rp ${order.total}
Deadline kirim: ${order.deadline}`;
await sendWA(ADMIN_NUMBER, adminMsg);
// Kirim konfirmasi ke buyer (jika punya nomor)
if (order.buyer_phone) {
const buyerMsg = `Hai Kak ${order.buyer_name}! 👋
Terima kasih sudah order di Tokopedia!
Pesanan sedang kami siapkan.
Estimasi kirim: Hari ini!
Ada pertanyaan? Chat di sini aja! 😊`;
await sendWA(order.buyer_phone, buyerMsg);
}
res.status(200).send('OK');
});Via Email Parsing:
javascript
const Imap = require('imap');
const { simpleParser } = require('mailparser');
// Monitor email dari Tokopedia
function monitorTokopediaEmails() {
const imap = new Imap({
user: '[email protected]',
password: 'app-password',
host: 'imap.gmail.com',
port: 993,
tls: true
});
imap.on('mail', () => {
// Fetch new email
// Parse order details
// Send WA notification
});
}Template Notifikasi
Order Masuk:
🛒 ORDER BARU!
Platform: [TOKOPEDIA/SHOPEE]
Order #: [NOMOR]
👤 Buyer: [NAMA]
📍 [KOTA]
📦 Pesanan:
[LIST PRODUK]
💰 Total: Rp [TOTAL]
⏰ Deadline: [WAKTU]
Segera proses! 🏃♂️Resi Terkirim (ke Customer):
Hai Kak [NAMA]! 📦
Paket dari [TOKO] sudah dikirim!
🚚 Kurir: [KURIR]
📝 No Resi: [RESI]
Track: [LINK]
Estimasi: [TANGGAL]
Ditunggu ya!
Jangan lupa kasih ⭐⭐⭐⭐⭐ kalau puas! 😊Request Review:
Hai Kak [NAMA]! 👋
Gimana [PRODUK]-nya? Sudah dicoba?
Kalau puas, boleh minta tolong review di
[TOKOPEDIA/SHOPEE]? 🙏
⭐ [LINK REVIEW]
Sebagai terima kasih, kami kasih voucher
Rp 10.000 untuk order berikutnya!
Kode: THANKS10
Valid 30 hari
Terima kasih banyak! 💕Reminder Review (H+3):
Kak [NAMA], belum sempat review? 😊
Cuma 1 menit kok:
⭐ [LINK]
Reviewnya sangat membantu kami dan
pembeli lain! 🙏
Voucher Rp 10k masih menunggu! 🎁Sync Stok Multi-Platform
Konsep:
Central Database (Stok Master)
↓
┌───┴───┐
↓ ↓
Tokopedia Shopee WhatsApp Catalog
↓ ↓ ↓
Update Update UpdateImplementasi:
javascript
// Central stock update
async function updateStock(productId, newQty) {
// Update database
await db.products.update(productId, { stock: newQty });
// Sync to Tokopedia
await tokopediaAPI.updateStock(productId, newQty);
// Sync to Shopee
await shopeeAPI.updateStock(productId, newQty);
// Update WA bot response
await updateBotCatalog(productId, newQty);
// Alert if low stock
if (newQty < 10) {
await sendWA(ADMIN_NUMBER,
`⚠️ Stok ${productId} tinggal ${newQty}!`);
}
}Tips Integrasi
1. Mulai dari Notifikasi
Integrasi paling simple = notifikasi order.
Tidak perlu full API, cukup monitoring.2. Gunakan No HP dari Marketplace
Tokopedia/Shopee sering mask no HP.
Solusi: Minta no HP via chat marketplace,
lalu follow up via WhatsApp.3. Jangan Spam Customer
❌ Kirim promo terus via WA
✅ Kirim konfirmasi & resi saja
✅ Follow up review sekali4. Track Source
Tag customer berdasarkan source:
- Tokopedia buyer
- Shopee buyer
- Direct WA
Untuk analisis & segmentasi.FAQ
Apakah bisa dapat no HP customer dari marketplace?
Tergantung marketplace. Beberapa menyembunyikan (mask). Solusinya: Minta no HP via chat marketplace, atau sisipkan kartu dengan no WA di paket.
Perlu API approval berapa lama?
Tokopedia: Beberapa hari - minggu Shopee: Beberapa hari - minggu Tergantung tipe seller dan kelengkapan dokumen.
Alternatif jika tidak punya API access?
Gunakan third-party tools seperti Jubelio, atau setup email parsing untuk notifikasi basic.
Kesimpulan
Integrasi = Efisiensi operasional!
| Integrasi | Benefit |
|---|---|
| Order notif | Tidak ketinggalan order |
| Auto resi | Customer happy |
| Review follow up | Rating naik |
| Stok sync | Tidak oversell |
Mulai dari notifikasi, scale up sesuai kebutuhan!