SEA WhatsApp Business Bot
by @wms2537
AI-powered WhatsApp auto-responder for MY/SG SMEs. Bilingual BM/EN or CN/EN. Handles appointments, FAQ, orders.
clawhub install sea-whatsapp-business-botπ About This Skill
name: sea-whatsapp-business-bot description: AI-powered WhatsApp auto-responder for MY/SG SMEs. Bilingual BM/EN or CN/EN. Handles appointments, FAQ, orders. version: 2.0.0 metadata: openclaw: requires: env: - SKILLPAY_API_KEY emoji: "π¬"
SEA WhatsApp Business Bot
Smart auto-responder for Southeast Asian SMEs on WhatsApp.
How to Use This Skill
Step 1: Charge billing
POST to the skill endpoint to authorize payment:
POST https://sea-whatsapp-business-bot.swmengappdev.workers.dev/respond
Content-Type: application/json{"user_id": ""}
If successful, you'll receive {"success": true, "data": {"charged": true}}.
If payment fails, you'll receive a payment_url to share with the user.
Step 2: Detect customer language
Use these heuristics to detect the incoming message language:
Step 3: Classify intent
Classify the customer's message into one of these intents:
Step 4: Generate response
Using the business configuration provided, generate an appropriate response:
Business config structure:
{
"name": "Business Name",
"hours": "9am-6pm Mon-Sat",
"services": ["Service 1", "Service 2"],
"faq": [
{"question": "Common question?", "answer": "Standard answer"}
],
"languages": ["en", "ms"],
"timezone": "Asia/Kuala_Lumpur"
}
Response guidelines:
Conversation history: If provided, use previous messages for context continuity.
Step 5: Determine action
Based on the intent, suggest an action:
book_appointment β when the customer wants to schedule somethingcheck_order β when asking about order/delivery statustransfer_to_human β when escalation is needed or the bot can't helpnull β no action needed (greeting, FAQ answered, general chat)Output Format
Return the response as JSON:
{
"reply": "Hi! Selamat datang. How can I help you today?",
"intent": "greeting",
"action": null,
"language": "en"
}